I have Compiler Variables ISGUIID1, ISGUIID2, and ISGUIID3 which stores the legacy InstallShield GUIIDs for removal.
I'm writing a script which essentially will go through my ISGUIID list and uninstall each package according to GUIID so I tried something like:
ISGUIID=#ISGUIID$ISCOUNT$#
Then I message box $ISGUIID$ and it reads "#ISGUIID1#, #ISGUIID2#, etc. but it's not resolving to the actual compiler variable.
Is there a way around this ?
Chris
Variable resolving question
Re: Variable resolving question
Hi,
How are you creating these variables?
How are you creating these variables?
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Variable resolving question
This idea is to set ISGUIID1,2,3 etc in the compiler variables section. In the IDE to resolve these variables you use #ISGUIID1#, 2 and 3...
This works, but my goal is to be able to loop until ISGUIID($COUNT$) doesn't exist and to do this I created a loop where I increment a variable say $COUNT$ by 1.
Some of our legacy products have multiple :-/ Legacy InstallShield GUIID references, I'm trying to minimize the install script for pre-install cleanup...
Something like checkInstallShield.mia goes through the compilervar list of ISGUIID (set per project) and uninstalls ALL ISGUIID's found...
And I was hoping #ISGUIID$COUNT$# would resolve compiler variables correctly .
If I message box it, the $COUNT$ is resolved, but the value set in Compiler Var for ISGUIID($COUNT$) is not...
Chris
This works, but my goal is to be able to loop until ISGUIID($COUNT$) doesn't exist and to do this I created a loop where I increment a variable say $COUNT$ by 1.
Some of our legacy products have multiple :-/ Legacy InstallShield GUIID references, I'm trying to minimize the install script for pre-install cleanup...
Something like checkInstallShield.mia goes through the compilervar list of ISGUIID (set per project) and uninstalls ALL ISGUIID's found...
And I was hoping #ISGUIID$COUNT$# would resolve compiler variables correctly .
If I message box it, the $COUNT$ is resolved, but the value set in Compiler Var for ISGUIID($COUNT$) is not...
Chris
Re: Variable resolving question
Hi,
I am afraid that is not possible with MSIcode.
I am afraid that is not possible with MSIcode.
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Variable resolving question
Clarification - compiler variables are burned-in at build time; so you cannot do runtime things with them - you have to assume they will all be literal values at runtime.
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: No registered users and 54 guests