Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 17th June 2001, 18:51   #1
spaetz
Junior Member
 
Join Date: Feb 2001
Posts: 44
The $0-$9 variables are great, but only valid within a section. I'd really like to just change my version number only once and have it automatically changed in all filenames, descriptions, etc...

So what I want is a kind of global #define x y, which replaces all occurances of x with y when compiling the installer.

Like putting:
!const version "0.9"
into my scripts which is simply being replacing occurances of $version$ with 0.9 (or similar)

spaetz is offline   Reply With Quote
Old 18th June 2001, 00:14   #2
dbareis
Member
 
Join Date: Apr 2001
Posts: 77
You could use an external preprocessor such as my free PPWIZARD (this is what I do).

I have actually created a NSIS add-on (on PPWIZARD download page) for this tool which simplifies the creation of install packages (for example it does ALL uninstall stuff for you - by default). It also by default chooses a version number for you based on the date but it could be picked up (extracted from doco etc) from anywhere.

There have been quite a few downloads of the header but no feedback. Please email me if you have tried it and liked or not liked it. It's biggest fault is no doco but the sample is good for starting with.

For more details/downloading please go to:

http://www.labyrinth.net.au/~dbareis/ppwizard.htm
dbareis is offline   Reply With Quote
Reply
Go Back   Winamp 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