Old 21st June 2007, 00:39   #1
vamsiram
Junior Member
 
Join Date: Jun 2007
Posts: 2
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
vamsiram is offline   Reply With Quote
Old 21st June 2007, 06:05   #2
michaelcsikos
Junior Member
 
Join Date: Dec 2005
Location: Brisbane, Australia
Posts: 16
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:

code:
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:

code:
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.
michaelcsikos is offline   Reply With Quote
Old 21st June 2007, 21:12   #3
vamsiram
Junior Member
 
Join Date: Jun 2007
Posts: 2
thanks michael. it points me in the right direction. this will help for sure. i will post back if any more questions.
vamsiram is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump