This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: Making directory
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 10, 2010
07:16 AM
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.
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.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 10, 2010
07:19 AM
Would it be possible to post your project and your script?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 10, 2010
07:29 AM
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
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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 10, 2010
11:04 AM
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).