Change Product Code at compile time
Posted: Fri Mar 23, 2007 11:47 am
I'm trying to change the product code at compile time but having a little trouble. I first tried passing a compiler variable PRODUCTCODE={blah} (with correct replacement of the blah). That had no effect. So I passed the same compiler variable and made one of the first lines be which effectively changes the product code. However, the NEEDSUPGRADE variable is set as if the previous product code was used.
Is there an easy way to change the product code at compile time or very early in run time but before other variables (like NEEDSUPGRADE) get set?
Code: Select all
Set Variable PRODUCTCODE to #PRODUCTCODE#
Is there an easy way to change the product code at compile time or very early in run time but before other variables (like NEEDSUPGRADE) get set?