[WiX-users] Bootstrapper Modify Setup

2014-09-19 Thread newuser2014
Hi,
I've modified my Bootstrapper theme in order to support installing multiple
msi during the installation process based on user selection as follows:

Chain
  PackageGroupRef Id=NetFx40Redist/
  PackageGroupRef Id=CrystalReport/
  MsiPackage DisplayInternalUI=yes
SourceFile=..\bin\$(var.Configuration)\en-us\App1.msi
InstallCondition=App1=1/
  MsiPackage DisplayInternalUI=yes
SourceFile=..\bin\$(var.Configuration)\en-us\App2.msi
InstallCondition=App2=1/
  MsiPackage DisplayInternalUI=yes
SourceFile=..\bin\$(var.Configuration)\en-us\App3.msi
InstallCondition=App3=1/
  MsiPackage DisplayInternalUI=yes
SourceFile=..\bin\$(var.Configuration)\en-us\App4.msi
InstallCondition=App4=1/
/Chain

When the user double clicks on the bootstrapper msi, is there a way for me
to detect which msi has been installed and let the user pick which ones to
uninstall?  Would the uninstall process follow the steps in the Chain
element?



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Bootstrapper-Modify-Setup-tp7596927.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Bootstrapper Modify Setup

2014-09-19 Thread Phill Hogland
The Chain is evaluated from top to bottom when doing an 'Install', and in
reverse order (from bottom to top) when doing an uninstall.  Typically I
just let Burn manage these details.

Yes you can create a custom BA (or with WixStdBA use a BAFunctions.dll) and
override the various Plan (and other event handlers).

I found this blog to be helpful (whether I planed to do an mba or not, in
addition to the info in your chm).
http://www.wrightfully.com/part-1-of-writing-your-own-net-based-installer-with-wix-overview/

Also your bundle.exe creates a log, typically in your %temp% folder.  In
looking at that file, particularly with MSI verbose logging enabled, you
will see the information about what has been planned, why, and the sequence.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Bootstrapper-Modify-Setup-tp7596927p7596930.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users