I have a simple burn installer which bundles an application with a few
prerequisites. Upon releasing a new version of the application, I also
created a new bundle, which is unchanged except for linking to the new MSI.

When I attempt to install the new bundle, the process which happens is: new
bundle is installed, old bundle is uninstalled.

The reason that's bad is that while my application remains installed (the
MSI upgrades correctly), all of its prerequisites are uninstalled, leaving
me with a stunted install on the system.

The current installer is built with the WiX 3.6 beta version (both the MSI
and the bundle), the old one with a version from three weeks ago or so.
Here's some log:
[0A84:33A4][2011-10-28T21:36:29]: Detect 6 packages
[0A84:33A4][2011-10-28T21:36:29]: Detected related bundle:
{6b8f73cd-de04-4bdd-97d2-d122288b4b78}, scope: PerUser, version: 1.0.0.0,
operation: MajorUpgrade
[0A84:33A4][2011-10-28T21:36:29]: Detected related package:
{ED31D10E-5933-44A2-833B-A0278CBBC10C}, scope: PerUser, version: 1.0.1.0,
operation: MajorUpgrade
[0A84:33A4][2011-10-28T21:36:29]: Detected package: Portal.msi, state:
Absent, cached: No

snip

[0A84:33A4][2011-10-28T21:36:31]: Planned package:
openni_win32_1.3.4.3_redist.msi, state: Present, default requested: Present,
ux requested: Present, execute: None, rollback: None, cache: No, uncache:
No, dependency: Register
[0A84:33A4][2011-10-28T21:36:31]: Planned package:
nite_win32_1.4.2.4_redist.msi, state: Present, default requested: Present,
ux requested: Present, execute: None, rollback: None, cache: No, uncache:
No, dependency: Register
[0A84:33A4][2011-10-28T21:36:31]: Planned package:
sensor_win32_5.0.4.3_redist.msi, state: Present, default requested: Present,
ux requested: Present, execute: None, rollback: None, cache: No, uncache:
No, dependency: Register
[0A84:33A4][2011-10-28T21:36:31]: Planned package:
SensorKinect_Win_OpenSource32_5.0.3.4.msi, state: Present, default
requested: Present, ux requested: Present, execute: None, rollback: None,
cache: No, uncache: No, dependency: Register
[0A84:33A4][2011-10-28T21:36:31]: Planned package: Portal.msi, state:
Absent, default requested: Present, ux requested: Present, execute: Install,
rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[0A84:33A4][2011-10-28T21:36:31]: Setting string variable
'WixBundleLog_Refresh_Environment.exe' to value
'C:\Users\MOTION~1\AppData\Local\Temp\ZigFu_Portal_Bundle_20111028213628_1_Refresh_Environment.exe.log'
[0A84:33A4][2011-10-28T21:36:31]: Setting string variable
'WixBundleRollbackLog_Refresh_Environment.exe' to value
'C:\Users\MOTION~1\AppData\Local\Temp\ZigFu_Portal_Bundle_20111028213628_1_Refresh_Environment.exe_rollback.log'
[0A84:33A4][2011-10-28T21:36:31]: Planned package: Refresh_Environment.exe,
state: Absent, default requested: Present, ux requested: Present, execute:
Install, rollback: Uninstall, cache: Yes, uncache: Yes, dependency: Register
[0A84:33A4][2011-10-28T21:36:31]: Plan complete, result: 0x0
[0A84:33A4][2011-10-28T21:36:31]: Apply begin
[0A84:33A4][2011-10-28T21:36:33]: Caching executable from:
'D:\work\git\Portal\Installer\Windows\PortalInstaller\bin\PortalWithOpenNI.exe'
to: 'C:\Users\MotionArcade\AppData\Local\Package
Cache\{e27b6e6f-1852-41cf-b179-8f25d4da94fa}\PortalWithOpenNI.exe'
[0A84:33A4][2011-10-28T21:36:33]: Registering bundle dependency key:
{e27b6e6f-1852-41cf-b179-8f25d4da94fa}, version 1.1.0.0
[0A84:2110][2011-10-28T21:36:33]: Moving payload from working path
'C:\Users\MOTION~1\AppData\Local\Temp\{e27b6e6f-1852-41cf-b179-8f25d4da94fa}\Portal.msi'
to path 'C:\Users\MotionArcade\AppData\Local\Package
Cache\{90929A50-93BE-476E-BD29-EE4B70BA5B77}v1.0.2.0\Portal.msi'
[1850:3760][2011-10-28T21:36:33]: Moving payload from working path
'C:\Users\MOTION~1\AppData\Local\Temp\{e27b6e6f-1852-41cf-b179-8f25d4da94fa}\Refresh_Environment.exe'
to path 'C:\ProgramData\Package
Cache\044C0949054737BF3AF01A521AD9D4EE51F7D59D\Refresh_Environment.exe'
[0A84:33A4][2011-10-28T21:36:33]: Applying package: Portal.msi, action:
Install, path: C:\Users\MotionArcade\AppData\Local\Package
Cache\{90929A50-93BE-476E-BD29-EE4B70BA5B77}v1.0.2.0\Portal.msi, arguments:
'(null)'
[1850:20F4][2011-10-28T21:36:34]: Applying package: Refresh_Environment.exe,
action: Install, path: C:\ProgramData\Package
Cache\044C0949054737BF3AF01A521AD9D4EE51F7D59D\Refresh_Environment.exe,
arguments: '"C:\ProgramData\Package
Cache\044C0949054737BF3AF01A521AD9D4EE51F7D59D\Refresh_Environment.exe"'
[0A84:33A4][2011-10-28T21:36:35]: Applying package:
{6b8f73cd-de04-4bdd-97d2-d122288b4b78}, action: Uninstall, path:
C:\Users\MotionArcade\AppData\Local\Package
Cache\{6b8f73cd-de04-4bdd-97d2-d122288b4b78}\PortalWithOpenNI.exe,
arguments: '"C:\Users\MotionArcade\AppData\Local\Package
Cache\{6b8f73cd-de04-4bdd-97d2-d122288b4b78}\PortalWithOpenNI.exe"
-uninstall -quiet -burn.related.upgrade'


I think it might be related to the fact that some of the MSIs may be
all-users, which might lead to some brokenness, however, I would have
thought that expected behavior would be to call the uninstall before calling
the install.

Also, I got an extra UAC dialog for the uninstall process (though that might
be because it has a somewhat older burn version).

Any ideas?

Thanks,
Roee
------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World™ now supports Android™ Apps 
for the BlackBerry® PlayBook™. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to