Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Single exe with prerequsites
 

Single exe with prerequsites

Hello,

May i know is it possible to create setup of a project in single exe file with 3.5 framework and windows installer 3.1

That is now framework and windows installer comes in same folder, but i need to make it a a single file(exe)

How can implement this

Thanks
Vineeth
Vineeth Paliath  Wednesday, August 26, 2009 4:59 PM
Hi Vineeth Paliath,

Visual Studio cannot package all these files into just one exe file. But you can do this with a third-part software.

First you need to select "Download prerequisites from the same location as my application". So Visual Studio will bring all the prerequisites into the setup.exe folder.

After you build your setup project, you will set setup.exe *.msi and all the prerequisites package in the folder. Then you can use WinRAR to do the following work. Please look at the following step.
http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/8678b938-7148-4e5b-b437-d71f33b446f9

The self extract feature is the one can help us do the job. It package all the files into just one EXE, once you click it, it will extract and run the setup.exe after extracted.

If you have any problem with this, please feel free to tell me.

Sincerely,
Kira Qian
Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Friday, August 28, 2009 3:31 AM
Hi Vineeth Paliath,

Visual Studio cannot package all these files into just one exe file. But you can do this with a third-part software.

First you need to select "Download prerequisites from the same location as my application". So Visual Studio will bring all the prerequisites into the setup.exe folder.

After you build your setup project, you will set setup.exe *.msi and all the prerequisites package in the folder. Then you can use WinRAR to do the following work. Please look at the following step.
http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/8678b938-7148-4e5b-b437-d71f33b446f9

The self extract feature is the one can help us do the job. It package all the files into just one EXE, once you click it, it will extract and run the setup.exe after extracted.

If you have any problem with this, please feel free to tell me.

Sincerely,
Kira Qian
Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Friday, August 28, 2009 3:31 AM
Thanks

Vineeth
Vineeth Paliath  Monday, August 31, 2009 6:29 AM

You can use google to search for other answers

Custom Search

More Threads

• ClickOnce Bootstrapper Incompatible with UAC?!
• Moving ClickOnce Deployment Location
• Publishing a C#.NET project.
• Getting the value from the custom dialogues in setup projects
• Framewok v2 WinForms setup project with VS2008
• Publish, old name remains after program name change
• How to activate User Interface after installation?
• Source Files after ClickOnce Install
• repair install (event id 1001 and 1004) - whats causing this in my case?
• Change working directory for a custom action