[wix-users] Running .bat files in bundle

Winter,Stijn S. de stijn.dewinter at student.fontys.nl
Wed Mar 9 23:59:10 PST 2016

Hello all,

Well the bat files run many installations.
I think i will call every installation inside the bundle, with msipackage and exepackage.
This is a lot of work for now but will be better manageable later on i guess.

The bat files that configure and register things i can call using the cmd /c install command:
<ExePackage Id="batfile" InstallCommand="cmd /c" DisplayName="batfile" SourceFile="C:\install\bat\batfile.bat" />

Stijn de Winter
Van: wix-users <wix-users-bounces at lists.wixtoolset.org> namens Hoover, Jacob <Jacob.Hoover at greenheck.com>
Verzonden: woensdag 9 maart 2016 18:39
Aan: WiX Toolset Users Mailing List
Onderwerp: Re: [wix-users] Running .bat files in bundle

Batch files are not transactional.... The right question is: what are the batch files doing? Could they not be configured as a custom action late in the install execute sequence?  If not, you could have them as a second MSI with custom actions that you schedule later in the chain.  The bigger issue is can you support rollbacks for this custom logic?

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Winter,Stijn S. de
Sent: Wednesday, March 09, 2016 7:12 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: [wix-users] Running .bat files in bundle

Hello all,

I have a bunch of .bat files which have to be run after the main install.

The .bat files run msi, exe, and bat files.

Because of the msi files the bat files cannot be run during the main install.

Is there a way to run them in a bundle??


Stijn de Winter

Op deze e-mail zijn de volgende voorwaarden van toepassing:
The above disclaimer applies to this e-mail message.

WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

More information about the wix-users mailing list