[wix-users] WiX Bundle upgrade or install new to run side by side

Harinatha Narisetty harinatha.narisetty at us.abb.com
Tue Jan 31 13:54:39 PST 2017


Hi,
I have a wix bundle with custom bootstrapper (and several screens) that installs a MSI package. For upgrades, I want to provide an option for user to choose either update the existing version (merge config files) or install as new version. I am not sure how to achieve this. Here are my bundle and prouct wxs files.


Bundle Name='My company software $(var.ShortVersionNumber)'
      Manufacturer='my company(r)'
      Version='$(var.FullVersionNumber)'
      UpgradeCode='D414EA8E-A3BF-44E1-B362-91E34074B55B'
      Compressed='yes'
      Copyright='(c) 2015 mycomapny(r) - All rights reserved'
      AboutUrl='http://www.mycompany.com'
      HelpUrl='http://www.mycompany.com/support'
      IconSourceFile='..\..\abc.ico'
      SplashScreenSourceFile='Splash.bmp'>

all other nodes...
<MsiPackage Id='application' SourceFile='..\Output\en-us\Client.msi'
              DisplayInternalUI='no' Visible='no' Permanent='no' Compressed='yes' Vital='yes'>




The Product.wxs file is

<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi' ....           >

  <Product Id='*'

       Name='My Company software $(var.ShortVersionNumber)'

       Manufacturer='MyCompany(r)'

       Version='$(var.FullVersionNumber)'

       Language='1033'

       Codepage='65000'

       UpgradeCode='0D126835-8687-4A37-ADB1-EAF28724FFE4'>



I have all the events subscribed in my c# code.

Please give me some direction on how to achieve this.



Thanks
Hari


More information about the wix-users mailing list