views:

1300

answers:

4

I'm using visual studio 2005 Setup project to create an installer for my application. The outputs of the setup projects are: - Setup.exe (a bootstrapper which makes installed .Net framework if it doesn't exist) - .Net framework folder (for installation by the .exe above) - .msi installation for my project (called by the setup.exe)

My question is:

Is there any way I can have a single .exe (or msi) installation which makes the entire installation (and encapsulates all the functionallity menationed above) ?

+3  A: 

It seams that the Visual Studio installer doen't let you create a single installation file.

I finally decided to use Win-Zip self extractor to create a single installation file which extract all of the above files and run the setup.exe

this is what I did as well.
Neil N
A: 

SFX Compiler is a free program that will create self extracting .exe files for you.

Spidey
That link leads to an advertising page..
sascha
I think the domain's expired. Try http://www.softpedia.com/get/Compression-tools/SFX-Compiler.shtml
Spidey
A: 

Use Wix

Nick
WiX doesn't help with this problem, this is a bootstrapper/SFX issue.
sascha
You are right I did not notice that he had a .Net deployment thing going on. I had the same issue. I plan to write a blog post on a clean way to do it. Let me know if you still need an answer
Nick
+1  A: 

I'm currently using visual studio standard setup and then combining the exe and msi with Make SFX since it supports command line (for automatic builds) and is free.

loraderon