Create Folder $COMMONAPPDATAFOLDER$\foo\bar\Archive\temp
Set Variable TempPath to $COMMONAPPDATAFOLDER$\foo\bar\workspace
Set Variable ZipPath to $COMMONAPPDATAFOLDER$\foo\bar\Archive\Pre($TITLE$.1)\workspace.zip
MessageBox: , $TempPath$ $ZipPath$ $COMMONAPPDATAFOLDER$
In the first line the folder is created in the expected location but when I set the variables in the next two lines they show up in the message box with $COMMONAPPDATAFOLDER$ to start instead of the value that should replace it. I have this block near the beginning of my projects main msicode script.
the "Create Folder" command is a "Windows Installer Command" (PURPLE COMMANDS), due of this the command doesn't get executed immediately (...before the "MessageBox" statement) but instead, its effective execution is deferred to "Apply Install" execution. http://www.installaware.com/forums/view ... f=2&t=4338
That said;
- Are you sure that your COMMONAPPDATAFOLDER variable gets initialized before the "MessageBox" statement?