Operating System - HP-UX
1844205 Members
2281 Online
110229 Solutions
New Discussion

Re: swinstall postinstall script not completing.

 
scott vick
Advisor

swinstall postinstall script not completing.

Hello,
I have a package that I've created to install a 3rd party software app. I've created a postinstall script that calls an expect script (depending on the OS versions) that is supposed to configure the app. When I run the script manually, it works fine. However, when I execute the swinstall, the postinstall script runs, starts the expect script and continues before the expect script finishes.

This is causing problems because the postinstall script does some cleanup that causes the app to never get configured correctly. I even tried putting a sleep statement in to slow the postinstall script down, but it's still "blitzing" along too fast.

What am I doing wrong?
Too ugly to live, too weird to die, too stupid to know the difference.
3 REPLIES 3
Kent Ostby
Honored Contributor

Re: swinstall postinstall script not completing.

Check your paths to the commands that you want the script to run. Perhaps you have a partial path rather then the full path.

Also, you may wish to post your scripts here so we can take a look and further troubleshoot.

"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
G. Vrijhoeven
Honored Contributor

Re: swinstall postinstall script not completing.

Hi,

Why do not you change your postinstall script into a configure script. That way your timing issues are over. ( psf file configure=/dir/postinstallscript.

Regards,

Gideon
scott vick
Advisor

Re: swinstall postinstall script not completing.

I set it up as a configure script. It's still rushing through the script.

I've attached the scripts in the text file.
Too ugly to live, too weird to die, too stupid to know the difference.