Prev Previous Post   Next Post Next
Old 25th July 2017, 21:03   #1
tnteverett
Junior Member
 
Join Date: Jul 2017
Posts: 21
INSTALLOPTIONS_EXTRACT PluginsDir

Attempting to use InstallOptions with a custom menu.ini file. However when I put my INI file in a different directory and fully define the path, the compiler shows "$PLUGINSDIR\" in front of my fully qualified file name.
Is there any way to redefine $PLUGINSDIR or is there a way to make individual function calls ignore this variable?
This was not a problem until I attempted to use this command to reset the "state" value in the INI before using it again.
!insertmacro INSTALLOPTIONS_WRITE "{my path}\menu.ini" "field 3" "state" "{my value}"

From the compiler:
!insertmacro: INSTALLOPTIONS_EXTRACT
InitPluginsDir
File: "menu.ini"->"$PLUGINSDIR\{my path}\menu.ini"
Is there any way to make this work?
tnteverett 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