Yes, it seems the bundles are detecting each other. There are 2 log files when trying to do an upgrade (actually 3 if you count the log file for the *.msi file also).
The first log file (111BootstrapperSetup_20130215131202): [0044:18DC][2013-02-15T13:12:02]i001: Burn v3.7.1224.0, Windows v6.2 (Build 9200: Service Pack 0), path: C:\Users\Kristian\Documents\Visual Studio 2010\Projects\MyInstaller\BootstrapperSetup\bin\Debug\BootstrapperSetup.exe, cmdline: '' [0044:18DC][2013-02-15T13:12:02]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\Kristian\AppData\Local\Temp\111BootstrapperSetup_20130215131202.log' [0044:18DC][2013-02-15T13:12:02]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\Kristian\Documents\Visual Studio 2010\Projects\MyInstaller\BootstrapperSetup\bin\Debug\BootstrapperSetup.exe' [0044:18DC][2013-02-15T13:12:02]i000: Setting string variable 'WixBundleName' to value '111BootstrapperSetup' [0044:18DC][2013-02-15T13:12:02]i000: Loading managed bootstrapper application. [0044:18DC][2013-02-15T13:12:02]i000: Creating BA thread to run asynchronously. [0044:1F90][2013-02-15T13:12:02]i000: Running the WiX BA. [0044:18DC][2013-02-15T13:12:03]i100: Detect begin, 2 packages [0044:18DC][2013-02-15T13:12:03]i000: Setting string variable 'Netfx4x64FullVersion' to value '4.5.50709' [0044:18DC][2013-02-15T13:12:03]i000: Setting string variable 'Netfx4FullVersion' to value '4.5.50709' [0044:18DC][2013-02-15T13:12:03]i102: Detected related bundle: {23bfee33-60bc-452e-88f7-41dee844d1f1}, type: Upgrade, scope: PerMachine, version: 9.0.0.0, operation: MajorUpgrade [0044:18DC][2013-02-15T13:12:03]i052: Condition 'Netfx4FullVersion AND (NOT VersionNT64 OR Netfx4x64FullVersion)' evaluates to true. [0044:18DC][2013-02-15T13:12:03]i101: Detected package: Netfx4Full, state: Present, cached: None [0044:18DC][2013-02-15T13:12:03]i101: Detected package: MyInstaller.msi, state: Absent, cached: None [0044:18DC][2013-02-15T13:12:03]i199: Detect complete, result: 0x0 [0044:18DC][2013-02-15T13:12:06]i200: Plan begin, 2 packages, action: Install [0044:18DC][2013-02-15T13:12:06]w321: Skipping dependency registration on package with no dependency providers: Netfx4Full [0044:18DC][2013-02-15T13:12:06]i000: Setting string variable 'WixBundleRollbackLog_MyInstaller.msi' to value 'C:\Users\Kristian\AppData\Local\Temp\111BootstrapperSetup_20130215131202_0_MyInstaller.msi_rollback.log' [0044:18DC][2013-02-15T13:12:06]i000: Setting string variable 'WixBundleLog_MyInstaller.msi' to value 'C:\Users\Kristian\AppData\Local\Temp\111BootstrapperSetup_20130215131202_0_MyInstaller.msi.log' [0044:18DC][2013-02-15T13:12:06]i201: Planned package: Netfx4Full, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None [0044:18DC][2013-02-15T13:12:06]i201: Planned package: MyInstaller.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register [0044:18DC][2013-02-15T13:12:06]i207: Planned related bundle: {23bfee33-60bc-452e-88f7-41dee844d1f1}, type: Upgrade, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, dependency: None [0044:18DC][2013-02-15T13:12:06]i299: Plan complete, result: 0x0 [0044:18DC][2013-02-15T13:12:06]i300: Apply begin [163C:25D8][2013-02-15T13:12:08]i360: Creating a system restore point. [163C:25D8][2013-02-15T13:12:08]i361: Created a system restore point. [163C:25D8][2013-02-15T13:12:08]i000: Caching bundle from: 'C:\Users\Kristian\AppData\Local\Temp\{f0ca62cb-0d4d-433d-ac45-f00990920012}\.be\BootstrapperSetup.exe' to: 'C:\ProgramData\Package Cache\{f0ca62cb-0d4d-433d-ac45-f00990920012}\BootstrapperSetup.exe' [163C:25D8][2013-02-15T13:12:08]i320: Registering bundle dependency provider: {f0ca62cb-0d4d-433d-ac45-f00990920012}, version: 10.0.0.0 [163C:2010][2013-02-15T13:12:08]i305: Verified acquired payload: MyInstaller.msi at path: C:\ProgramData\Package Cache\.unverified\MyInstaller.msi, moving to: C:\ProgramData\Package Cache\{6EE95C5C-FEB2-40EB-9937-F32BB9EAF0B1}v1.0.0.0\MyInstaller.msi. [163C:2010][2013-02-15T13:12:08]i305: Verified acquired payload: cab9CBFBD5A0769A130F4A3F50014DDA895 at path: C:\ProgramData\Package Cache\.unverified\cab9CBFBD5A0769A130F4A3F50014DDA895, moving to: C:\ProgramData\Package Cache\{6EE95C5C-FEB2-40EB-9937-F32BB9EAF0B1}v1.0.0.0\cab1.cab. [163C:25D8][2013-02-15T13:12:08]i323: Registering package dependency provider: {6EE95C5C-FEB2-40EB-9937-F32BB9EAF0B1}, version: 1.0.0.0, package: MyInstaller.msi [163C:25D8][2013-02-15T13:12:08]i301: Applying execute package: MyInstaller.msi, action: Install, path: C:\ProgramData\Package Cache\{6EE95C5C-FEB2-40EB-9937-F32BB9EAF0B1}v1.0.0.0\MyInstaller.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7"' [0044:18DC][2013-02-15T13:12:08]i319: Applied execute package: MyInstaller.msi, result: 0x0, restart: None [163C:25D8][2013-02-15T13:12:08]i325: Registering dependency: {f0ca62cb-0d4d-433d-ac45-f00990920012} on package provider: {6EE95C5C-FEB2-40EB-9937-F32BB9EAF0B1}, package: MyInstaller.msi [163C:25D8][2013-02-15T13:12:08]i301: Applying execute package: {23bfee33-60bc-452e-88f7-41dee844d1f1}, action: Uninstall, path: C:\ProgramData\Package Cache\{23bfee33-60bc-452e-88f7-41dee844d1f1}\BootstrapperSetup.exe, arguments: '"C:\ProgramData\Package Cache\{23bfee33-60bc-452e-88f7-41dee844d1f1}\BootstrapperSetup.exe" -uninstall -quiet -burn.related.upgrade' [0044:18DC][2013-02-15T13:12:13]i319: Applied execute package: {23bfee33-60bc-452e-88f7-41dee844d1f1}, result: 0x0, restart: None [0044:18DC][2013-02-15T13:12:13]i399: Apply complete, result: 0x0, restart: None, ba requested restart: No [0044:18DC][2013-02-15T13:12:14]i500: Shutting down, exit code: 0x0 [0044:18DC][2013-02-15T13:12:14]i410: Variable: Netfx4FullVersion = 4.5.50709 [0044:18DC][2013-02-15T13:12:14]i410: Variable: Netfx4x64FullVersion = 4.5.50709 [0044:18DC][2013-02-15T13:12:14]i410: Variable: VersionNT64 = 6.2.0.0 [0044:18DC][2013-02-15T13:12:14]i410: Variable: WixBundleAction = 4 [0044:18DC][2013-02-15T13:12:14]i410: Variable: WixBundleElevated = 1 [0044:18DC][2013-02-15T13:12:14]i410: Variable: WixBundleLog = C:\Users\Kristian\AppData\Local\Temp\111BootstrapperSetup_20130215131202.log [0044:18DC][2013-02-15T13:12:14]i410: Variable: WixBundleLog_MyInstaller.msi = C:\Users\Kristian\AppData\Local\Temp\111BootstrapperSetup_20130215131202_0_MyInstaller.msi.log [0044:18DC][2013-02-15T13:12:14]i410: Variable: WixBundleManufacturer = 111 Inc [0044:18DC][2013-02-15T13:12:14]i410: Variable: WixBundleName = 111BootstrapperSetup [0044:18DC][2013-02-15T13:12:14]i410: Variable: WixBundleOriginalSource = C:\Users\Kristian\Documents\Visual Studio 2010\Projects\MyInstaller\BootstrapperSetup\bin\Debug\BootstrapperSetup.exe [0044:18DC][2013-02-15T13:12:14]i410: Variable: WixBundleProviderKey = {f0ca62cb-0d4d-433d-ac45-f00990920012} [0044:18DC][2013-02-15T13:12:14]i410: Variable: WixBundleRollbackLog_MyInstaller.msi = C:\Users\Kristian\AppData\Local\Temp\111BootstrapperSetup_20130215131202_0_MyInstaller.msi_rollback.log [0044:18DC][2013-02-15T13:12:14]i410: Variable: WixBundleTag = [0044:18DC][2013-02-15T13:12:14]i410: Variable: WixBundleVersion = 10.0.0.0 [0044:18DC][2013-02-15T13:12:14]i007: Exit code: 0x0, restarting: No The second log file (111BootstrapperSetup_20130215131209.log). I guess this is the one created when the first bootstrapper launches the new bootstrapper: [191C:2664][2013-02-15T13:12:08]i001: Burn v3.7.1224.0, Windows v6.2 (Build 9200: Service Pack 0), path: C:\ProgramData\Package Cache\{23bfee33-60bc-452e-88f7-41dee844d1f1}\BootstrapperSetup.exe, cmdline: '-uninstall -quiet -burn.related.upgrade -burn.embedded BurnPipe.{6473715C-0FC2-43CA-BD20-1068BDE4BD3C} {6617F26F-F534-42D4-A227-DB38546058FA} 5692 -burn.unelevated BurnPipe.{FA2BF5E8-9009-425A-A08A-192307E7728D} {61E1AB10-3340-4E52-A587-A2E129DEE237} 3280' [191C:2664][2013-02-15T13:12:08]i003: This bundle is being run by a related bundle as type 'Upgrade'. [191C:2664][2013-02-15T13:12:09]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\Kristian\AppData\Local\Temp\111BootstrapperSetup_20130215131209.log' [191C:2664][2013-02-15T13:12:09]i000: Loading managed bootstrapper application. [191C:2664][2013-02-15T13:12:09]i000: Creating BA thread to run asynchronously. [191C:1390][2013-02-15T13:12:09]i000: Running the WiX BA. [191C:2664][2013-02-15T13:12:10]i100: Detect begin, 2 packages [191C:2664][2013-02-15T13:12:10]i000: Setting string variable 'Netfx4x64FullVersion' to value '4.5.50709' [191C:2664][2013-02-15T13:12:10]i000: Setting string variable 'Netfx4FullVersion' to value '4.5.50709' [191C:2664][2013-02-15T13:12:10]i102: Detected related bundle: {f0ca62cb-0d4d-433d-ac45-f00990920012}, type: Upgrade, scope: PerMachine, version: 10.0.0.0, operation: None [191C:2664][2013-02-15T13:12:10]i052: Condition 'Netfx4FullVersion AND (NOT VersionNT64 OR Netfx4x64FullVersion)' evaluates to true. [191C:2664][2013-02-15T13:12:10]i101: Detected package: Netfx4Full, state: Present, cached: None [191C:2664][2013-02-15T13:12:10]i101: Detected package: MyInstaller.msi, state: Present, cached: Complete [191C:2664][2013-02-15T13:12:10]i199: Detect complete, result: 0x0 [191C:2664][2013-02-15T13:12:11]i200: Plan begin, 2 packages, action: Install [191C:2664][2013-02-15T13:12:11]w321: Skipping dependency registration on package with no dependency providers: Netfx4Full [191C:2664][2013-02-15T13:12:11]i201: Planned package: Netfx4Full, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None [191C:2664][2013-02-15T13:12:11]i201: Planned package: MyInstaller.msi, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: Register [191C:2664][2013-02-15T13:12:11]i207: Planned related bundle: {f0ca62cb-0d4d-433d-ac45-f00990920012}, type: Upgrade, default requested: None, ba requested: None, execute: None, rollback: None, dependency: None [191C:2664][2013-02-15T13:12:11]i299: Plan complete, result: 0x0 [191C:2664][2013-02-15T13:12:11]i300: Apply begin [0CD0:2534][2013-02-15T13:12:11]i360: Creating a system restore point. [0CD0:2534][2013-02-15T13:12:11]i361: Created a system restore point. [0CD0:2534][2013-02-15T13:12:11]i323: Registering package dependency provider: {CC281D65-1691-4AA8-9CF5-7214C9BDAA8E}, version: 1.0.0.0, package: MyInstaller.msi [0CD0:2534][2013-02-15T13:12:11]i325: Registering dependency: {23bfee33-60bc-452e-88f7-41dee844d1f1} on package provider: {CC281D65-1691-4AA8-9CF5-7214C9BDAA8E}, package: MyInstaller.msi [191C:2664][2013-02-15T13:12:11]i399: Apply complete, result: 0x0, restart: None, ba requested restart: No [191C:2664][2013-02-15T13:12:13]i500: Shutting down, exit code: 0x0 [191C:2664][2013-02-15T13:12:13]i410: Variable: Netfx4FullVersion = 4.5.50709 [191C:2664][2013-02-15T13:12:13]i410: Variable: Netfx4x64FullVersion = 4.5.50709 [191C:2664][2013-02-15T13:12:13]i410: Variable: VersionNT64 = 6.2.0.0 [191C:2664][2013-02-15T13:12:13]i410: Variable: WixBundleAction = 4 [191C:2664][2013-02-15T13:12:13]i410: Variable: WixBundleElevated = 1 [191C:2664][2013-02-15T13:12:13]i410: Variable: WixBundleInstalled = 1 [191C:2664][2013-02-15T13:12:13]i410: Variable: WixBundleLog = C:\Users\Kristian\AppData\Local\Temp\111BootstrapperSetup_20130215131209.log [191C:2664][2013-02-15T13:12:13]i410: Variable: WixBundleManufacturer = 111 Inc [191C:2664][2013-02-15T13:12:13]i410: Variable: WixBundleName = 111BootstrapperSetup [191C:2664][2013-02-15T13:12:13]i410: Variable: WixBundleOriginalSource = C:\Users\Kristian\Documents\Visual Studio 2010\Projects\MyInstaller\BootstrapperSetup\bin\Debug\BootstrapperSetup.exe [191C:2664][2013-02-15T13:12:13]i410: Variable: WixBundleProviderKey = {23bfee33-60bc-452e-88f7-41dee844d1f1} [191C:2664][2013-02-15T13:12:13]i410: Variable: WixBundleTag = [191C:2664][2013-02-15T13:12:13]i410: Variable: WixBundleVersion = 9.0.0.0 [191C:2664][2013-02-15T13:12:13]i007: Exit code: 0x0, restarting: No Does this say anything why the bundles are installed side by side? I also added a "RelatedBundle" tag in my bundle but that didn't help. Thanks /Kristian 2013/2/14 Rob Mensching <r...@robmensching.com> > Take a look at the Burn log file and see if the related bundles are finding > each other. You should see stuff in the log file saying the new bundle is > upgrading the old bundle. > > > On Mon, Feb 4, 2013 at 12:06 PM, Kristian Jaksch > <kristian.jak...@gmail.com>wrote: > > > Hello, > > > > I'm still struggling with the custom managed bootstrapper application. > I've > > built a sample from scratch by looking at some other examples but I'm > still > > having issues with getting it to work as I want. It is the same problem > > I've had before: > > > > If I first build the bootstrapper and install it everything works as > > expected. The bundle is added to ARP. But if I change version of the > bundle > > to something higher, for example from 1.0.0.0 to 2.0.0.0 and rebuild and > > try to install again it does not work as expected. What happens when I'm > > trying to install again is that a new bootstrapper window is launched > when > > calling Engine.Apply(IntPtr.Zero) and if I click install in that window > the > > new version is installed side by side with the previous version in ARP. > > What I expect to happen is that if I already have a previous version > > installed and then install a new version, the new version will replace > the > > old version in ARP and there should be no second installer window popping > > up when trying to install the new version. Can anyone explain why this is > > happening? > > > > This time I've put together a sample application containing the minimum > to > > perform an installation. The source is available here: > > > > > > > https://docs.google.com/file/d/0B71bOgcmv_iwcmlwUGlPaFlWQU0/edit?usp=sharing > > > > If someone could have a look at why this doesn't behave as expected I > would > > really appreciate it! > > > > Thanks for help! > > > > /Kristian > > > > > ------------------------------------------------------------------------------ > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics > > Download AppDynamics Lite for free today: > > http://p.sf.net/sfu/appdyn_d2d_jan > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users