1

How to build the setup similar to microsoft's dotnet 3.5 which is SFX self executing setup.

So which will have the company information, and version info, etc of the project's setup.exe into the final sfx file.

Also this question on SO is suggests using IExpress but the file information is not what my project is having in setup.exe.

If there is some in-built solution in .NET Framework, I would like to use that first.

Also you can suggest other approach if creating self-executing SFX setup is not possible in .NET Framework.

Main purpose is having self-executing SFX file with file information defined by me only.

Thanks

Community
  • 1
  • 1
Harsh Baid
  • 7,199
  • 5
  • 48
  • 92
  • Add a Setup and Deployment project to your solution. – Hans Passant Oct 06 '11 at 13:45
  • @hanspassant I have the msi file and setup.exe and I want to create one file which would extract it self and run setup.exe and that single should have file details as setup.exe has in its file properties. – Harsh Baid Oct 06 '11 at 14:32
  • I have checked the dotnet setup from microsoft, its file properties > Archive tab, mentions 7-zip sfx. – Harsh Baid Oct 06 '11 at 14:34

1 Answers1

1

This is done with a custom EXE bootstrapper. There is no built-in support for it.

Most commercial setup authoring tools offer this feature even in their most basic versions. If you don't want a different setup authoring tool, you will need to write the bootstrapper yourself or use something like IExpress.

Cosmin
  • 21,216
  • 5
  • 45
  • 60
  • Can u provide some implementations details or links.. For what u mean to say.. And free tool is more prefable. – Harsh Baid Oct 07 '11 at 15:18
  • I'm not sure what details I could offer. Like I mentioned, it's a custom EXE. You write it and it does whatever you want it to do. – Cosmin Oct 07 '11 at 17:21
  • I got what you meant, create custom installer for various purpose as I need, thanx for helping and guiding.. :D – Harsh Baid Oct 10 '11 at 18:53