GenerateBootstrapper fails to create a working setup.exe

Posted by Darren on Stack Overflow See other posts from Stack Overflow or by Darren
Published on 2010-04-30T04:54:39Z Indexed on 2010/04/30 4:57 UTC
Read the original article Hit count: 268

Filed under:
|

I’m seeing some odd behaviour I can’t explain.

I'm using wix to generate a msi and using the msbuild GenerateBootstrapper task to handle pre-requisites. It all seems to build correctly i.e. there are no error or warnings but the generated setup.exe won’t run. It gives a nice blank error dialog and the event log gives about the same information.

The kicker is that if I drop to the command line and run msbuild manually on the project and specify the bootstrapper target it generates a correct and working setup.exe.

I've used this wix article as a base and a number of questions on StackOverflow to no avail. Has anyone seen this behaviour before, better still a fix?

© Stack Overflow or respective owner

Related posts about wix

Related posts about installer