Thanks, Rob. We tried to reboot after we saw 2 entries - it didn't remove the 
old entry. Currently I instructed QA to follow the MSI's request to reboot the 
machine (they do not always follow it) so when it is upgraded to next version, 
the previous will be removed  correctly. 

-----Original Message-----
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Wednesday, November 28, 2012 06:23
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] [Burn] Bundle appears twice in ARP after upgrade.

1. Sounds right.
2. Seems like if you reboot, the bundle will finish whatever the last operation 
was. If it was uninstall, the bundle will uninstall.
3. No, a reboot is required. After the reboot the bundle will end up in the 
correct state.


On Tue, Nov 27, 2012 at 3:56 AM, Philip Patrick <patri...@varonis.com>wrote:

> Hi,
>
> I have an MSI and a bundle (standard off-the-shelf), which chains SQL 
> CE and my MSI at the end. So far so good, but on few upgrades, we see 
> that the previous version stays in ARP alongside the new version. This 
> doesn't happen all the time, so it is real pain to reproduce. The last 
> time it happened, I was lucky to snatch the log files from the 
> installation, so at least I could try to understand what is the 
> problem. The suspicious log file will go at the end of the mail.
> Looking at the log I see the following lines:
> ~~~~~~~~~~~~~~~~~
> Applying execute package: {55fae1fe-2856-4ba0-a0f4-3bae6f6a81da}, action:
> Uninstall, path: C:\ProgramData\Package 
> Cache\{55fae1fe-2856-4ba0-a0f4-3bae6f6a81da}\Varonis.Scf.Server.Setup.
> x64.exe,
> arguments: '"C:\ProgramData\Package
> Cache\{55fae1fe-2856-4ba0-a0f4-3bae6f6a81da}\Varonis.Scf.Server.Setup.x64.exe"
> -uninstall -quiet -burn.related.upgrade'
> Error 0x8007015e: Process returned error: 0x8007015e Error 0x8007015e: 
> Failed to execute EXE package.
> Error 0x8007015e: Failed to configure per-machine EXE package.
> Applied non-vital package: {55fae1fe-2856-4ba0-a0f4-3bae6f6a81da},
> encountered error: 0x8007015e. Continuing...
> ~~~~~~~~~~~~~~~~~
> It seems to me that the uninstall (or unregister I guess) of previous 
> version's bundle didn't execute because it detected that it requires a 
> restart. But installation of a new one actually completed successfully 
> a few lines above in the log. I saw that in most cases bundle doesn't 
> allow installation if previous installation requested reboot, but it 
> seems not in this case. The questions are:
>
> 1. Do you think I came to correct conclusion why old entry left in ARP?
> 2. Is this a known issue already, if yes, can someone point me to the 
> bug link?
> 3. Is there anything I can do to prevent this behavior? Workaround or 
> something? Maybe I can fiddle with REBOOT property and pass to MSI 
> "ReallySuppress"?
>
> Thanks,
> Philip Patrick.
>
> ~~~~~~~~~~~~~~~~~~~
> Full burn log below
>
> [061C:08C0][2012-11-27T12:10:08]: Burn v3.6.3303.0, Windows v6.1 
> (Build
> 7601: Service Pack 1), path:
> C:\Users\administrator.L23-ROOT\Desktop\Varonis.DatAnywhere.Server.1.5
> .0.75.x64.exe,
> cmdline: '-burn.unelevated 
> BurnPipe.{6620866D-1A91-4B4F-8C29-584A0E1E9894}
> {4C1C7BE4-C363-401E-B1FF-6827A42B021D} 4016'
> [061C:08C0][2012-11-27T12:10:08]: Setting string variable 'WixBundleLog'
> to value
> 'C:\Users\ADMINI~1.L23\AppData\Local\Temp\Varonis_DatAnywhere_Server_1.5.0.75_20121127121008.log'
> [061C:08C0][2012-11-27T12:10:08]: Setting string variable 
> 'WixBundleOriginalSource' to value 
> 'C:\Users\administrator.L23-ROOT\Desktop\Varonis.DatAnywhere.Server.1.5.0.75.x64.exe'
> [061C:08C0][2012-11-27T12:10:08]: Setting string variable 'WixBundleName'
> to value 'Varonis DatAnywhere Server 1.5.0.75'
> [061C:08C0][2012-11-27T12:10:08]: Detect 3 packages
> [061C:08C0][2012-11-27T12:10:08]: Detected related bundle:
> {55fae1fe-2856-4ba0-a0f4-3bae6f6a81da}, type: Upgrade, scope: 
> PerMachine,
> version: 1.5.73.0, operation: MajorUpgrade
> [061C:08C0][2012-11-27T12:10:08]: Detected related package:
> {E1B975B8-7622-406A-9143-D8C10756EB61}, scope: PerMachine, version:
> 1.5.73.0, language: 0 operation: MajorUpgrade
> [061C:08C0][2012-11-27T12:10:08]: Detected related package:
> {3A9FC03D-C685-4831-94CF-4EDFD3749497}, scope: PerMachine, version:
> 3.5.8080.0, language: 0 operation: MajorUpgrade
> [061C:08C0][2012-11-27T12:10:08]: Detected related package:
> {D4AD39AD-091E-4D33-BB2B-59F6FCB8ADC3}, scope: PerMachine, version:
> 3.5.8080.0, language: 0 operation: MajorUpgrade
> [061C:08C0][2012-11-27T12:10:08]: Detected package:
> SSCERuntime_x86_ENU.msi, state: Present, cached: None
> [061C:08C0][2012-11-27T12:10:08]: Detected package:
> SSCERuntime_x64_ENU.msi, state: Present, cached: Complete
> [061C:08C0][2012-11-27T12:10:08]: Detected package:
> Varonis.Scf.Server.Setup.x64.msi, state: Absent, cached: None
> [061C:08C0][2012-11-27T12:10:08]: Detect complete, result: 0x0
> [061C:08C0][2012-11-27T12:10:10]: Plan 3 packages, action: Install
> [061C:08C0][2012-11-27T12:10:10]: Condition 'NOT WixBundleInstalled'
> evaluates to true.
> [061C:08C0][2012-11-27T12:10:10]: Condition 'VersionNT64 AND NOT 
> WixBundleInstalled' evaluates to true.
> [061C:08C0][2012-11-27T12:10:10]: Setting string variable 
> 'WixBundleRollbackLog_Varonis.Scf.Server.Setup.x64.msi' to value 
> 'C:\Users\ADMINI~1.L23\AppData\Local\Temp\Varonis_DatAnywhere_Server_1.5.0.75_20121127121008_0_Varonis.Scf.Server.Setup.x64.msi_rollback.log'
> [061C:08C0][2012-11-27T12:10:10]: Setting string variable 
> 'WixBundleLog_Varonis.Scf.Server.Setup.x64.msi' to value 
> 'C:\Users\ADMINI~1.L23\AppData\Local\Temp\Varonis_DatAnywhere_Server_1.5.0.75_20121127121008_0_Varonis.Scf.Server.Setup.x64.msi.log'
> [061C:08C0][2012-11-27T12:10:10]: Planned package:
> SSCERuntime_x86_ENU.msi, state: Present, default requested: Present, 
> ba
> requested: Present, execute: None, rollback: None, cache: No, uncache: 
> No,
> dependency: Register
> [061C:08C0][2012-11-27T12:10:10]: Planned package:
> SSCERuntime_x64_ENU.msi, state: Present, default requested: Present, 
> ba
> requested: Present, execute: None, rollback: None, cache: No, uncache: 
> No,
> dependency: Register
> [061C:08C0][2012-11-27T12:10:10]: Planned package:
> Varonis.Scf.Server.Setup.x64.msi, state: Absent, default requested:
> Present, ba requested: Present, execute: Install, rollback: Uninstall,
> cache: Yes, uncache: No, dependency: Register
> [061C:08C0][2012-11-27T12:10:10]: Planned related bundle:
> {55fae1fe-2856-4ba0-a0f4-3bae6f6a81da}, type: Upgrade, default requested:
> Absent, ba requested: Absent, execute: Uninstall, rollback: Install,
> dependency: None
> [061C:08C0][2012-11-27T12:10:10]: Plan complete, result: 0x0
> [061C:08C0][2012-11-27T12:10:10]: Apply begin
> [0FB0:0D14][2012-11-27T12:10:10]: Creating a system restore point.
> [0FB0:0D14][2012-11-27T12:10:10]: System restore disabled, system 
> restore point not created.
> [0FB0:0D14][2012-11-27T12:10:10]: Caching bundle from:
> 'C:\Users\ADMINI~1.L23\AppData\Local\Temp\2\{3d415254-c95f-41cc-ae5c-cc6d9e520a50}\.be\Varonis.Scf.Server.Setup.x64.exe'
> to: 'C:\ProgramData\Package
> Cache\{3d415254-c95f-41cc-ae5c-cc6d9e520a50}\Varonis.Scf.Server.Setup.x64.exe'
> [0FB0:0D14][2012-11-27T12:10:10]: Registering bundle dependency provider:
> {3d415254-c95f-41cc-ae5c-cc6d9e520a50}, version: 1.5.75.0
> [0FB0:0B80][2012-11-27T12:10:11]: Verified acquired payload:
> Varonis.Scf.Server.Setup.x64.msi at path: C:\ProgramData\Package 
> Cache\.unverified\Varonis.Scf.Server.Setup.x64.msi, moving to:
> C:\ProgramData\Package
> Cache\{77FD9EE1-3BC2-40CC-85F6-4FB877181B8B}v1.5.75\Varonis.Scf.Server.Setup.x64.msi.
> [0FB0:0D14][2012-11-27T12:10:11]: Registering dependency:
> {3d415254-c95f-41cc-ae5c-cc6d9e520a50} on package provider:
> {3A9FC03D-C685-4831-94CF-4EDFD3749497}, package: 
> SSCERuntime_x86_ENU.msi
> [0FB0:0D14][2012-11-27T12:10:11]: Registering dependency:
> {3d415254-c95f-41cc-ae5c-cc6d9e520a50} on package provider:
> {D4AD39AD-091E-4D33-BB2B-59F6FCB8ADC3}, package: 
> SSCERuntime_x64_ENU.msi
> [0FB0:0D14][2012-11-27T12:10:11]: Applying execute package:
> Varonis.Scf.Server.Setup.x64.msi, action: Install, path:
> C:\ProgramData\Package
> Cache\{77FD9EE1-3BC2-40CC-85F6-4FB877181B8B}v1.5.75\Varonis.Scf.Server
> .Setup.x64.msi,
> arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7" EULAACCEPTED="1"'
> [0FB0:0D14][2012-11-27T12:12:03]: Registering package dependency provider:
> {77FD9EE1-3BC2-40CC-85F6-4FB877181B8B}, version: 1.5.75, package:
> Varonis.Scf.Server.Setup.x64.msi
> [061C:08C0][2012-11-27T12:12:03]: Applied execute package:
> Varonis.Scf.Server.Setup.x64.msi, result: 0x0, restart: Required
> [0FB0:0D14][2012-11-27T12:12:03]: Registering dependency:
> {3d415254-c95f-41cc-ae5c-cc6d9e520a50} on package provider:
> {77FD9EE1-3BC2-40CC-85F6-4FB877181B8B}, package:
> Varonis.Scf.Server.Setup.x64.msi
> [0FB0:0D14][2012-11-27T12:12:03]: Applying execute package:
> {55fae1fe-2856-4ba0-a0f4-3bae6f6a81da}, action: Uninstall, path:
> C:\ProgramData\Package
> Cache\{55fae1fe-2856-4ba0-a0f4-3bae6f6a81da}\Varonis.Scf.Server.Setup.
> x64.exe,
> arguments: '"C:\ProgramData\Package
> Cache\{55fae1fe-2856-4ba0-a0f4-3bae6f6a81da}\Varonis.Scf.Server.Setup.x64.exe"
> -uninstall -quiet -burn.related.upgrade'
> [0FB0:0D14][2012-11-27T12:12:04]: Error 0x8007015e: Process returned
> error: 0x8007015e
> [0FB0:0D14][2012-11-27T12:12:04]: Error 0x8007015e: Failed to execute 
> EXE package.
> [061C:08C0][2012-11-27T12:12:04]: Error 0x8007015e: Failed to 
> configure per-machine EXE package.
> [061C:08C0][2012-11-27T12:12:04]: Applied non-vital package:
> {55fae1fe-2856-4ba0-a0f4-3bae6f6a81da}, encountered error: 0x8007015e.
> Continuing...
> [061C:0CA0][2012-11-27T12:12:05]: Received system request to shut down 
> the
> process: critical: No, elevated: No, allowed: No
> [061C:08C0][2012-11-27T12:12:05]: Apply complete, result: 0x0, restart:
> Required, ba requested restart:  No
> [061C:08C0][2012-11-27T12:12:12]: Shutting down, exit code: 0x0
> [061C:08C0][2012-11-27T12:12:12]: Variable: VersionNT64 = 6.1.0.0
> [061C:08C0][2012-11-27T12:12:12]: Variable: WixBundleAction = 4
> [061C:08C0][2012-11-27T12:12:12]: Variable: WixBundleElevated = 1
> [061C:08C0][2012-11-27T12:12:12]: Variable: WixBundleInstalled = 0
> [061C:08C0][2012-11-27T12:12:12]: Variable: WixBundleLog = 
> C:\Users\ADMINI~1.L23\AppData\Local\Temp\Varonis_DatAnywhere_Server_1.
> 5.0.75_20121127121008.log
> [061C:08C0][2012-11-27T12:12:12]: Variable:
> WixBundleLog_Varonis.Scf.Server.Setup.x64.msi = 
> C:\Users\ADMINI~1.L23\AppData\Local\Temp\Varonis_DatAnywhere_Server_1.
> 5.0.75_20121127121008_0_Varonis.Scf.Server.Setup.x64.msi.log
> [061C:08C0][2012-11-27T12:12:12]: Variable: WixBundleName = Varonis 
> DatAnywhere Server 1.5.0.75
> [061C:08C0][2012-11-27T12:12:12]: Variable: WixBundleOriginalSource = 
> C:\Users\administrator.L23-ROOT\Desktop\Varonis.DatAnywhere.Server.1.5
> .0.75.x64.exe
> [061C:08C0][2012-11-27T12:12:12]: Variable: WixBundleProviderKey = 
> {3d415254-c95f-41cc-ae5c-cc6d9e520a50}
> [061C:08C0][2012-11-27T12:12:12]: Variable:
> WixBundleRollbackLog_Varonis.Scf.Server.Setup.x64.msi = 
> C:\Users\ADMINI~1.L23\AppData\Local\Temp\Varonis_DatAnywhere_Server_1.
> 5.0.75_20121127121008_0_Varonis.Scf.Server.Setup.x64.msi_rollback.log
> [061C:08C0][2012-11-27T12:12:12]: Variable: WixBundleTag =
> [061C:08C0][2012-11-27T12:12:12]: Variable: WixBundleVersion = 
> 1.5.75.0
> [061C:08C0][2012-11-27T12:12:12]: Exit code: 0x0, restarting: No
>
>
>
> ----------------------------------------------------------------------
> -------- Monitor your physical, virtual and cloud infrastructure from 
> a single web console. Get in-depth insight into apps, servers, 
> databases, vmware, SAP, cloud infrastructure, etc. Download 30-day 
> Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



--
virtually,

   Rob Mensching
   http://RobMensching.com LLC
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to