cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
nexus6
Level 3

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!
Labels (1)
0 Kudos
(5) Replies
RobertDickau
Flexera Alumni

Perhaps see InstallShield KB article Q105887, at http://support.installshield.com/kb, for information about the user.dir and is.external.home properties...
0 Kudos
nexus6
Level 3

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.
0 Kudos
nexus6
Level 3

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!
0 Kudos
jimblye
Level 3

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)");
0 Kudos
nexus6
Level 3

It's an Execute Process "Product Action" - not in actual Java code.

Thanks.
0 Kudos