Per the CD Auto Run demo, I checked for the CHOICE variable but upon compile it tells me the variable doesn't exist.
I switched the variable to be WIZARD since thats what the msi code is using for the BACK and CANCEL buttons.
Now it compiles but there are two problems:
#1 When I click the PRINT button, it does nothing with regards to printing.
#2 Even though the I Accept button is not checked, it moves me to the User Registration dialog next.
Something wrong with my code?
Code: Select all
Display Dialog: licensecheck, wait for dialog to return (modal)
if Variable WIZARD Equals Print
Run Program wordpad.exe /p $SUPPORTDIR$\\license.rtf
GoTo Label: License Check
end
if Variable WIZARD Equals BACK
GoTo Label: Welcome Dialog
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end

