Take a look at putting them all in one transaction using MsiBeginTransaction() 
and MsiEndTransaction(). You'll need MSI 4.5 though. I've done this and it 
seems to work well, although I haven't dealt with any exceptional issues like 
reboots in the middle. 

Phil Wilson 

-----Original Message-----
From: puyo puy [mailto:puyo...@yahoo.com] 
Sent: Tuesday, July 27, 2010 7:07 AM
To: wix users
Subject: [WiX-users] How to create bootstrapper to deploy more than one MSI 
installer

Hi everyone,

I'm looking for MSBuild scripts to create a bootstrapper  file to deploy 3 
custom MSI installers,  if any of these installers failed, I have to rollback 
all these changes.  

For example:
I have to deploy App1.msi, App2.msi and App3.msi, the bootstrapper will check 
for .Net 3.5 as pre-requisites.  If App1 and App2 installed successfully but 
App3 failed, I have to rollback all files installed by App1 and App2.  

After I spend few hours on the internet, I can only find information how to 
check pre-requisites and deploy one product.  

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
  <ItemGroup>
    <BootstrapperFile Include="Microsoft.Net.Framework.3.5">
      <ProductName>Microsoft .NET Framework 3.5</ProductName>
    </BootstrapperFile>
  </ItemGroup>

  <Target Name="Bootstrapper">
    <GenerateBootstrapper
      ApplicationFile="WixBootstrapSample.msi"
      ApplicationName="Wix Sample"
      BootstrapperItems="@(BootstrapperFile)"
      OutputPath=".\"
      ComponentsLocation="HomeSite"
      Culture="en"
    />
  </Target>
</Project>

Can anyone give me some hints how to deploy 3 installers and rollback the 
changes if any of those installer failed? 

Thanks in advance




      
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at Portland House, Bressenden Place, London, 
SW1E 5BF (Registered number 166023). For a list of European legal entities 
within the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. 
You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail 
inet.hqhelpd...@invensys.com. This e-mail and any attachments thereto may be 
subject to the terms of any agreements between Invensys (and/or its 
subsidiaries and affiliates) and the recipient (and/or its subsidiaries and 
affiliates).



------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to