cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vijji123
Level 6

how do i check HP-UX ia64 platform

Hi ,

I am working with a project where i need to check "HP-UX ia64"(HP-ux itanium 64) platform.But i do not have that one in the existing platform of check platform rule.If i want to add a new platform, with what name shall i add so that it will be detected on "HP-UX ia64" but not on HP-UX.

Thanks,
Vijji123
Labels (1)
0 Kudos
(5) Replies
pv7721
Level 20

Most likely an "uname -a" should tell you it's running on IA64.
0 Kudos
vijji123
Level 6

Hi Vlad,

I am talking about platform check rule of Install Anywhere 2009.
for the command uname -a on on HPUX-ia64 machine, i am getting the following output.

HP-UX eshxh002 B.11.31 U ia64 3698277762 unlimited-user license

out of which do i need to add to new platform in platform check rule of Install Anywhere 2009.

Thanks,
Vijii123
0 Kudos
pv7721
Level 20

So, here is how I would do it: as the 1st action in the preinstall task I would issue an 'uname -a' and I would store the result somewhere (in a IA variable in a file etc). Then I would set a variable, say $IS_HP-UX_IA64$ to true if the uname -a result contains ia64. Then all actions will be done if $IS_HP-UX_IA64$ is true, if not you can force the installer to exit.
0 Kudos
vijji123
Level 6

can we mix, i mean put an and rule for check platform(HPUX) and check architecture(itanium 64) . which will give HP-UX ia64.


Vijji123
0 Kudos
pv7721
Level 20

Yes, you can! 😄
0 Kudos