I am trying to get the installer to add a link to the desktop if the user pushes a button.
My ini looks like this
My code looks like this:
[Settings]
NumFields=2
[Field 1]
Type=Label
Text="...Some text here.."
Left=4
Right=293
Top=4
Bottom=96
[Field 2]
Type=Button
Text=Help Remove Software Now!
Left=94
Right=203
Top=103
Bottom=119
Flags=NOTIFY
in the on init I load the ini
After the button is pushed (and from another page's function) I check to see what the state is...!insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "ini\noNAV.ini" "NONAV"
Whether I push the button or not $R0 is always 0. I am not sure what is going on!insertmacro MUI_INSTALLOPTIONS_READ $R0 "NONAV" "Settings" "State"
StrCmp $R0 2 func1 func2