Thanks for the reply! I think I don't understand what the custom managed bootstrapper does automatically and what logic I as a developer need to add to it. Please have a quick look at my Bootstrapper application code and the logic for installing/uninstalling which I for now only put in code behind:
----------------"MyBa.cs"---------------------- using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Tools.WindowsInstallerXml.Bootstrapper; using System.Windows.Threading; using System.Windows; namespace MyBA { public class MyBA : BootstrapperApplication { // global dispatcher static public Dispatcher BootstrapperDispatcher { get; private set; } /// <summary> /// Thread entry point for WiX Toolset UX. /// </summary> protected override void Run() { this.Engine.Log(LogLevel.Verbose, "Running the WiX BA."); BootstrapperDispatcher = System.Windows.Threading.Dispatcher.CurrentDispatcher; MainWindow mv = new MainWindow(); mv.SetBootstrapper(this); mv.Closed += (sender, e) => BootstrapperDispatcher.InvokeShutdown(); mv.Show(); System.Windows.Threading.Dispatcher.Run(); this.Engine.Quit(0); } } } -------------------MainWindow.xaml.cs------------------------------------- using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; using Microsoft.Tools.WindowsInstallerXml.Bootstrapper; using System.ComponentModel; namespace MyBA { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window, INotifyPropertyChanged { public BootstrapperApplication BootstrapperApplication { get; set; } public MainWindow() { InitializeComponent(); } public void SetBootstrapper(BootstrapperApplication ba) { MessageBox.Show("Stop"); BootstrapperApplication = ba; // This is called when the bundle is detected BootstrapperApplication.DetectRelatedBundle += HandleExistingBundleDetected; // This is called when a package in the bundle is detected BootstrapperApplication.DetectPackageComplete += OnDetectPackageComplete; // This is called when a package in the bundle is detected BootstrapperApplication.DetectRelatedMsiPackage += HandleExistingPackageDetected; // This is called when a Feature in the bundle's packages is detected BootstrapperApplication.DetectMsiFeature += SetFeatureDetectedState; BootstrapperApplication.DetectComplete += DetectComplete; BootstrapperApplication.Engine.Detect(); } private void HandleExistingPackageDetected(object sender, DetectRelatedMsiPackageEventArgs e) { } private void HandleExistingBundleDetected(object sender, DetectRelatedBundleEventArgs e) { } /// <summary> /// when engine detects a package, populate the appropraite local objects, /// including current installed state of the package on the system /// </summary> private void OnDetectPackageComplete(object sender, DetectPackageCompleteEventArgs args) { } /// <summary> /// when engine detects a feature, populate the approprate local objects, /// including current installed state of the package on the system /// </summary> private void SetFeatureDetectedState(object sender, DetectMsiFeatureEventArgs args) { } // <summary> /// Once the engine completes the Detect phase, unregister event handlers, /// release the main thread and register the planning phase event handlers /// </summary> void DetectComplete(object sender, DetectCompleteEventArgs e) { Message = "Detect completed"; BootstrapperApplication.DetectPackageComplete -= OnDetectPackageComplete; BootstrapperApplication.DetectMsiFeature -= SetFeatureDetectedState; BootstrapperApplication.DetectComplete -= DetectComplete; //logic to continue here -- likely to allow user to select package state, etc, in the UI } private void Install_Click(object sender, RoutedEventArgs e) { Message = "Installing"; BootstrapperApplication.PlanPackageBegin += SetPackagePlannedState; BootstrapperApplication.PlanMsiFeature += SetFeaturePlannedState; BootstrapperApplication.PlanComplete += BootstrapperOnPlanComplete; BootstrapperApplication.Engine.Plan(LaunchAction.Install); } private void Uninstall_Click(object sender, RoutedEventArgs e) { Message = "Uninstalling"; BootstrapperApplication.PlanPackageBegin += SetPackagePlannedState; BootstrapperApplication.PlanMsiFeature += SetFeaturePlannedState; BootstrapperApplication.PlanComplete += BootstrapperOnPlanComplete; BootstrapperApplication.Engine.Plan(LaunchAction.Uninstall); } /// <summary> /// when engine plans action for a package, set the requested future state of /// the package based on what the user requested /// </summary> private void SetPackagePlannedState(object sender, PlanPackageBeginEventArgs planPackageBeginEventArgs) { } /// <summary> /// when engine plans action for a feature, set the requested future state of /// the package based on what the user requested /// </summary> private void SetFeaturePlannedState(object sender, PlanMsiFeatureEventArgs planMsiFeatureEventArgs) { } private void BootstrapperOnPlanComplete(object sender, PlanCompleteEventArgs args) { Message = "Plan completed"; BootstrapperApplication.PlanComplete -= BootstrapperOnPlanComplete; BootstrapperApplication.ApplyComplete += BootstrapperOnApplyComplete; BootstrapperApplication.Engine.Apply(IntPtr.Zero); } private void BootstrapperOnApplyComplete(object sender, ApplyCompleteEventArgs applyCompleteEventArgs) { Message = "Apply completed"; BootstrapperApplication.ApplyComplete -= BootstrapperOnApplyComplete; } string _message; public string Message { get { return _message; } set { _message = value; // Call OnPropertyChanged whenever the property is updated OnPropertyChanged("Message"); } } public event PropertyChangedEventHandler PropertyChanged; private bool doUninstallFirst; // Create the OnPropertyChanged method to raise the event protected void OnPropertyChanged(string name) { PropertyChangedEventHandler handler = PropertyChanged; if (handler != null) { handler(this, new PropertyChangedEventArgs(name)); } } } } And there are only two buttons in the view; an install button and an uninstall button. Now, this is what I have used with my tests. If I already have an installed bundle and try to increase the bundle major version and run the bootstrapper again the new version is installed side-by-side with the old version. Rob, from your last reply when you looked at the log files you said it should have planned an uninstall and not an install. I thought that if I did an install with a newer version the old version would automatically be uninstalled. Are you saying that I need to add this functionality to the bootstrapper myself? So that if a previous related bundle is detected I first need to plan for an uninstall of that bundle and when that uninstall is applied and completed I need to plan for an install of the new bundle? That does not happen automatically? Last question: When the install of the new bundle starts I said that a new bootstrapper popups and perform the install of the new bundle. Is this what happens when my BootstrapperApplication is configured as it is? I mean when it's set to show a window despite of the DisplayMode that is sent to it in the "Command.Display" parameter? Thanks for help! /Kristian 2013/2/15 Rob Mensching <r...@robmensching.com> > Your upgraded package: > > [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 > > Did an install: > > [191C:2664][2013-02-15T13:12:11]i200: Plan begin, 2 packages, action: > Install > > It should have planned an uninstall. > > > On Fri, Feb 15, 2013 at 4:19 AM, Kristian Jaksch > <kristian.jak...@gmail.com>wrote: > > > 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 > > > > > > ------------------------------------------------------------------------------ > 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 > ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users