XP 上的 MSI 安装程序不是 运行
MSI Installer not running on XP
我已经为部署 WPF 可执行应用程序创建了一个 Windows 安装程序项目(使用 Visual Studio 安装程序项目扩展)。安装包 (MSI) 在我的开发 PC (Windows 8.1) 上运行完美。
当 运行 在 Windows XP SP3 机器上执行此操作时,我得到以下信息:
msiexec
记录以下内容:
=== Verbose logging started: 2015/01/20 10:57:31 Build type: SHIP UNICODE 4.05.6001.00 Calling process: C:\Windows\system32\msiexec.exe ===
MSI (c) (74:80) [10:57:31:984]: Resetting cached policy values
MSI (c) (74:80) [10:57:31:984]: Machine policy value 'Debug' is 0
MSI (c) (74:80) [10:57:31:984]: ******* RunEngine:
******* Product: MyProject.msi
******* Action:
******* CommandLine: **********
MSI (c) (74:80) [10:57:31:984]: Machine policy value 'DisableUserInstalls' is 0
MSI (c) (74:80) [10:57:32:000]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\AC\MyProject.msi' against software restriction policy
MSI (c) (74:80) [10:57:32:000]: Note: 1: 2262 2: DigitalSignature 3: -2147287038
MSI (c) (74:80) [10:57:32:000]: SOFTWARE RESTRICTION POLICY: C:\AC\MyProject.msi is not digitally signed
MSI (c) (74:80) [10:57:32:000]: SOFTWARE RESTRICTION POLICY: C:\AC\MyProject.msi is permitted to run at the 'unrestricted' authorization level.
MSI (c) (74:80) [10:57:32:015]: Cloaking enabled.
MSI (c) (74:80) [10:57:32:015]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (74:80) [10:57:32:031]: End dialog not enabled
MSI (c) (74:80) [10:57:32:031]: Original package ==> C:\AC\MyProject.msi
MSI (c) (74:80) [10:57:32:031]: Package we're running from ==> C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp36ffe.msi
MSI (c) (74:80) [10:57:32:031]: APPCOMPAT: looking for appcompat database entry with ProductCode '{BA7A0342-73FF-44AB-9A15-A809E178C99D}'.
MSI (c) (74:80) [10:57:32:031]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (74:80) [10:57:32:031]: MSCOREE not loaded loading copy from system32
MSI (c) (74:80) [10:57:32:031]: Machine policy value 'TransformsSecure' is 0
MSI (c) (74:80) [10:57:32:031]: User policy value 'TransformsAtSource' is 0
MSI (c) (74:80) [10:57:32:031]: Note: 1: 2262 2: MsiFileHash 3: -2147287038
MSI (c) (74:80) [10:57:32:031]: Machine policy value 'DisablePatch' is 0
MSI (c) (74:80) [10:57:32:031]: Machine policy value 'AllowLockdownPatch' is 0
MSI (c) (74:80) [10:57:32:031]: Machine policy value 'DisableLUAPatching' is 0
MSI (c) (74:80) [10:57:32:031]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (c) (74:80) [10:57:32:031]: APPCOMPAT: looking for appcompat database entry with ProductCode '{BA7A0342-73FF-44AB-9A15-A809E178C99D}'.
MSI (c) (74:80) [10:57:32:031]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (74:80) [10:57:32:031]: Transforms are not secure.
MSI (c) (74:80) [10:57:32:031]: PROPERTY CHANGE: Adding MsiLogFileLocation property. Its value is 'C:\AC\setup.log'.
MSI (c) (74:80) [10:57:32:031]: Command Line: CURRENTDIRECTORY=C:\AC CLIENTUILEVEL=0 CLIENTPROCESSID=1652
MSI (c) (74:80) [10:57:32:031]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{D9035255-09F1-4B9F-80B8-FB5FB8807D68}'.
MSI (c) (74:80) [10:57:32:031]: Product Code passed to Engine.Initialize: ''
MSI (c) (74:80) [10:57:32:031]: Product Code from property table before transforms: '{BA7A0342-73FF-44AB-9A15-A809E178C99D}'
MSI (c) (74:80) [10:57:32:031]: Product Code from property table after transforms: '{BA7A0342-73FF-44AB-9A15-A809E178C99D}'
MSI (c) (74:80) [10:57:32:031]: Product not registered: beginning first-time install
MSI (c) (74:80) [10:57:32:031]: PROPERTY CHANGE: Adding ProductState property. Its value is '-1'.
MSI (c) (74:80) [10:57:32:031]: Entering CMsiConfigurationManager::SetLastUsedSource.
MSI (c) (74:80) [10:57:32:031]: User policy value 'SearchOrder' is 'nmu'
MSI (c) (74:80) [10:57:32:031]: Adding new sources is allowed.
MSI (c) (74:80) [10:57:32:031]: PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is '1'.
MSI (c) (74:80) [10:57:32:031]: Package name extracted from package path: 'MyProject.msi'
MSI (c) (74:80) [10:57:32:031]: Package to be registered: 'MyProject.msi'
MSI (c) (74:80) [10:57:32:031]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (74:80) [10:57:32:046]: Note: 1: 2262 2: AdminProperties 3: -2147287038
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Modifying ALLUSERS property. Its current value is '2'. Its new value: '1'.
MSI (c) (74:80) [10:57:32:046]: Machine policy value 'DisableMsi' is 0
MSI (c) (74:80) [10:57:32:046]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (c) (74:80) [10:57:32:046]: User policy value 'AlwaysInstallElevated' is 0
MSI (c) (74:80) [10:57:32:046]: Product installation will be elevated because user is admin and product is being installed per-machine.
MSI (c) (74:80) [10:57:32:046]: Running product '{BA7A0342-73FF-44AB-9A15-A809E178C99D}' with elevated privileges: Product is assigned.
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Adding CURRENTDIRECTORY property. Its value is 'C:\AC'.
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Adding CLIENTUILEVEL property. Its value is '0'.
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Adding CLIENTPROCESSID property. Its value is '1652'.
MSI (c) (74:80) [10:57:32:046]: TRANSFORMS property is now:
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Adding VersionDatabase property. Its value is '200'.
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\Application Data
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\Favorites
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\NetHood
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\My Documents
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\PrintHood
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\Recent
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\SendTo
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\Templates
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Application Data
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\Local Settings\Application Data
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\My Documents\My Pictures
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Start Menu\Programs\Administrative Tools
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Start Menu\Programs\Startup
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Start Menu\Programs
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Start Menu
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Desktop
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\Start Menu\Programs\Administrative Tools
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\Start Menu\Programs\Startup
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\Start Menu\Programs
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\Start Menu
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\Desktop
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Templates
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Windows\Fonts
MSI (c) (74:80) [10:57:32:046]: Note: 1: 2898 2: MS Sans Serif 3: MS Sans Serif 4: 0 5: 16
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Adding Privileged property. Its value is '1'.
MSI (c) (74:80) [10:57:32:046]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Adding USERNAME property. Its value is 'MyProject'.
MSI (c) (74:80) [10:57:32:046]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Adding COMPANYNAME property. Its value is 'WhereIsMyTransport'.
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Adding DATABASE property. Its value is 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp36ffe.msi'.
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Adding OriginalDatabase property. Its value is 'C:\AC\MyProject.msi'.
MSI (c) (74:80) [10:57:32:046]: Machine policy value 'MsiDisableEmbeddedUI' is 0
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Adding SourceDir property. Its value is 'C:\AC\'.
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Adding SOURCEDIR property. Its value is 'C:\AC\'.
MSI (c) (74:60) [10:57:32:046]: PROPERTY CHANGE: Adding VersionHandler property. Its value is '4.05'.
=== Logging started: 2015/01/20 10:57:32 ===
MSI (c) (74:80) [10:57:32:062]: Note: 1: 2262 2: PatchPackage 3: -2147287038
MSI (c) (74:80) [10:57:32:062]: Machine policy value 'DisableRollback' is 0
MSI (c) (74:80) [10:57:32:062]: User policy value 'DisableRollback' is 0
MSI (c) (74:80) [10:57:32:062]: PROPERTY CHANGE: Adding UILevel property. Its value is '5'.
MSI (c) (74:80) [10:57:32:062]: PROPERTY CHANGE: Adding ACTION property. Its value is 'INSTALL'.
MSI (c) (74:80) [10:57:32:062]: Doing action: INSTALL
MSI (c) (74:80) [10:57:32:062]: Note: 1: 2262 2: ActionText 3: -2147287038
Action start 10:57:32: INSTALL.
MSI (c) (74:80) [10:57:32:062]: UI Sequence table 'InstallUISequence' is present and populated.
MSI (c) (74:80) [10:57:32:062]: Running UISequence
MSI (c) (74:80) [10:57:32:062]: PROPERTY CHANGE: Adding EXECUTEACTION property. Its value is 'INSTALL'.
MSI (c) (74:80) [10:57:32:062]: Doing action: DIRCA_CheckFX
Action start 10:57:32: DIRCA_CheckFX.
MSI (c) (74:80) [10:57:32:062]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'DIRCA_CheckFX'
MSI (c) (74:D8) [10:57:32:078]: Invoking remote custom action. DLL: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\MSIC.tmp, Entrypoint: CheckFX
MSI (c) (74:08) [10:57:32:078]: Cloaking enabled.
MSI (c) (74:08) [10:57:32:078]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (74:08) [10:57:32:078]: Connected to service for CA interface.
Action ended 10:57:32: DIRCA_CheckFX. Return value 3.
MSI (c) (74:80) [10:57:32:171]: Doing action: FatalErrorForm
Action start 10:57:32: FatalErrorForm.
MSI (c) (74:80) [10:57:32:171]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'FatalErrorForm'
MSI (c) (74:60) [10:57:32:171]: Note: 1: 2262 2: Error 3: -2147287038
Info 2898. For VSI_MS_Sans_Serif13.0_0_0 textstyle, the system created a 'MS Sans Serif' font, in 0 character set, of 13 pixels height.
MSI (c) (74:60) [10:57:32:171]: Note: 1: 2262 2: Error 3: -2147287038
DEBUG: Error 2826: Control Line1 on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, Line1, to the right
MSI (c) (74:60) [10:57:32:171]: Note: 1: 2262 2: Error 3: -2147287038
DEBUG: Error 2826: Control Line2 on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, Line2, to the right
MSI (c) (74:60) [10:57:32:187]: Note: 1: 2262 2: Error 3: -2147287038
DEBUG: Error 2826: Control BannerBmp on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, BannerBmp, to the right
MSI (c) (74:60) [10:57:32:187]: Note: 1: 2262 2: Error 3: -2147287038
Info 2898. For VsdDefaultUIFont.524F4245_5254_5341_4C45_534153783400 textstyle, the system created a 'MS Sans Serif' font, in 0 character set, of 13 pixels height.
MSI (c) (74:60) [10:57:32:187]: Note: 1: 2262 2: Error 3: -2147287038
Info 2898. For VSI_MS_Sans_Serif16.0_1_0 textstyle, the system created a 'MS Sans Serif' font, in 0 character set, of 20 pixels height.
MSI (c) (74:58) [10:57:32:203]: Note: 1: 2731 2: 0
Action ended 10:57:34: FatalErrorForm. Return value 1.
Action ended 10:57:34: INSTALL. Return value 3.
MSI (c) (74:80) [10:57:34:937]: Destroying RemoteAPI object.
MSI (c) (74:08) [10:57:34:937]: Custom Action Manager thread ending.
=== Logging stopped: 2015/01/20 10:57:34 ===
MSI (c) (74:80) [10:57:34:953]: Note: 1: 1708
MSI (c) (74:80) [10:57:34:953]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (74:80) [10:57:34:953]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (74:80) [10:57:34:953]: Product: MyProject -- Installation failed.
MSI (c) (74:80) [10:57:34:953]: Windows Installer installed the product. Product Name: MyProject. Product Version: 1.0.3. Product Language: 1033. Installation success or error status: 1603.
MSI (c) (74:80) [10:57:34:953]: Grabbed execution mutex.
MSI (c) (74:80) [10:57:34:953]: Cleaning up uninstalled install packages, if any exist
MSI (c) (74:80) [10:57:34:953]: MainEngineThread is returning 1603
=== Verbose logging stopped: 2015/01/20 10:57:34 ===
谁能告诉我哪里出了问题?
windows 安装程序专家知道该项目类型(从 visual studio 中删除,并在成千上万的应用程序开发人员抱怨它消失后作为扩展重新恢复生机)质量很差。它在很多方面都是失败的。在这种情况下,它包括一个自定义操作来检测 NetFX 版本,它正在爆炸并中止安装。我的猜测是它是使用缺少 Windows XP 支持的编译器/库以本机代码编写的。
如果我是你,我会考虑查看 Windows 安装程序 XML (WiX) 或 InstallShield 限量版。两者都是免费的,前者是开源的。如果您走 WiX 路线,我会在 CodePlex 上维护一个名为 IsWiX 的开源项目。 IsWiX 为您提供项目脚手架和图形设计人员来编写 99% 的安装程序。快捷方式设计器尚未完成,因此我们有大约 5 行 XML 您必须手动编写。可以在 IsWiX 安装程序源树中找到快捷方式示例。
CheckFX 是检查是否安装了 .NET 运行时的内部自定义操作。它可能包含 Windows XP 不支持的功能,我认为它不再受支持。
我已经为部署 WPF 可执行应用程序创建了一个 Windows 安装程序项目(使用 Visual Studio 安装程序项目扩展)。安装包 (MSI) 在我的开发 PC (Windows 8.1) 上运行完美。
当 运行 在 Windows XP SP3 机器上执行此操作时,我得到以下信息:
msiexec
记录以下内容:
=== Verbose logging started: 2015/01/20 10:57:31 Build type: SHIP UNICODE 4.05.6001.00 Calling process: C:\Windows\system32\msiexec.exe ===
MSI (c) (74:80) [10:57:31:984]: Resetting cached policy values
MSI (c) (74:80) [10:57:31:984]: Machine policy value 'Debug' is 0
MSI (c) (74:80) [10:57:31:984]: ******* RunEngine:
******* Product: MyProject.msi
******* Action:
******* CommandLine: **********
MSI (c) (74:80) [10:57:31:984]: Machine policy value 'DisableUserInstalls' is 0
MSI (c) (74:80) [10:57:32:000]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\AC\MyProject.msi' against software restriction policy
MSI (c) (74:80) [10:57:32:000]: Note: 1: 2262 2: DigitalSignature 3: -2147287038
MSI (c) (74:80) [10:57:32:000]: SOFTWARE RESTRICTION POLICY: C:\AC\MyProject.msi is not digitally signed
MSI (c) (74:80) [10:57:32:000]: SOFTWARE RESTRICTION POLICY: C:\AC\MyProject.msi is permitted to run at the 'unrestricted' authorization level.
MSI (c) (74:80) [10:57:32:015]: Cloaking enabled.
MSI (c) (74:80) [10:57:32:015]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (74:80) [10:57:32:031]: End dialog not enabled
MSI (c) (74:80) [10:57:32:031]: Original package ==> C:\AC\MyProject.msi
MSI (c) (74:80) [10:57:32:031]: Package we're running from ==> C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp36ffe.msi
MSI (c) (74:80) [10:57:32:031]: APPCOMPAT: looking for appcompat database entry with ProductCode '{BA7A0342-73FF-44AB-9A15-A809E178C99D}'.
MSI (c) (74:80) [10:57:32:031]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (74:80) [10:57:32:031]: MSCOREE not loaded loading copy from system32
MSI (c) (74:80) [10:57:32:031]: Machine policy value 'TransformsSecure' is 0
MSI (c) (74:80) [10:57:32:031]: User policy value 'TransformsAtSource' is 0
MSI (c) (74:80) [10:57:32:031]: Note: 1: 2262 2: MsiFileHash 3: -2147287038
MSI (c) (74:80) [10:57:32:031]: Machine policy value 'DisablePatch' is 0
MSI (c) (74:80) [10:57:32:031]: Machine policy value 'AllowLockdownPatch' is 0
MSI (c) (74:80) [10:57:32:031]: Machine policy value 'DisableLUAPatching' is 0
MSI (c) (74:80) [10:57:32:031]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (c) (74:80) [10:57:32:031]: APPCOMPAT: looking for appcompat database entry with ProductCode '{BA7A0342-73FF-44AB-9A15-A809E178C99D}'.
MSI (c) (74:80) [10:57:32:031]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (74:80) [10:57:32:031]: Transforms are not secure.
MSI (c) (74:80) [10:57:32:031]: PROPERTY CHANGE: Adding MsiLogFileLocation property. Its value is 'C:\AC\setup.log'.
MSI (c) (74:80) [10:57:32:031]: Command Line: CURRENTDIRECTORY=C:\AC CLIENTUILEVEL=0 CLIENTPROCESSID=1652
MSI (c) (74:80) [10:57:32:031]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{D9035255-09F1-4B9F-80B8-FB5FB8807D68}'.
MSI (c) (74:80) [10:57:32:031]: Product Code passed to Engine.Initialize: ''
MSI (c) (74:80) [10:57:32:031]: Product Code from property table before transforms: '{BA7A0342-73FF-44AB-9A15-A809E178C99D}'
MSI (c) (74:80) [10:57:32:031]: Product Code from property table after transforms: '{BA7A0342-73FF-44AB-9A15-A809E178C99D}'
MSI (c) (74:80) [10:57:32:031]: Product not registered: beginning first-time install
MSI (c) (74:80) [10:57:32:031]: PROPERTY CHANGE: Adding ProductState property. Its value is '-1'.
MSI (c) (74:80) [10:57:32:031]: Entering CMsiConfigurationManager::SetLastUsedSource.
MSI (c) (74:80) [10:57:32:031]: User policy value 'SearchOrder' is 'nmu'
MSI (c) (74:80) [10:57:32:031]: Adding new sources is allowed.
MSI (c) (74:80) [10:57:32:031]: PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is '1'.
MSI (c) (74:80) [10:57:32:031]: Package name extracted from package path: 'MyProject.msi'
MSI (c) (74:80) [10:57:32:031]: Package to be registered: 'MyProject.msi'
MSI (c) (74:80) [10:57:32:031]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (74:80) [10:57:32:046]: Note: 1: 2262 2: AdminProperties 3: -2147287038
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Modifying ALLUSERS property. Its current value is '2'. Its new value: '1'.
MSI (c) (74:80) [10:57:32:046]: Machine policy value 'DisableMsi' is 0
MSI (c) (74:80) [10:57:32:046]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (c) (74:80) [10:57:32:046]: User policy value 'AlwaysInstallElevated' is 0
MSI (c) (74:80) [10:57:32:046]: Product installation will be elevated because user is admin and product is being installed per-machine.
MSI (c) (74:80) [10:57:32:046]: Running product '{BA7A0342-73FF-44AB-9A15-A809E178C99D}' with elevated privileges: Product is assigned.
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Adding CURRENTDIRECTORY property. Its value is 'C:\AC'.
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Adding CLIENTUILEVEL property. Its value is '0'.
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Adding CLIENTPROCESSID property. Its value is '1652'.
MSI (c) (74:80) [10:57:32:046]: TRANSFORMS property is now:
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Adding VersionDatabase property. Its value is '200'.
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\Application Data
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\Favorites
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\NetHood
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\My Documents
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\PrintHood
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\Recent
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\SendTo
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\Templates
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Application Data
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\Local Settings\Application Data
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\My Documents\My Pictures
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Start Menu\Programs\Administrative Tools
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Start Menu\Programs\Startup
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Start Menu\Programs
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Start Menu
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Desktop
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\Start Menu\Programs\Administrative Tools
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\Start Menu\Programs\Startup
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\Start Menu\Programs
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\Start Menu
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Administrator\Desktop
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Templates
MSI (c) (74:80) [10:57:32:046]: SHELL32::SHGetFolderPath returned: C:\Windows\Fonts
MSI (c) (74:80) [10:57:32:046]: Note: 1: 2898 2: MS Sans Serif 3: MS Sans Serif 4: 0 5: 16
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Adding Privileged property. Its value is '1'.
MSI (c) (74:80) [10:57:32:046]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Adding USERNAME property. Its value is 'MyProject'.
MSI (c) (74:80) [10:57:32:046]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Adding COMPANYNAME property. Its value is 'WhereIsMyTransport'.
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Adding DATABASE property. Its value is 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp36ffe.msi'.
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Adding OriginalDatabase property. Its value is 'C:\AC\MyProject.msi'.
MSI (c) (74:80) [10:57:32:046]: Machine policy value 'MsiDisableEmbeddedUI' is 0
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Adding SourceDir property. Its value is 'C:\AC\'.
MSI (c) (74:80) [10:57:32:046]: PROPERTY CHANGE: Adding SOURCEDIR property. Its value is 'C:\AC\'.
MSI (c) (74:60) [10:57:32:046]: PROPERTY CHANGE: Adding VersionHandler property. Its value is '4.05'.
=== Logging started: 2015/01/20 10:57:32 ===
MSI (c) (74:80) [10:57:32:062]: Note: 1: 2262 2: PatchPackage 3: -2147287038
MSI (c) (74:80) [10:57:32:062]: Machine policy value 'DisableRollback' is 0
MSI (c) (74:80) [10:57:32:062]: User policy value 'DisableRollback' is 0
MSI (c) (74:80) [10:57:32:062]: PROPERTY CHANGE: Adding UILevel property. Its value is '5'.
MSI (c) (74:80) [10:57:32:062]: PROPERTY CHANGE: Adding ACTION property. Its value is 'INSTALL'.
MSI (c) (74:80) [10:57:32:062]: Doing action: INSTALL
MSI (c) (74:80) [10:57:32:062]: Note: 1: 2262 2: ActionText 3: -2147287038
Action start 10:57:32: INSTALL.
MSI (c) (74:80) [10:57:32:062]: UI Sequence table 'InstallUISequence' is present and populated.
MSI (c) (74:80) [10:57:32:062]: Running UISequence
MSI (c) (74:80) [10:57:32:062]: PROPERTY CHANGE: Adding EXECUTEACTION property. Its value is 'INSTALL'.
MSI (c) (74:80) [10:57:32:062]: Doing action: DIRCA_CheckFX
Action start 10:57:32: DIRCA_CheckFX.
MSI (c) (74:80) [10:57:32:062]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'DIRCA_CheckFX'
MSI (c) (74:D8) [10:57:32:078]: Invoking remote custom action. DLL: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\MSIC.tmp, Entrypoint: CheckFX
MSI (c) (74:08) [10:57:32:078]: Cloaking enabled.
MSI (c) (74:08) [10:57:32:078]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (74:08) [10:57:32:078]: Connected to service for CA interface.
Action ended 10:57:32: DIRCA_CheckFX. Return value 3.
MSI (c) (74:80) [10:57:32:171]: Doing action: FatalErrorForm
Action start 10:57:32: FatalErrorForm.
MSI (c) (74:80) [10:57:32:171]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'FatalErrorForm'
MSI (c) (74:60) [10:57:32:171]: Note: 1: 2262 2: Error 3: -2147287038
Info 2898. For VSI_MS_Sans_Serif13.0_0_0 textstyle, the system created a 'MS Sans Serif' font, in 0 character set, of 13 pixels height.
MSI (c) (74:60) [10:57:32:171]: Note: 1: 2262 2: Error 3: -2147287038
DEBUG: Error 2826: Control Line1 on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, Line1, to the right
MSI (c) (74:60) [10:57:32:171]: Note: 1: 2262 2: Error 3: -2147287038
DEBUG: Error 2826: Control Line2 on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, Line2, to the right
MSI (c) (74:60) [10:57:32:187]: Note: 1: 2262 2: Error 3: -2147287038
DEBUG: Error 2826: Control BannerBmp on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, BannerBmp, to the right
MSI (c) (74:60) [10:57:32:187]: Note: 1: 2262 2: Error 3: -2147287038
Info 2898. For VsdDefaultUIFont.524F4245_5254_5341_4C45_534153783400 textstyle, the system created a 'MS Sans Serif' font, in 0 character set, of 13 pixels height.
MSI (c) (74:60) [10:57:32:187]: Note: 1: 2262 2: Error 3: -2147287038
Info 2898. For VSI_MS_Sans_Serif16.0_1_0 textstyle, the system created a 'MS Sans Serif' font, in 0 character set, of 20 pixels height.
MSI (c) (74:58) [10:57:32:203]: Note: 1: 2731 2: 0
Action ended 10:57:34: FatalErrorForm. Return value 1.
Action ended 10:57:34: INSTALL. Return value 3.
MSI (c) (74:80) [10:57:34:937]: Destroying RemoteAPI object.
MSI (c) (74:08) [10:57:34:937]: Custom Action Manager thread ending.
=== Logging stopped: 2015/01/20 10:57:34 ===
MSI (c) (74:80) [10:57:34:953]: Note: 1: 1708
MSI (c) (74:80) [10:57:34:953]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (74:80) [10:57:34:953]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (74:80) [10:57:34:953]: Product: MyProject -- Installation failed.
MSI (c) (74:80) [10:57:34:953]: Windows Installer installed the product. Product Name: MyProject. Product Version: 1.0.3. Product Language: 1033. Installation success or error status: 1603.
MSI (c) (74:80) [10:57:34:953]: Grabbed execution mutex.
MSI (c) (74:80) [10:57:34:953]: Cleaning up uninstalled install packages, if any exist
MSI (c) (74:80) [10:57:34:953]: MainEngineThread is returning 1603
=== Verbose logging stopped: 2015/01/20 10:57:34 ===
谁能告诉我哪里出了问题?
windows 安装程序专家知道该项目类型(从 visual studio 中删除,并在成千上万的应用程序开发人员抱怨它消失后作为扩展重新恢复生机)质量很差。它在很多方面都是失败的。在这种情况下,它包括一个自定义操作来检测 NetFX 版本,它正在爆炸并中止安装。我的猜测是它是使用缺少 Windows XP 支持的编译器/库以本机代码编写的。
如果我是你,我会考虑查看 Windows 安装程序 XML (WiX) 或 InstallShield 限量版。两者都是免费的,前者是开源的。如果您走 WiX 路线,我会在 CodePlex 上维护一个名为 IsWiX 的开源项目。 IsWiX 为您提供项目脚手架和图形设计人员来编写 99% 的安装程序。快捷方式设计器尚未完成,因此我们有大约 5 行 XML 您必须手动编写。可以在 IsWiX 安装程序源树中找到快捷方式示例。
CheckFX 是检查是否安装了 .NET 运行时的内部自定义操作。它可能包含 Windows XP 不支持的功能,我认为它不再受支持。