I have built a setup project for deploying my windows forms app. I want to take all of the files that are needed to deploy (setup.exe, whatever.msi, & prerequisites) and package them in a single self extracting archive.
Ideally the user would run this exe, it would extract files to temp directory, run setup.exe, and delete the files afterwards.
I thought I had this with WinRar, but after setup starts it complains that the msi file is missing. Winrar is deleting the temp directory before I want it to.
Can I make winrar wait before deleting the temp files? Is there another utility I can use? Is there something VS will do for me?