/build/static/layout/Breadcrumb_cap_w.png

How to not resolve variables?

I am trying to build a shortcut where the Start in/Working Path is set to %USERPROFILE%. The problem is whenever I use this in the msi it always resolves that to the installers profile path. Is there anyway to set this as text so the install does not resolve it?
Tried everything I can think with properties but no go.

Using Installshield 11.5 it that matters.

Thanks

0 Comments   [ + ] Show comments

Answers (1)

Posted by: nheim 17 years ago
10th Degree Black Belt
0
Hi Eric,
i see the following approaches for that:
First one looks like this:
"[ENVVARPOP]yourapp.exe"

Set a property ENVVARPOP to %ENVVAR%\ in the property table or with an custom action. Note the trailing backslash to be conform with the MSI directory convention.

The second one would be as follows:
"[\%]ENVVAR[\%]yourapp.exe"

These string are to be placed in the Target column of the Shortcut table.

Hope this helps,
Regards, Nick
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ