How can I check for prerequisites and install them without actually installing my application?
Posted on 2011-04-29
I need some help to understand how I can check for prerequisites, specifically .NET Framework, and install them without actually installing my application but only running it. At the present I am taking the EXE from the debug\bin folder. I know I could add a setup project to my application but it also wants to actually install it into the Program Files folder and places it in the Add/Remove Programs.
My application is not a program that will be run over and over by the user. It has another program and a service embedded within the EXE that it needs to install for the user and then the user can delete my EXE.
The ClickOnce feature in the Setup project is great except it then wants to go on and install my windows application as a program as mentioned above and this is what I would like to avoid so the user' Program Files folder is not cluttered by the unnecessary program.
Thanks in advance for you help!