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
Tried everything I can think with properties but no go.
Using Installshield 11.5 it that matters.
Thanks
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
nheim
17 years ago
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
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.
so that the conversation will remain readable.