[wix-users] Burn dependencies do not work after uninstall/upgrade

Reuss, Matthias matthias.mr.reuss at sivantos.com
Wed Apr 27 03:36:29 PDT 2016


Hi Rob,

I was not aware that I cannot send attachments. Sorry for the inconvenience. So I copy it here:

[0FB4:0D3C][2016-04-27T09:49:25]i001: Burn v3.9.1208.0, Windows v6.1 (Build 7600: Service Pack 0), path: C:\ProgramData\Package Cache\{ae29c500-5e38-4775-861d-e44063ec335f}\Setup.exe, cmdline: '/modify'
[0FB4:0D3C][2016-04-27T09:49:25]i000: Initializing string variable 'INSTALLUNINSTALL' to value '[InstallUninstall]'
[0FB4:0D3C][2016-04-27T09:49:25]i000: Initializing string variable 'INSTALLPATH' to value '[InstallPath]'
[0FB4:0D3C][2016-04-27T09:49:25]i000: Initializing string variable 'ORIGINALSOURCEVALUE' to value '[ORIGINALSOURCEVALUE]'
[0FB4:0D3C][2016-04-27T09:49:25]i000: Initializing numeric variable 'BootStrapped' to value '1'
[0FB4:0D3C][2016-04-27T09:49:25]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\cpp\AppData\Local\Temp\BundleUninstall_20160427094925.log'
[0FB4:0D3C][2016-04-27T09:49:25]i000: Loading managed bootstrapper application.
[0FB4:0D3C][2016-04-27T09:49:25]i000: Creating BA thread to run asynchronously.
[0FB4:06A8][2016-04-27T09:49:25]i000: Running the Custom BA.
[0FB4:06A8][2016-04-27T09:49:26]i000: InitializeDefaultView: LanguageView
[0FB4:06A8][2016-04-27T09:49:26]i000: Operating System Name  Windows 7
[0FB4:06A8][2016-04-27T09:49:26]i000: Warning: Your display resolution is less than 1280x1024
[0FB4:06A8][2016-04-27T09:49:26]i000: Total Physical Memory(RAM) available on the system 0,499565124511719
[0FB4:06A8][2016-04-27T09:49:26]i000: Warning: Your system has less than 2GB of memory
[0FB4:06A8][2016-04-27T09:49:26]i000: Warning: Your system does not have a PDF reader installed
[0FB4:06A8][2016-04-27T09:49:26]i000: Windows Media Player) available on the system C:\Program Files (x86)\Windows Media Player\wmplayer.exe
[0FB4:06A8][2016-04-27T09:49:26]i000: LocalizationManager
[0FB4:0D3C][2016-04-27T09:49:26]i100: Detect begin, 18 packages
[0FB4:06A8][2016-04-27T09:49:26]i000: Display Type :Full
[0FB4:06A8][2016-04-27T09:49:26]i000: Creating a UI.
[0FB4:0D3C][2016-04-27T09:49:26]i000: Setting numeric variable 'WICInstalled' to value 1
[0FB4:0D3C][2016-04-27T09:49:26]i000: Setting string variable 'Netfx4x64FullVersion' to value '4.0.30319'
[0FB4:0D3C][2016-04-27T09:49:26]i000: Setting string variable 'Netfx4FullVersion' to value '4.0.30319'
[0FB4:0D3C][2016-04-27T09:49:26]w120: Detected partially cached package: StopServices, invalid payload: StopServices, reason: 0x80070003
[0FB4:0D3C][2016-04-27T09:49:26]w120: Detected partially cached package: StartServicesOnUninstall, invalid payload: StartServicesOnUninstall, reason: 0x80070003
[0FB4:0D3C][2016-04-27T09:49:26]i052: Condition '1' evaluates to true.
[0FB4:0D3C][2016-04-27T09:49:26]i052: Condition 'WICInstalled' evaluates to true.
[0FB4:0D3C][2016-04-27T09:49:26]i052: Condition 'WICInstalled' evaluates to true.
[0FB4:0D3C][2016-04-27T09:49:26]i052: Condition 'Netfx4FullVersion AND (NOT VersionNT64 OR Netfx4x64FullVersion)' evaluates to true.
[0FB4:0D3C][2016-04-27T09:49:26]i103: Detected related package: {1264206A-043E-4DC5-B5F0-8E7DBA18BE02}, scope: PerMachine, version: 8.1.2.189, language: 1033 operation: Downgrade
[0FB4:0D3C][2016-04-27T09:49:26]i000: Detected existing related package Shared1 (product: {1264206A-043E-4DC5-B5F0-8E7DBA18BE02}) at version 8.1.2.189, which will be Downgrade
[0FB4:0D3C][2016-04-27T09:49:26]i103: Detected related package: {F34A6950-7E0E-4F92-8B0E-C552F4989DA4}, scope: PerMachine, version: 18.1.2.189, language: 1033 operation: Downgrade
[0FB4:0D3C][2016-04-27T09:49:26]i000: Detected existing related package Shared3 (product: {F34A6950-7E0E-4F92-8B0E-C552F4989DA4}) at version 18.1.2.189, which will be Downgrade
[0FB4:0D3C][2016-04-27T09:49:26]i103: Detected related package: {BC7B83B7-99C0-4F48-B0F5-96EFEB43C106}, scope: PerMachine, version: 8.1.2.189, language: 1033 operation: Downgrade
[0FB4:0D3C][2016-04-27T09:49:26]i000: Detected existing related package Shared2 (product: {BC7B83B7-99C0-4F48-B0F5-96EFEB43C106}) at version 8.1.2.189, which will be Downgrade
[0FB4:0D3C][2016-04-27T09:49:26]w120: Detected partially cached package: StartServices, invalid payload: StartServices, reason: 0x80070003
[0FB4:0D3C][2016-04-27T09:49:26]w120: Detected partially cached package: StartNGEN, invalid payload: StartNGEN, reason: 0x80070003
[0FB4:0D3C][2016-04-27T09:49:26]w120: Detected partially cached package: StopServicesOnUninstall, invalid payload: StopServicesOnUninstall, reason: 0x80070003
[0FB4:0D3C][2016-04-27T09:49:26]i052: Condition '1' evaluates to true.
[0FB4:0D3C][2016-04-27T09:49:26]i101: Detected package: StopServices, state: Absent, cached: Partial
[0FB4:0D3C][2016-04-27T09:49:26]i101: Detected package: StartServicesOnUninstall, state: Present, cached: Partial
[0FB4:0D3C][2016-04-27T09:49:26]i101: Detected package: WindowsXP_KB942288_v3_x86.exe, state: Absent, cached: None
[0FB4:0D3C][2016-04-27T09:49:26]i101: Detected package: WindowsServer2003_KB942288_v4_x86.exe, state: Absent, cached: None
[0FB4:0D3C][2016-04-27T09:49:26]i101: Detected package: WindowsServer2003_KB942288_v4_x64.exe, state: Absent, cached: None
[0FB4:0D3C][2016-04-27T09:49:26]i101: Detected package: Windows6.0_KB958655_v2_x86.msu, state: Absent, cached: None
[0FB4:0D3C][2016-04-27T09:49:26]i101: Detected package: Windows6.0_KB958655_v2_x64.msu, state: Absent, cached: None
[0FB4:0D3C][2016-04-27T09:49:26]i101: Detected package: wic_x64_enu, state: Present, cached: None
[0FB4:0D3C][2016-04-27T09:49:26]i101: Detected package: wic_x86_enu, state: Present, cached: None
[0FB4:0D3C][2016-04-27T09:49:26]i101: Detected package: Netfx4Full, state: Present, cached: None
[0FB4:0D3C][2016-04-27T09:49:26]i101: Detected package: Shared1, state: Superseded, cached: None
[0FB4:0D3C][2016-04-27T09:49:26]i101: Detected package: Specific1, state: Present, cached: None
[0FB4:0D3C][2016-04-27T09:49:26]i101: Detected package: Shared3, state: Superseded, cached: None
[0FB4:0D3C][2016-04-27T09:49:26]i101: Detected package: Shared2, state: Superseded, cached: None
[0FB4:0D3C][2016-04-27T09:49:26]i101: Detected package: Specific2, state: Present, cached: None
[0FB4:0D3C][2016-04-27T09:49:26]i101: Detected package: StartServices, state: Absent, cached: Partial
[0FB4:0D3C][2016-04-27T09:49:26]i101: Detected package: StartNGEN, state: Absent, cached: Partial
[0FB4:0D3C][2016-04-27T09:49:26]i101: Detected package: StopServicesOnUninstall, state: Present, cached: Partial
[0FB4:0D3C][2016-04-27T09:49:26]i000: DisplayRepairRemovewView
[0FB4:0D3C][2016-04-27T09:49:26]i000: Setting string variable 'ORIGINALSOURCEVALUE' to value 'Z:\BootstrapperSource\Output\Installation\Debug\MyMaster\DiskSet\'
[0FB4:0D3C][2016-04-27T09:49:26]i199: Detect complete, result: 0x0
[0FB4:06A8][2016-04-27T09:49:26]i000: DisplayRepairUninstallView
[0FB4:06A8][2016-04-27T09:49:26]i000: Installation Language Name :German
[0FB4:06A8][2016-04-27T09:49:27]i000: Default Country of Installation :DE
[0FB4:06A8][2016-04-27T09:49:31]i000: Setting string variable 'InstallUninstall' to value 'Uninstall'
[0FB4:0D3C][2016-04-27T09:49:31]i200: Plan begin, 18 packages, action: Uninstall
[0FB4:0D3C][2016-04-27T09:49:31]i000: Setting string variable 'ORIGINALSOURCEVALUE' to value '\\vmware-host\Shared Folders\BootstrapperSource\Output\Installation\Debug\MyMaster\DiskSet\'
[0FB4:0D3C][2016-04-27T09:49:31]w321: Skipping dependency registration on package with no dependency providers: StopServicesOnUninstall
[0FB4:0D3C][2016-04-27T09:49:31]i000: Setting string variable 'WixBundleLog_StopServicesOnUninstall' to value 'C:\Users\cpp\AppData\Local\Temp\BundleUninstall_20160427094925_0_StopServicesOnUninstall.log'
[0FB4:0D3C][2016-04-27T09:49:31]i000: Setting string variable 'WixBundleRollbackLog_StopServicesOnUninstall' to value 'C:\Users\cpp\AppData\Local\Temp\BundleUninstall_20160427094925_0_StopServicesOnUninstall_rollback.log'
[0FB4:0D3C][2016-04-27T09:49:31]w321: Skipping dependency registration on package with no dependency providers: StartNGEN
[0FB4:0D3C][2016-04-27T09:49:31]w321: Skipping dependency registration on package with no dependency providers: StartServices
[0FB4:0D3C][2016-04-27T09:49:31]w208: Plan disabled rollback for package: Specific2, due to incomplete cache: None, original rollback action: Install
[0FB4:0D3C][2016-04-27T09:49:31]i000: Setting string variable 'WixBundleLog_Specific2' to value 'C:\Users\cpp\AppData\Local\Temp\BundleUninstall_20160427094925_1_Specific2.log'
[0FB4:0D3C][2016-04-27T09:49:31]w327: Will not uninstall package: Shared2, found dependents: 2
[0FB4:0D3C][2016-04-27T09:49:31]w328: Found dependent: {3eb74f54-f38f-4a17-9f92-061b17cd592b}, name: OtherBundle1
[0FB4:0D3C][2016-04-27T09:49:31]w328: Found dependent: {cc9a71e6-a08f-40e1-b756-140a422ceb6e}, name: OtherBundle2
[0FB4:0D3C][2016-04-27T09:49:31]i000: Shared3 : State has been set to  None during PlanPackageBegin
[0FB4:0D3C][2016-04-27T09:49:31]w208: Plan disabled rollback for package: Specific1, due to incomplete cache: None, original rollback action: Install
[0FB4:0D3C][2016-04-27T09:49:31]i000: Setting string variable 'WixBundleLog_Specific1' to value 'C:\Users\cpp\AppData\Local\Temp\BundleUninstall_20160427094925_2_Specific1.log'
[0FB4:0D3C][2016-04-27T09:49:31]w327: Will not uninstall package: Shared1, found dependents: 2
[0FB4:0D3C][2016-04-27T09:49:31]w328: Found dependent: {3eb74f54-f38f-4a17-9f92-061b17cd592b}, name: OtherBundle1
[0FB4:0D3C][2016-04-27T09:49:31]w328: Found dependent: {cc9a71e6-a08f-40e1-b756-140a422ceb6e}, name: OtherBundle2
[0FB4:0D3C][2016-04-27T09:49:31]w321: Skipping dependency registration on package with no dependency providers: Netfx4Full
[0FB4:0D3C][2016-04-27T09:49:31]w321: Skipping dependency registration on package with no dependency providers: wic_x86_enu
[0FB4:0D3C][2016-04-27T09:49:31]w321: Skipping dependency registration on package with no dependency providers: wic_x64_enu
[0FB4:0D3C][2016-04-27T09:49:31]w321: Skipping dependency registration on package with no dependency providers: Windows6.0_KB958655_v2_x64.msu
[0FB4:0D3C][2016-04-27T09:49:31]w321: Skipping dependency registration on package with no dependency providers: Windows6.0_KB958655_v2_x86.msu
[0FB4:0D3C][2016-04-27T09:49:31]w321: Skipping dependency registration on package with no dependency providers: WindowsServer2003_KB942288_v4_x64.exe
[0FB4:0D3C][2016-04-27T09:49:31]w321: Skipping dependency registration on package with no dependency providers: WindowsServer2003_KB942288_v4_x86.exe
[0FB4:0D3C][2016-04-27T09:49:31]w321: Skipping dependency registration on package with no dependency providers: WindowsXP_KB942288_v3_x86.exe
[0FB4:0D3C][2016-04-27T09:49:31]w321: Skipping dependency registration on package with no dependency providers: StartServicesOnUninstall
[0FB4:0D3C][2016-04-27T09:49:31]i000: Setting string variable 'WixBundleLog_StartServicesOnUninstall' to value 'C:\Users\cpp\AppData\Local\Temp\BundleUninstall_20160427094925_3_StartServicesOnUninstall.log'
[0FB4:0D3C][2016-04-27T09:49:31]i000: Setting string variable 'WixBundleRollbackLog_StartServicesOnUninstall' to value 'C:\Users\cpp\AppData\Local\Temp\BundleUninstall_20160427094925_3_StartServicesOnUninstall_rollback.log'
[0FB4:0D3C][2016-04-27T09:49:31]w321: Skipping dependency registration on package with no dependency providers: StopServices
[0FB4:0D3C][2016-04-27T09:49:31]i201: Planned package: StopServicesOnUninstall, state: Present, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, cache: Yes, uncache: Yes, dependency: None
[0FB4:0D3C][2016-04-27T09:49:31]i201: Planned package: StartNGEN, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: Yes, dependency: None
[0FB4:0D3C][2016-04-27T09:49:31]i201: Planned package: StartServices, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: Yes, dependency: None
[0FB4:0D3C][2016-04-27T09:49:31]i201: Planned package: Specific2, state: Present, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: None, cache: No, uncache: No, dependency: Unregister
[0FB4:0D3C][2016-04-27T09:49:31]i201: Planned package: Shared2, state: Superseded, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: Unregister
[0FB4:0D3C][2016-04-27T09:49:31]i201: Planned package: Shared3, state: Superseded, default requested: Absent, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: Unregister
[0FB4:0D3C][2016-04-27T09:49:31]i201: Planned package: Specific1, state: Present, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: None, cache: No, uncache: No, dependency: Unregister
[0FB4:0D3C][2016-04-27T09:49:31]i201: Planned package: Shared1, state: Superseded, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: Unregister
[0FB4:0D3C][2016-04-27T09:49:31]i201: Planned package: Netfx4Full, state: Present, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0FB4:0D3C][2016-04-27T09:49:31]i201: Planned package: wic_x86_enu, state: Present, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0FB4:0D3C][2016-04-27T09:49:31]i201: Planned package: wic_x64_enu, state: Present, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0FB4:0D3C][2016-04-27T09:49:31]i201: Planned package: Windows6.0_KB958655_v2_x64.msu, state: Absent, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0FB4:0D3C][2016-04-27T09:49:31]i201: Planned package: Windows6.0_KB958655_v2_x86.msu, state: Absent, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0FB4:0D3C][2016-04-27T09:49:31]i201: Planned package: WindowsServer2003_KB942288_v4_x64.exe, state: Absent, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0FB4:0D3C][2016-04-27T09:49:31]i201: Planned package: WindowsServer2003_KB942288_v4_x86.exe, state: Absent, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0FB4:0D3C][2016-04-27T09:49:31]i201: Planned package: WindowsXP_KB942288_v3_x86.exe, state: Absent, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0FB4:0D3C][2016-04-27T09:49:31]i201: Planned package: StartServicesOnUninstall, state: Present, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, cache: Yes, uncache: Yes, dependency: None
[0FB4:0D3C][2016-04-27T09:49:31]i201: Planned package: StopServices, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: Yes, dependency: None
[0FB4:0D3C][2016-04-27T09:49:31]i000: Current INSTALLDIR value: 
[0FB4:0D3C][2016-04-27T09:49:31]i299: Plan complete, result: 0x0
[0FB4:0D3C][2016-04-27T09:49:31]i300: Apply begin
[0AC8:0A5C][2016-04-27T09:49:34]i360: Creating a system restore point.
[0AC8:0A5C][2016-04-27T09:49:40]i361: Created a system restore point.
[0FB4:061C][2016-04-27T09:49:40]i338: Acquiring package: StopServicesOnUninstall, payload: StopServicesOnUninstall, copy from: Z:\BootstrapperSource\Output\Installation\Debug\MyMaster\DiskSet\Helper\Helper.exe
[0AC8:0BEC][2016-04-27T09:49:40]i305: Verified acquired payload: StopServicesOnUninstall at path: C:\ProgramData\Package Cache\.unverified\StopServicesOnUninstall, moving to: C:\ProgramData\Package Cache\3EEF4595B5B0F844308EA1B43826B4D0AFCED010\Helper\Helper.exe.
[0FB4:061C][2016-04-27T09:49:40]i000: Check for files in use before ApplyBegin: No files are being used
[0FB4:061C][2016-04-27T09:49:40]i338: Acquiring package: StartServicesOnUninstall, payload: StartServicesOnUninstall, copy from: Z:\BootstrapperSource\Output\Installation\Debug\MyMaster\DiskSet\Helper\Helper.exe
[0AC8:0BEC][2016-04-27T09:49:40]i304: Verified existing payload: StartServicesOnUninstall at path: C:\ProgramData\Package Cache\3EEF4595B5B0F844308EA1B43826B4D0AFCED010\Helper\Helper.exe.
[0FB4:061C][2016-04-27T09:49:40]i000: Check for files in use before ApplyBegin: No files are being used
[0AC8:0A5C][2016-04-27T09:49:40]i301: Applying execute package: StopServicesOnUninstall, action: Uninstall, path: C:\ProgramData\Package Cache\3EEF4595B5B0F844308EA1B43826B4D0AFCED010\Helper\Helper.exe, arguments: '"C:\ProgramData\Package Cache\3EEF4595B5B0F844308EA1B43826B4D0AFCED010\Helper\Helper.exe" -services -action=stop'
[0FB4:0D3C][2016-04-27T09:49:41]i000: Check for files in use before ApplyBegin: No files are being used
[0FB4:0D3C][2016-04-27T09:49:41]i319: Applied execute package: StopServicesOnUninstall, result: 0x0, restart: None
[0AC8:0A5C][2016-04-27T09:49:41]i326: Removed dependency: {ae29c500-5e38-4775-861d-e44063ec335f} on package provider: {845A7D42-CCEB-4C7E-9B9D-A19F5D60361E}, package Specific2
[0AC8:0A5C][2016-04-27T09:49:41]i329: Removed package dependency provider: {845A7D42-CCEB-4C7E-9B9D-A19F5D60361E}, package: Specific2
[0AC8:0A5C][2016-04-27T09:49:41]i301: Applying execute package: Specific2, action: Uninstall, path: (null), arguments: ' MSIFASTINSTALL="7" INSTALLDIR="" BOOTSTRAPPED="1"'
[0FB4:0D3C][2016-04-27T09:49:41]i000: Check for files in use before ApplyBegin: No files are being used
[0FB4:0D3C][2016-04-27T09:49:41]i319: Applied execute package: Specific2, result: 0x0, restart: None
[0AC8:0A5C][2016-04-27T09:49:41]i326: Removed dependency: {ae29c500-5e38-4775-861d-e44063ec335f} on package provider: {BC7B83B7-99C0-4F48-B0F5-96EFEB43C106}, package Shared2
[0AC8:0A5C][2016-04-27T09:49:41]i326: Removed dependency: {ae29c500-5e38-4775-861d-e44063ec335f} on package provider: {F34A6950-7E0E-4F92-8B0E-C552F4989DA4}, package Shared3
[0AC8:0A5C][2016-04-27T09:49:41]i329: Removed package dependency provider: {F34A6950-7E0E-4F92-8B0E-C552F4989DA4}, package: Shared3
[0AC8:0A5C][2016-04-27T09:49:41]i326: Removed dependency: {ae29c500-5e38-4775-861d-e44063ec335f} on package provider: {07010000-D6EA-49FE-AF03-2A78E9995CFB}, package Specific1
[0AC8:0A5C][2016-04-27T09:49:41]i329: Removed package dependency provider: {07010000-D6EA-49FE-AF03-2A78E9995CFB}, package: Specific1
[0AC8:0A5C][2016-04-27T09:49:41]i301: Applying execute package: Specific1, action: Uninstall, path: (null), arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7" COUNTRY="" INSTALLDIR="" STARTMENUFOLDERNAME="" BOOTSTRAPPED="1" CULTURELIST="" ORIGINALSOURCE="\\vmware-host\Shared Folders\BootstrapperSource\Output\Installation\Debug\MyMaster\DiskSet\HIDB"'
[0FB4:0D3C][2016-04-27T09:50:07]i000: Check for files in use before ApplyBegin: No files are being used
[0FB4:0D3C][2016-04-27T09:50:07]i319: Applied execute package: Specific1, result: 0x0, restart: None
[0AC8:0A5C][2016-04-27T09:50:07]i326: Removed dependency: {ae29c500-5e38-4775-861d-e44063ec335f} on package provider: {1264206A-043E-4DC5-B5F0-8E7DBA18BE02}, package Shared1
[0AC8:0A5C][2016-04-27T09:50:07]i301: Applying execute package: StartServicesOnUninstall, action: Uninstall, path: C:\ProgramData\Package Cache\3EEF4595B5B0F844308EA1B43826B4D0AFCED010\Helper\Helper.exe, arguments: '"C:\ProgramData\Package Cache\3EEF4595B5B0F844308EA1B43826B4D0AFCED010\Helper\Helper.exe" -services -action=start'
[0FB4:0D3C][2016-04-27T09:50:08]i000: Check for files in use before ApplyBegin: No files are being used
[0FB4:0D3C][2016-04-27T09:50:08]i319: Applied execute package: StartServicesOnUninstall, result: 0x0, restart: None
[0AC8:0A5C][2016-04-27T09:50:08]i351: Removing cached package: StopServicesOnUninstall, from path: C:\ProgramData\Package Cache\3EEF4595B5B0F844308EA1B43826B4D0AFCED010\
[0AC8:0A5C][2016-04-27T09:50:08]i351: Removing cached package: StartNGEN, from path: C:\ProgramData\Package Cache\3EEF4595B5B0F844308EA1B43826B4D0AFCED010\
[0AC8:0A5C][2016-04-27T09:50:08]w353: Unable to remove cached package: StartNGEN, from path: C:\ProgramData\Package Cache\3EEF4595B5B0F844308EA1B43826B4D0AFCED010\, reason: 0x80070003. Continuing...
[0AC8:0A5C][2016-04-27T09:50:08]i351: Removing cached package: StartServices, from path: C:\ProgramData\Package Cache\3EEF4595B5B0F844308EA1B43826B4D0AFCED010\
[0AC8:0A5C][2016-04-27T09:50:08]w353: Unable to remove cached package: StartServices, from path: C:\ProgramData\Package Cache\3EEF4595B5B0F844308EA1B43826B4D0AFCED010\, reason: 0x80070003. Continuing...
[0AC8:0A5C][2016-04-27T09:50:08]i351: Removing cached package: StartServicesOnUninstall, from path: C:\ProgramData\Package Cache\3EEF4595B5B0F844308EA1B43826B4D0AFCED010\
[0AC8:0A5C][2016-04-27T09:50:08]w353: Unable to remove cached package: StartServicesOnUninstall, from path: C:\ProgramData\Package Cache\3EEF4595B5B0F844308EA1B43826B4D0AFCED010\, reason: 0x80070003. Continuing...
[0AC8:0A5C][2016-04-27T09:50:08]i351: Removing cached package: StopServices, from path: C:\ProgramData\Package Cache\3EEF4595B5B0F844308EA1B43826B4D0AFCED010\
[0AC8:0A5C][2016-04-27T09:50:08]w353: Unable to remove cached package: StopServices, from path: C:\ProgramData\Package Cache\3EEF4595B5B0F844308EA1B43826B4D0AFCED010\, reason: 0x80070003. Continuing...
[0AC8:0A5C][2016-04-27T09:50:08]i330: Removed bundle dependency provider: {ae29c500-5e38-4775-861d-e44063ec335f}
[0AC8:0A5C][2016-04-27T09:50:08]i352: Removing cached bundle: {ae29c500-5e38-4775-861d-e44063ec335f}, from path: C:\ProgramData\Package Cache\{ae29c500-5e38-4775-861d-e44063ec335f}\
[0FB4:0D3C][2016-04-27T09:50:08]i000: In case of Uninstall
[0FB4:0D3C][2016-04-27T09:50:08]i000: Setup was successfully installed : 0
[0FB4:0D3C][2016-04-27T09:50:08]i399: Apply complete, result: 0x0, restart: None, ba requested restart:  No
[0FB4:0D3C][2016-04-27T09:51:01]i500: Shutting down, exit code: 0x0
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: CommonAppDataFolder = C:\ProgramData\
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: InstallUninstall = Uninstall
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: INSTALLUNINSTALL = Uninstall
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: Netfx4FullVersion = 4.0.30319
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: Netfx4x64FullVersion = 4.0.30319
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: ORIGINALSOURCEVALUE = \\vmware-host\Shared Folders\BootstrapperSource\Output\Installation\Debug\MyMaster\DiskSet\
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: BootStrapped = 1
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: SystemFolder = C:\Windows\system32\
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: TempFolder = C:\Users\cpp\AppData\Local\Temp\
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: VersionNT64 = 6.1.0.0
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: WICInstalled = 1
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: WixBundleAction = 3
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: WixBundleElevated = 1
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: WixBundleInstalled = 1
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: WixBundleLastUsedSource = Z:\BootstrapperSource\Output\Installation\Debug\MyMaster\DiskSet\
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: WixBundleLog = C:\Users\cpp\AppData\Local\Temp\BundleUninstall_20160427094925.log
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: WixBundleLog_Specific2 = C:\Users\cpp\AppData\Local\Temp\BundleUninstall_20160427094925_1_Specific2.log
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: WixBundleLog_Specific1 = C:\Users\cpp\AppData\Local\Temp\BundleUninstall_20160427094925_2_Specific1.log
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: WixBundleLog_StartServicesOnUninstall = C:\Users\cpp\AppData\Local\Temp\BundleUninstall_20160427094925_3_StartServicesOnUninstall.log
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: WixBundleLog_StopServicesOnUninstall = C:\Users\cpp\AppData\Local\Temp\BundleUninstall_20160427094925_0_StopServicesOnUninstall.log
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: WixBundleManufacturer = MyCompany
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: WixBundleName = MyBundle
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: WixBundleOriginalSource = Z:\BootstrapperSource\Output\Installation\Debug\MyMaster\DiskSet\Setup.exe
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: WixBundleOriginalSourceFolder = Z:\BootstrapperSource\Output\Installation\Debug\MyMaster\DiskSet\
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: WixBundleProviderKey = {ae29c500-5e38-4775-861d-e44063ec335f}
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: WixBundleRollbackLog_StartServicesOnUninstall = C:\Users\cpp\AppData\Local\Temp\BundleUninstall_20160427094925_3_StartServicesOnUninstall_rollback.log
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: WixBundleRollbackLog_StopServicesOnUninstall = C:\Users\cpp\AppData\Local\Temp\BundleUninstall_20160427094925_0_StopServicesOnUninstall_rollback.log
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: WixBundleTag = 
[0FB4:0D3C][2016-04-27T09:51:01]i410: Variable: WixBundleVersion = 8.1.2.0
[0FB4:0D3C][2016-04-27T09:51:01]i007: Exit code: 0x0, restarting: No

We develop several bundles that share the logic as well as some of the MSI packages.
In the current state, three such bundles (MyBundle, OtherBundle1, OtherBundle2) have been installed. The log file is from uninstallation of MyBundle.

The packages Shared1, Shared2, and Shared3 are shared among all three bundles, whereas the packages Specific1 and Specific2 are specific for MyBundle.

In PlanPackageBegin, the CustomBA sets the RequestState (PlanPackageBeginEventArgs.State) to RequestState.None for the package Shared3. For the packages Shared1 and Shared2, the RequestState is not touched.

As a result, the uninstallation of Shared1 and Shared2 is inhibited by the dependency. For these packages, the dependencies stay functional.

For Shared3, the dependency is not checked, but uninstallation is inhibited by CustomBA (lines 77 and 100). Then the dependency provider for this package is removed regardless of the dependencies on the other two bundles (line 134).

When I uninstall one of the other bundles, the dependency information for Shared3 will no longer be there, so that Shared3 will be removed (unless inhibited by CustomBA).

I do not use any dep: tags yet, because I have not found real good documentation on that. Should I do so?

Best regards

Matthias Reuss

-----Ursprüngliche Nachricht-----
Von: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] Im Auftrag von Rob Mensching
Gesendet: Dienstag, 26. April 2016 18:01
An: WiX Toolset Users Mailing List
Betreff: Re: [wix-users] Burn dependencies do not work after uninstall/upgrade

Adding more information about what you are seeing is not a bad thing.

That doesn't sound right. Could be a bug in Burn or something else going on needs more investigation. I wouldn't assume this is the desired behavior.

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Reuss, Matthias
Sent: Tuesday, April 26, 2016 5:46 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Burn dependencies do not work after uninstall/upgrade

Sorry that I have to follow up to myself...

I found out that the subkeys of HKCR\Installer\Dependencies are removed on uninstallation of the bundle (regardless whether it is a "real" uninstall or an uninstall during bundle upgrade) if the CustomBA sets the request state of the respective package to None (in PlanPackageBegin). In this case, the Burn log file contains lines such as 

[0660:090C][2016-04-21T16:50:30]i329: Removed package dependency provider: {F34A6950-7E0E-4F92-8B0E-C552F4989DA4}, package: MyPackage

If the CustomBA does not touch the request state, the dependency registration remains intact.

My conclusion is that I must either fully rely on the registered dependencies (not touch the request states) - which is likely to be sufficient in most cases or - if I have to touch the request states because of some conditional uninstallation - I cannot use the registered dependencies at all.

Is that true?´

Best regards

Matthias Reuss

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list