[wix-users] Weird chained EXE behaviour

Hoover, Jacob Jacob.Hoover at greenheck.com
Wed Sep 6 09:23:20 PDT 2017

“an EXE to install the certificate and finish configuration”

Is this a custom exe you wrote? Your bundle log will show you what the bundle is doing, but if the fault is inside this custom exe, you will have to rely on it for any logs to see what the actual error is. Note, the bundle will be running this exe elevated if the bundle is per-machine, which may be the difference between being in the chain verses you running it manually after the fact.

Are you including the exe twice in the bundle? Bundle authoring and logs would help further diagnose.

From: Alex Tuppen [mailto:alex.tuppen at gmail.com]
Sent: Wednesday, September 6, 2017 11:04 AM
To: Hoover, Jacob <Jacob.Hoover at greenheck.com>; WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Weird chained EXE behaviour

I have done that, it just says that the parameters passed are not allowed, but they work fine from the other part of the chain and when run outside the bundle. I appreciate that I am clutching at straws but as I have nothing to go on I also have nothing to lose by asking just in case someone has an idea.

The only thing that I have seen in the bundle's log is that it never says that it has applied the EXE during the application stage, but I know it runs because I can see it generate logs.


On Wed, 6 Sep 2017 at 16:54 Hoover, Jacob <Jacob.Hoover at greenheck.com<mailto:Jacob.Hoover at greenheck.com>> wrote:
"Bombs out" isn't very descriptive.  I'd suggest looking at the logs of the exe installer (or enable verbose logging if the exe supports it) and then look at the actual log to root cause the problem.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org<mailto:wix-users-bounces at lists.wixtoolset.org>] On Behalf Of Alex Tuppen via wix-users
Sent: Wednesday, September 6, 2017 10:47 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
Cc: Alex Tuppen <alex.tuppen at gmail.com<mailto:alex.tuppen at gmail.com>>
Subject: [wix-users] Weird chained EXE behaviour


I am having some trouble with an EXE in a chain, I have a custom bootstrapper which installs different things from the chain based on user input. Specifically it installs Microsoft Operations Manager Agent or Microsoft Operations Manager Gateway, then runs some MSIs to configure them and then an EXE to install the certificate and finish configuration. The EXE is behaving strangely though, if I run it after installing the agent it works fine, if I run it after installing the gateway however it bombs out.
I am using exactly the same chain entry for both instances and nothing is changing and the EXE behaves correctly outside the bundle.

Does anyone know of anything in a WiX bundle, with a custom bootstrapper, which would cause an exe to behave like this?

Kind regards,


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

More information about the wix-users mailing list