cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
alexej
Level 2

HP-UX depot - how to set target path from InstallAnywhere

Hello
Please help -
I made depot package in the HP-UX. Added to InstallAnywhere - how to change path, which in depot HP-UX, to path, which set by InstallAnywhere?
Labels (1)
0 Kudos
(10) Replies
pv7721
Level 20

Could you please a little more specific about your issue? Thanks!
0 Kudos
Master_f
Level 3

if installed only depot on HP-UX, I use
swinstall -s /depot/x.depot @ /opt/x
and the target folder will be "/opt/x"

How to change by InstallAnywhere target folder during installation?
for example
swinstall -s /depot/x.depot @ $USER_INSTALL_DIR
0 Kudos
pv7721
Level 20

Set the $USER_INSTALL_DIR$ to be /opt/x?
0 Kudos
Master_f
Level 3

InstallAnywhere don't have possibility set option: " @ $USER_INSTALL_DIR$"
In the action Install HP-UX Depot -> Bundled with installer
I cannot add " @ $USER_INSTALL_DIR$"

I see possibility only inside x.depot package, during make package.
0 Kudos
pv7721
Level 20

Would it be possible to post your project?
0 Kudos
Master_f
Level 3

It is very simple:
1) take any HP-UX depot file ( every depot have target folder for install)
2) make simple console project
3) add action "Install HP-UX Depot" for "Install"
4) Choose depot ...
5) Set Package Name
6) how to change target folder for native depot to $USER_INSTALL_DIR$ ?

Thanks
0 Kudos
pv7721
Level 20

As far as I could see, when you add the Install HP-UX depot action, it depends on where you are in the Visual Tree: so I assume that if you're adding underneath the $USER_INSTALL_DIR$ the path will be given automatically to the action.
0 Kudos
Master_f
Level 3

Let me clarify:
1) in the Action Install HP-UX Depot:
Properties:
- Bundled with installer
+ On end user's system:
$USER_INSTALL_DIR$/xyz.depot @ $USER_INSTALL_DIR$
Package Name: XYZ
....

this settings does not work.
Before I Add Files... xyz.depot

2) If I set
+ On end user's system:
$USER_INSTALL_DIR$/xyz.depot

this setting does work - but it do not help me.

3) If set
Properties:
+ Bundled with installer $IA_PROJECT_DIR$/sources/xyz.depot
- On end user's system:
Package Name: XYZ
this setting does work - but it do not help me.

what is exactly did you mean?
0 Kudos
pv7721
Level 20

Master_f wrote:
Let me clarify:
1) in the Action Install HP-UX Depot:
Properties:
- Bundled with installer
+ On end user's system:
$USER_INSTALL_DIR$/xyz.depot @ $USER_INSTALL_DIR$
Package Name: XYZ
....

this settings does not work.
Before I Add Files... xyz.depot

2) If I set
+ On end user's system:
$USER_INSTALL_DIR$/xyz.depot

this setting does work - but it do not help me.

3) If set
Properties:
+ Bundled with installer $IA_PROJECT_DIR$/sources/xyz.depot
- On end user's system:
Package Name: XYZ
this setting does work - but it do not help me.

what is exactly did you mean?


As I don't have an HP-UX system at hand in order to test it myself and as I don't know the inner workings of IA in this case, I'm afraid that you don't have too much of a choice but to contact the Flexera Support about this issue... Or on another hand maybe you should think if you really need IA for what you want to do: after all you need a JVM in order to launch the installer which will do what, only install one or more HP-Ux depots?
0 Kudos
Master_f
Level 3

I see,
I must to use IA for deploy HP-UX depot.
There is only one depot package, or 2 in the future.
0 Kudos