Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 20th July 2002, 02:25   #1
matini
Junior Member
 
Join Date: Jul 2002
Location: Taiwan
Posts: 34
Question About !define

I used InstallOptions to give users an option while installing,
then define a symbol by their choice. I would use the symbol in
my uninstaller.

If I define the symbol by "!define SYMBOL value" in a hidden section,
will the ${SYMBOL} exist to last in the uninstaller?
matini is offline   Reply With Quote
Old 20th July 2002, 08:57   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
Define's are compile time constants. You can't set them at runtime.
You can't define something according to the user runtime request.

To set some value and then use it upon uninstalling use the registry (WriteRegStr and ReadRegStr).

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is online now   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