Prev Previous Post   Next Post Next
Old 8th March 2003, 10:23   #1
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Showing a custom page if...

code:

IfFileExists "$TEMP\map-compiler.ini" WriteSettingsNo
WriteINIStr "$TEMP\map-compiler.ini" "Settings" "Show" "Yes"
WriteSettingsNo:

ReadINIStr $1 "$TEMP\map-compiler.ini" "Settings" "Show"
StrCmp $1 Yes ViewSettingsYes ViewSettingsNo
ViewSettingsYes:
Page Custom SetCustom2 " - Change required settings"
ViewSettingsNo:

ReadINIstr $2 "$TEMP\map-compiler_settings.ini" "Field 6" "State"
StrCmp $2 1 DialogYes DialogNo
DialogYes:
Page Custom SetCustom2 " - Change required settings"
DialogNo:



I have tried puttin this code everywhere, but it won't work.
I'd like the custom page to show before the MUI Welcome page only if the user has aloowed it before.
On first load of the program, the user will be allowed to toggle 'Show settings dialog'. If it is off (0) then it won't be shown again.

Why isn't the custom page showing?

-Stuart
Afrow UK 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