This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How may I determine my installation source?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 31, 2006
04:05 PM
How may I determine my installation source?
I've seen posts on this for the other products, but not MP.
I need to execute programs from the installer that will be on the installer's media (DVD) - without hardcoding a path, how can I use variables/etc to do run-time installation path resolution?
Thanks!
I need to execute programs from the installer that will be on the installer's media (DVD) - without hardcoding a path, how can I use variables/etc to do run-time installation path resolution?
Thanks!
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 31, 2006
05:01 PM
Perhaps see InstallShield KB article Q105887, at http://support.installshield.com/kb, for information about the user.dir and is.external.home properties...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 01, 2006
09:45 AM
thanks - is.external.home works great for the command property.
However, it seems like using J$() does not resolve correctly when used in the argument list.
Example:
command = C:/Windows/system32/msiexec.exe
(I am aware that specifing the Windows dir this way and not via the environment is flawed)
argument[0] = /i
argument[1] = $J(is.external.home)/somedir/some.msi
What should I do in this case?
Thanks.
However, it seems like using J$() does not resolve correctly when used in the argument list.
Example:
command = C:/Windows/system32/msiexec.exe
(I am aware that specifing the Windows dir this way and not via the environment is flawed)
argument[0] = /i
argument[1] = $J(is.external.home)/somedir/some.msi
What should I do in this case?
Thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 01, 2006
09:48 AM
I see that using spaces is problematic in the argument list, but the resolved path contains no spaces so that is not the problem here.
Thanks!
Thanks!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 01, 2006
04:55 PM
If this is in a product bean or a wizard bean you should be able to use
resolveString(argument[1]);
or
resolveString("$J(is.external.home)");
resolveString(argument[1]);
or
resolveString("$J(is.external.home)");
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 01, 2006
05:03 PM
It's an Execute Process "Product Action" - not in actual Java code.
Thanks.
Thanks.