Prev Previous Post   Next Post Next
Old 3rd April 2006, 22:31   #1
Pharaoh Atem
Junior Member
 
Join Date: Feb 2006
Posts: 35
Need to add switches to installer

I need to add a switch to an installer that will write a DIFFERENT INI setting instead of the normal one, using MUI.. How do I go about doing this? If it is easier to use InstallOptions to figure this out, then by all means do that!
The switch I want is "--user"
Code by default:
PHP Code:
WriteINIStr "$INSTDIR\\overrwdef.ini" "System" "OverWrite" "0 ; If enabled Program will use overwrite profile settings when run" 
Code I want optional:
PHP Code:
WriteINIStr "$INSTDIR\\overrwdef.ini" "System" "OverWrite" "1 ; If enabled Program will use overwrite profile settings when run" 
The code is in a section during file installation process, if you want to give InstallOptions thing, then it should be able to change within the section...

Last edited by Pharaoh Atem; 3rd April 2006 at 23:01.
Pharaoh Atem is offline   Reply With Quote
 
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