Back Button is not working in custom Dialog
Posted: Fri Nov 13, 2009 9:38 am
I have created a few custome dialogs and am having trouble getting the BACK button to work like it should. I have double checked and when clicking the back button it calls the "Previous Dialog" statement. I created two dialogs Database and ShortCut. No matter what I click either back or cancel it takes me to the next dialog. Below is the MSI code that I am using and again I have double checked that the action for the back button is set to "Goto Previous Dialog" and Cancel is set "Cancel Installation.
label: Start Menu
Display Dialog: startmenu, wait for dialog to return (modal)
if Variable WIZARD Equals BACK
GoTo Label: Destination Directory
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
label: Database
if Variable MAINTENANCE not Equals True
Display Dialog: Database, wait for dialog to return (modal)
if Variable WIZARD Equals BACK
GoTo Label: Start Menu
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
end
label: ShortCut
if Variable MAINTENANCE not Equals True
Display Dialog: ShortCut, wait for dialog to return (modal)
if Variable WIZARD Equals BACK
GoTo Label: Database
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
end
I have seen several other posts concering this same issue without resolve. Is there anything that can be done about this.
label: Start Menu
Display Dialog: startmenu, wait for dialog to return (modal)
if Variable WIZARD Equals BACK
GoTo Label: Destination Directory
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
label: Database
if Variable MAINTENANCE not Equals True
Display Dialog: Database, wait for dialog to return (modal)
if Variable WIZARD Equals BACK
GoTo Label: Start Menu
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
end
label: ShortCut
if Variable MAINTENANCE not Equals True
Display Dialog: ShortCut, wait for dialog to return (modal)
if Variable WIZARD Equals BACK
GoTo Label: Database
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
end
I have seen several other posts concering this same issue without resolve. Is there anything that can be done about this.