Wix Bundle安装程序,未安装成功消息的服务

问题描述:

好吧,这有点奇怪,过去几个月我一直在使用bundle installer来安装一组8个Windows服务。捆绑安装程序最后一次工作是在几天前。然而,今天捆绑“决定”不工作,日志似乎没有显示任何奇怪的东西,并且捆绑不会在我运行它时抛出任何错误,捆绑似乎找到msi文件,运行一些任务,然后恢复它们,然后显示成功消息。Wix Bundle安装程序,未安装成功消息的服务

我在3台不同的机器上试过了,结果相同。代码没有改变,没有改变它引导的安装程序。手动安装每个msi工作得很好。

日志如下。

[695C:648C][2017-08-31T22:02:25]i001: Burn v3.10.3.3007, Windows v10.0 (Build 14393: Service Pack 0), path: C:\Users\DANIEL~1.000\AppData\Local\Temp\{0E22FD84-F105-4205-805B-E79B6DB9988F}\.cr\ Services Bundle.exe 
[695C:648C][2017-08-31T22:02:25]i000: Initializing numeric variable 'InstallS1' to value '1' 
[695C:648C][2017-08-31T22:02:25]i000: Initializing numeric variable 'StartS1' to value '1' 
[695C:648C][2017-08-31T22:02:25]i000: Initializing numeric variable 'InstallS2' to value '1' 
[695C:648C][2017-08-31T22:02:25]i000: Initializing numeric variable 'StartS2' to value '1' 
[695C:648C][2017-08-31T22:02:25]i000: Initializing numeric variable 'InstallS3' to value '1' 
[695C:648C][2017-08-31T22:02:25]i000: Initializing numeric variable 'StartS3' to value '1' 
[695C:648C][2017-08-31T22:02:25]i000: Initializing numeric variable 'InstallS4' to value '1' 
[695C:648C][2017-08-31T22:02:25]i000: Initializing numeric variable 'StartS4' to value '1' 
[695C:648C][2017-08-31T22:02:25]i000: Initializing numeric variable 'InstallS5' to value '1' 
[695C:648C][2017-08-31T22:02:25]i000: Initializing numeric variable 'StartS5' to value '1' 
[695C:648C][2017-08-31T22:02:25]i000: Initializing numeric variable 'InstallS6' to value '1' 
[695C:648C][2017-08-31T22:02:25]i000: Initializing numeric variable 'StartS6' to value '1' 
[695C:648C][2017-08-31T22:02:25]i000: Initializing numeric variable 'InstallS7' to value '1' 
[695C:648C][2017-08-31T22:02:25]i000: Initializing numeric variable 'StartS7' to value '1' 
[695C:648C][2017-08-31T22:02:25]i000: Initializing numeric variable 'InstallS8' to value '1' 
[695C:648C][2017-08-31T22:02:25]i000: Initializing numeric variable 'StartS8' to value '1' 
[695C:648C][2017-08-31T22:02:25]i009: Command Line: '"-burn.clean.room=c:\Some\Path\Setup\Output\Bundle\Services Bundle.exe" -burn.filehandle.attached=460 -burn.filehandle.self=472 -l log.txt' 
[695C:648C][2017-08-31T22:02:25]i000: Setting string variable 'WixBundleOriginalSource' to value 'c:\Some\Path\Setup\Output\Bundle\Services Bundle.exe' 
[695C:648C][2017-08-31T22:02:25]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'c:\Some\Path\Setup\Output\Bundle\' 
[695C:648C][2017-08-31T22:02:25]i000: Setting string variable 'WixBundleLog' to value 'c:\Some\Path\Setup\Output\Bundle\log.txt' 
[695C:648C][2017-08-31T22:02:26]i000: Setting string variable 'WixBundleName' to value 'Service Bundle 2.17.0.0' 
[695C:648C][2017-08-31T22:02:26]i000: Setting string variable 'WixBundleManufacturer' to value 'Some Manufacturer' 
[695C:540C][2017-08-31T22:02:26]i000: Setting version variable 'WixBundleFileVersion' to value '2.17.0.0' 
[695C:648C][2017-08-31T22:02:26]i100: Detect begin, 8 packages 
[695C:648C][2017-08-31T22:02:26]i000: Registry value not found. Key = 'VFPOLEDB', Value = 'Installed' 
[695C:648C][2017-08-31T22:02:26]i101: Detected package: S1RelayServiceInstaller, state: Absent, cached: Complete 
[695C:648C][2017-08-31T22:02:26]i101: Detected package: S2SyncServiceInstaller, state: Absent, cached: Complete 
[695C:648C][2017-08-31T22:02:26]i101: Detected package: S3ServiceInstaller, state: Absent, cached: Complete 
[695C:648C][2017-08-31T22:02:26]i101: Detected package: S4ServiceInstaller, state: Absent, cached: Complete 
[695C:648C][2017-08-31T22:02:26]i101: Detected package: S5ServiceInstaller, state: Absent, cached: Complete 
[695C:648C][2017-08-31T22:02:26]i101: Detected package: S6ServiceInstaller, state: Absent, cached: Complete 
[695C:648C][2017-08-31T22:02:26]i101: Detected package: S7ServiceInstaller, state: Absent, cached: Complete 
[695C:648C][2017-08-31T22:02:26]i101: Detected package: S8ServiceInstaller, state: Absent, cached: Complete 
[695C:648C][2017-08-31T22:02:26]i199: Detect complete, result: 0x0 
[695C:540C][2017-08-31T22:02:29]i000: Setting string variable 'BundleEnvironment' to value 'fasd' 
[695C:540C][2017-08-31T22:02:32]i000: Setting numeric variable 'InstallS3' to value 1 
[695C:540C][2017-08-31T22:02:32]i000: Setting numeric variable 'StartS3' to value 1 
[695C:540C][2017-08-31T22:02:32]i000: Setting numeric variable 'InstallS1' to value 1 
[695C:540C][2017-08-31T22:02:32]i000: Setting numeric variable 'StartS1' to value 1 
[695C:540C][2017-08-31T22:02:32]i000: Setting numeric variable 'InstallS4' to value 1 
[695C:540C][2017-08-31T22:02:32]i000: Setting numeric variable 'StartS4' to value 1 
[695C:540C][2017-08-31T22:02:32]i000: Setting numeric variable 'InstallS5' to value 1 
[695C:540C][2017-08-31T22:02:32]i000: Setting numeric variable 'StartS5' to value 1 
[695C:540C][2017-08-31T22:02:32]i000: Setting numeric variable 'InstallS6' to value 1 
[695C:540C][2017-08-31T22:02:32]i000: Setting numeric variable 'StartS6' to value 1 
[695C:540C][2017-08-31T22:02:32]i000: Setting numeric variable 'InstallS7' to value 1 
[695C:540C][2017-08-31T22:02:32]i000: Setting numeric variable 'StartS7' to value 1 
[695C:540C][2017-08-31T22:02:32]i000: Setting numeric variable 'InstallS8' to value 1 
[695C:540C][2017-08-31T22:02:32]i000: Setting numeric variable 'StartS8' to value 1 
[695C:540C][2017-08-31T22:02:32]i000: Setting numeric variable 'InstallS2' to value 1 
[695C:540C][2017-08-31T22:02:32]i000: Setting numeric variable 'StartS2' to value 1 
[695C:540C][2017-08-31T22:02:33]i000: Setting string variable 'BundleEnvironment' to value 'fasd' 
[695C:648C][2017-08-31T22:02:33]i200: Plan begin, 8 packages, action: Cache 
[695C:648C][2017-08-31T22:02:33]i052: Condition 'InstallS1 OR StartS1' evaluates to true. 
[695C:648C][2017-08-31T22:02:33]i052: Condition 'InstallS2 OR StartS2' evaluates to true. 
[695C:648C][2017-08-31T22:02:33]i052: Condition 'InstallS3 OR StartS3' evaluates to true. 
[695C:648C][2017-08-31T22:02:33]i052: Condition 'InstallS4 OR StartS4' evaluates to true. 
[695C:648C][2017-08-31T22:02:33]i052: Condition 'InstallS5 OR StartS5' evaluates to true. 
[695C:648C][2017-08-31T22:02:33]i052: Condition 'InstallS6 OR StartS6' evaluates to true. 
[695C:648C][2017-08-31T22:02:33]i052: Condition 'InstallS7 OR StartS7' evaluates to true. 
[695C:648C][2017-08-31T22:02:33]i052: Condition 'InstallS8 OR StartS8' evaluates to true. 
[695C:648C][2017-08-31T22:02:33]i201: Planned package: S1RelayServiceInstaller, state: Absent, default requested: Cache, ba requested: Cache, execute: None, rollback: None, cache: No, uncache: No, dependency: None 
[695C:648C][2017-08-31T22:02:33]i201: Planned package: S2SyncServiceInstaller, state: Absent, default requested: Cache, ba requested: Cache, execute: None, rollback: None, cache: No, uncache: No, dependency: None 
[695C:648C][2017-08-31T22:02:33]i201: Planned package: S3ServiceInstaller, state: Absent, default requested: Cache, ba requested: Cache, execute: None, rollback: None, cache: No, uncache: No, dependency: None 
[695C:648C][2017-08-31T22:02:33]i201: Planned package: S4ServiceInstaller, state: Absent, default requested: Cache, ba requested: Cache, execute: None, rollback: None, cache: No, uncache: No, dependency: None 
[695C:648C][2017-08-31T22:02:33]i201: Planned package: S5ServiceInstaller, state: Absent, default requested: Cache, ba requested: Cache, execute: None, rollback: None, cache: No, uncache: No, dependency: None 
[695C:648C][2017-08-31T22:02:33]i201: Planned package: S6ServiceInstaller, state: Absent, default requested: Cache, ba requested: Cache, execute: None, rollback: None, cache: No, uncache: No, dependency: None 
[695C:648C][2017-08-31T22:02:33]i201: Planned package: S7ServiceInstaller, state: Absent, default requested: Cache, ba requested: Cache, execute: None, rollback: None, cache: No, uncache: No, dependency: None 
[695C:648C][2017-08-31T22:02:33]i201: Planned package: S8ServiceInstaller, state: Absent, default requested: Cache, ba requested: Cache, execute: None, rollback: None, cache: No, uncache: No, dependency: None 
[695C:648C][2017-08-31T22:02:33]i299: Plan complete, result: 0x0 
[695C:648C][2017-08-31T22:02:33]i300: Apply begin 
[695C:648C][2017-08-31T22:02:34]i010: Launching elevated engine process. 
[695C:648C][2017-08-31T22:02:35]i011: Launched elevated engine process. 
[695C:648C][2017-08-31T22:02:36]i012: Connected to elevated engine. 
[48A4:16A4][2017-08-31T22:02:36]i358: Pausing automatic updates. 
[48A4:16A4][2017-08-31T22:02:36]i359: Paused automatic updates. 
[48A4:16A4][2017-08-31T22:02:36]i360: Creating a system restore point. 
[48A4:16A4][2017-08-31T22:02:36]i361: Created a system restore point. 
[48A4:16A4][2017-08-31T22:02:36]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{f3e3a7a0-085a-469a-8f56-b18090931367}, options: 0x7, disable resume: No 
[48A4:16A4][2017-08-31T22:02:36]i000: Caching bundle from: 'C:\Users\DANIEL~1.000\AppData\Local\Temp\{A30ECA9C-5406-4443-B293-09D92BCBB121}\.be\Services Bundle.exe' to: 'C:\ProgramData\Package Cache\{f3e3a7a0-085a-469a-8f56-b18090931367}\ Services Bundle.exe' 
[48A4:16A4][2017-08-31T22:02:37]i320: Registering bundle dependency provider: {f3e3a7a0-085a-469a-8f56-b18090931367}, version: 2.17.0.0 
[48A4:16A4][2017-08-31T22:02:37]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{f3e3a7a0-085a-469a-8f56-b18090931367}, resume: Active, restart initiated: No, disable resume: No 
[48A4:6418][2017-08-31T22:02:37]i304: Verified existing payload: S1RelayServiceInstaller at path: C:\ProgramData\Package Cache\{505EC689-4462-477B-A85B-5E89E360173D}v2.17.0.0\S1 Service Installer.msi. 
[48A4:6418][2017-08-31T22:02:37]i304: Verified existing payload: S2SyncServiceInstaller at path: C:\ProgramData\Package Cache\{559B091C-59A6-4829-BC34-EB5F5117D6AE}v1.0.0.0\S2 Sync Service Installer.msi. 
[48A4:6418][2017-08-31T22:02:37]i304: Verified existing payload: S3ServiceInstaller at path: C:\ProgramData\Package Cache\{C6FA7C41-25DD-429A-8E0B-CDE5F7AE7A49}v2.17.0.0\S3 Installer.msi. 
[48A4:6418][2017-08-31T22:02:37]i304: Verified existing payload: S4ServiceInstaller at path: C:\ProgramData\Package Cache\{F5A53B70-739A-457B-80B6-B95E5BE6D7A1}v2.17.0.0\S4 Gateway Service Installer.msi. 
[48A4:6418][2017-08-31T22:02:37]i304: Verified existing payload: S5ServiceInstaller at path: C:\ProgramData\Package Cache\{1E487270-FB27-44E0-B84B-815466CFBF1D}v2.17.0.0\S5 Sync Service Installer.msi. 
[48A4:6418][2017-08-31T22:02:37]i304: Verified existing payload: S6ServiceInstaller at path: C:\ProgramData\Package Cache\{F6713254-6660-4A6D-B254-3D1E7AFB10CF}v2.17.0.0\S6 Installer.msi. 
[48A4:6418][2017-08-31T22:02:37]i304: Verified existing payload: S7ServiceInstaller at path: C:\ProgramData\Package Cache\{2D028B37-DA67-46FE-9AB9-4D597FDE21B4}v2.17.0.0\S7 Sync Service.msi. 
[48A4:6418][2017-08-31T22:02:37]i304: Verified existing payload: S8ServiceInstaller at path: C:\ProgramData\Package Cache\{3E76F53D-8EAC-4D2C-80B5-1443A27DB0BD}v2.17.0.0\S8 Sync Service.msi. 
[48A4:16A4][2017-08-31T22:02:37]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{f3e3a7a0-085a-469a-8f56-b18090931367}, resume: None, restart: None, disable resume: No 
[48A4:16A4][2017-08-31T22:02:37]i330: Removed bundle dependency provider: {f3e3a7a0-085a-469a-8f56-b18090931367} 
[48A4:16A4][2017-08-31T22:02:37]i352: Removing cached bundle: {f3e3a7a0-085a-469a-8f56-b18090931367}, from path: C:\ProgramData\Package Cache\{f3e3a7a0-085a-469a-8f56-b18090931367}\ 
[48A4:16A4][2017-08-31T22:02:37]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{f3e3a7a0-085a-469a-8f56-b18090931367}, resume: None, restart initiated: No, disable resume: No 
[695C:648C][2017-08-31T22:02:37]i399: Apply complete, result: 0x0, restart: None, ba requested restart: No 

我正在使用Wix Toolset 3.9和Visual Studio 2015来构建。

任何Wix奇才那里有关心提供意见?

您需要使用用于构建软件包的WiX版本(本例中为v3.10.3)重建您的引导程序应用程序。 BA在WiX版本之间是源兼容的,而不是二进制兼容的。

+0

这是与一个枚举中间的新值有关吗?我查看了另一个答案的代码,并看到缓存添加了前面的安装。看到我的答案在这里https://*.com/questions/42957206/wix-setup-not-installing-when-called-from-bootstrapper/42962584#42962584 –

+0

是的,正是@BrianSutherland。 –