cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
nihar1983
Level 5

Making directory

Hi,
I am trying to install our product on Solaris. For installation we are executing one shell script. There we had a condition if the insatlaltion folder exists it should remove that and make it a new directory. But while installation process starts the installer only creating the directory. is it possible to during installation process InstallAnywhere should not create the directory. It will up to our script to make it. Kindly advice.
Labels (1)
0 Kudos
(3) Replies
pv7721
Level 20

Would it be possible to post your project and your script?
0 Kudos
nihar1983
Level 5

only I can post little portion of the script.


if [ -d $vpnsc_home ] ; then
echo "Removing $vpnsc_home ..." >> /opt/LOGFILE.txt
rm -rf $vpnsc_home/bin
rm -rf $vpnsc_home/etc
rm -rf $vpnsc_home/resources
rm -rf $vpnsc_home/thirdparty
rm -rf $vpnsc_home/tmp
rm -rf $vpnsc_home/VERSION_INFO
rm -rf $installer_dir/java.tar
rm -rf $installer_dir/isc.zip
rm -rf $installer_dir/perl.tar
rm -rf $installer_dir/sybase.tar
rm -rf $installer_dir/tibco.tar
fi

mkdir -p $vpnsc_home

$vpnsc_home is the instalaltion dir.
I capturing all the user input from the preinstall step. and making one config file. and seetiing the env through this script
0 Kudos
pv7721
Level 20

I'm sorry, but I didn't understand your issue, that I was asking for the project and the script (or maybe a dummy project that would reproduce your issue).
0 Kudos