How can the setup files and prerequisite files from a vs2010 setup project be merged together?
..in my release directory there are 3 files:
setup.exe
Setup1.msi
DotNetFX40Client/dotNetFx40_Client_x86_x64.exe
and I need these files to be in one simple setup file.
I tried using IExpress tool from windows but it doesn’t work because “dotNetFx40_Client_x86_x64.exe” is inside a directory, and the tool does not support it.
Is there any way to make setup.exe look for the .net framework prerequisite in the root folder
so I can use the IExpress tool??And if not, is there any other way to merge these files into a single installer?
Thanks in advance!!
Cheers!
Make use of the NSIS installer – you may find it here, there’s tutorials to be a plenty from here. Here’s an example of the syntax adopted to your usage scenario:
The NSI file is then compiled into a single file installer that includes all your material in one exe – the functionality of that exe file can be anywhere in between simply unpackaging and executing your own setup.exe file and a full custom installer (can’t see why you would want that in your case).