PDA

View Full Version : Wap an exe and leave no install trace



amlederer
05-14-2018, 09:14 AM
I have a software package that I need to wrap in an msi. The package consists of an exe, cert, and a few settings files. I would like to wrap this inside a msi (to be used by Intune). I would like the msi to not actually leave any traces on the pc, but just run the exe and let the exe do all the work. Any advice?

Jenifer
05-17-2018, 08:02 AM
Hi amlederer,


I don't think you can embed/stream exe into msi package.By design Microsoft doesn't support that,you can go for suite package type for this requirement.Where you can embed exe\msi\appx\installscript package into single suite package,silent commandlines are there for suite packages.
You can silently make suite to execute exe embedded inside by mentioning package level command-line.It won't leave any trace other than few caching stuff.




Thanks,
Jenifer

sdnelson
06-09-2018, 09:28 PM
This can be done. First add the exe to the Support Files.
Then go to the Custom Actions view and create a new custom action to run the exe.
Then go to Sequences > User Interface and remove all of the dialogs.

When you run the msi, it will just run the exe, and the msi will not be installed as long as you don't add any components to the project.