PDA

View Full Version : Need to change dialog text based on variable



NewsArchive
07-30-2007, 03:06 AM
Can anyone see why this isn't working?

Set Variable %UPDATE% to "0"
If %UPDATE% Equals "0" Then
#set compiler variable [PRODUCTNAME] = "New Install"
Else
#set compiler variable [PRODUCTNAME] = "Upgrade"
End

TIA

Mike

NewsArchive
07-30-2007, 03:06 AM
Looks to me as if you're trying to use a runtime variable (with the %, that
gets evaluated when your installer is run by the end user) to set a compiler
variable that's evaluated when the installer is being compiled.

Jane Fleming

NewsArchive
07-30-2007, 03:07 AM
That looks like it. Thanks

Mike