I have tried puttin this code everywhere, but it won't work.
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'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