Archive: easily configurable installer package


easily configurable installer package
with NSIS, i want to create a easily configurable installer package.

For example,I have a installer package where only one file(setup.exe) changes and whenever it changes i have to go into the code and compile the code with the new exe file.

This is not a big deal but it would be useful to have a GUI from which i can just plug in this modified file and then have the modified installer package generated with the click of a button without going into the code.

Is this possible ??

This way it helps in maintaining the installer package as the person who is developing could easily do it himself to create test installer packages ..

Thx for any input


If the developers are not actually adding completely new files, but just replacing existing ones with newly compiled ones, then you can easily create a batch file to recompile your installers and deploy the file to your installers repository.

1. Make sure the filenames in the script are fully qualified
2. Copy the script file and any other files, icons, graphics, plugins etc to the network resource eg. \\MyServer\Scripts
3. Copy the NSIS program files folder to the same network resource
3. Create a batch file in the same folder, for example:

NSIS\makensis.exe "My NSIS script.nsi"
xcopy MyInstaller.exe \\MyServer\Installers\ /d/y


If the network resource where you are running this from is not a mapped drive, you will need to temporarily create a mapping:

NET USE Z: \\MyServer\Scripts
Z:

NSIS\makensis.exe "My NSIS script.nsi"
xcopy MyInstaller.exe \\MyServer\Installers\ /d/y

c:
NET USE /DELETE Z:
pause


Hope this helps.

thanks michael. it points me in the right direction. this will help for sure. i will post back if any more questions.