Pressing CANCEL no longer quits the installer, but skips a page...?
Normally when I click the cancel button at the bottom right it says "are you sure you want to quit the installer?" YESNO.
In the past , choosing YES would mean a quit. Now it doesn't quit but skips to the next page on every page.
I added some code in a function that I think may be effecting it but I am not sure how to get it back functioning the way it should be.
Function skippage(I call this skippage func from other functions where I present the user with "are you sure you want to install this?" YESNO. So I do use this function. It just appears to have affected the cancel button's behaviour.)
StrCpy $R9 1 ;Goto the next page
Call RelGotoPage
Abort
FunctionEnd
Function RelGotoPage
IntCmp $R9 0 0 Move Move
StrCmp $R9 "X" 0 Move
StrCpy $R9 "120"
Move:
SendMessage $HWNDPARENT "0x408" "$R9" ""
FunctionEnd
Note: in a previous post I changed the NEXT button to skip, NOT the Cancel.