I don't have my packages on this system, so I can't look to see how I have it working, but I believe you'd use a <Binary /> to reference the executable, then a CustomAction with "BinaryKey" and "ExeCommand" attributes to run it, and let Windows Installer take care of the temporary nature of it.
Since the <Binary ... /> doesn't have a directory for you to put the file in, it can't put it on the system. I suppose it might put it on the system somewhere, so if your requirement is that the exe isn't hanging around in a temporary folder somewhere, you would need to follow up on exactly how it works. Someone much more WiX-knowledgeable than I will no doubt chime in, but I didn't know how soon you were in need of at least a shove in the right direction. On Tue, Jun 3, 2014 at 7:02 PM, Shane Corbin <shane_cor...@selinc.com> wrote: > I have an exe that I'd like the MSI to execute as part of the installation > process. The exe does not need to remain on the system when installation > is > complete. > > This has to be a common thing to do. What is the common way to approach > this? > > My original thought was to: > 1) Copy the exe to [TempFolder] > 2) use CAQuietExec to run the exe from [TempFolder] > 3) use CAQuietExec to delete the exe from [TempFolder] > > What's the appropriate way to approach this? > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Options-to-run-temporary-exe-during-install-tp7595004.html > Sent from the wix-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users