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
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Install location
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
‎Jun 25, 2007
06:23 PM
Install location
I have the following default location set up in my UIP project.
$D(install)/$P(vendor)/$P(displayName) which on AIX translates to
/opt/GEHC/InSite.
How can I customize the install location so that the installation is complete regardless of the path specified?
$D(install)/$P(vendor)/$P(displayName) which on AIX translates to
/opt/GEHC/InSite.
How can I customize the install location so that the installation is complete regardless of the path specified?
(13) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 26, 2007
01:02 PM
I'm not sure I understand what you mean. Are you saying that your install is not complete if you choose to install in a different directory than the default location?:confused:
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 26, 2007
03:09 PM
Yes, that is correct. I tested it again just to be sure..
When I pick a different location, for( e.g.: /work2/GEHC/Insite) on AIX..the installer does only a partial install.
Would I have to write some custom event/script that would propogate the user selected location to all the folders that need to be installed?
Thanks
When I pick a different location, for( e.g.: /work2/GEHC/Insite) on AIX..the installer does only a partial install.
Would I have to write some custom event/script that would propogate the user selected location to all the folders that need to be installed?
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 26, 2007
04:55 PM
Are you sure it does a partial install? What I mean is - Do all the files get installed but some to the user selected location and some to somewhere else?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 26, 2007
05:35 PM
Nope..I don't think so. I ran the find command for a particular binary file and I found only one instance of it under the default one /opt/GEHealtchare/InSite2
The help section talks something about absoluteInstalllocation and RelativeInstallLocation
Not sure how to set up a relativeInstallLocation. Right now the components in the project are set up to be installed at
$D(install)/$P(vendor)/$P(displayName)
Any ideas on how can change this to relative?
Thanks
The help section talks something about absoluteInstalllocation and RelativeInstallLocation
Not sure how to set up a relativeInstallLocation. Right now the components in the project are set up to be installed at
$D(install)/$P(vendor)/$P(displayName)
Any ideas on how can change this to relative?
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 26, 2007
06:30 PM
Features and components automatically inherit their parent's Install Location. For example, if you set the root product bean's Install Location as you have, and leave every feature's and component's Install Location empty, then all the components' files will be installed to the same directory.
You can also enter a relative name (such as subdir) as a component's Install Location, and the subdirectory will be appended to its parent's destination.
You can also enter a relative name (such as subdir) as a component's Install Location, and the subdirectory will be appended to its parent's destination.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 26, 2007
06:49 PM
This is a way of pre-configuring the install location by adding subdir to the install location.
My problem is if the user specifically selects a different install location by clicking on "Browse" from the destination dialog and selecting a totally different path for the installation.
My problem is if the user specifically selects a different install location by clicking on "Browse" from the destination dialog and selecting a totally different path for the installation.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 26, 2007
07:10 PM
Right, the subdirectories will be added to the actual install location at run time, and not just added to the default location...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 27, 2007
08:38 AM
Click on Installation Design. Then find the top most item(product root). Set the install location to $D(install)/$P(vendor)/$P(displayName).
Now, if each feature/component underneath has a blank install location field the files should be installed into the root.
If a feature has a install location of temp and the root is $D(install)/$P(vendor)/$P(displayName), items in underneath the feature will be installed to $D(install)/$P(vendor)/$P(displayName)/temp.
If a feature has a blank install location but its child component has a install location of temp, items will be installed in to $D(install)/$P(vendor)/$P(displayName)/temp...
Now, if each feature/component underneath has a blank install location field the files should be installed into the root.
If a feature has a install location of temp and the root is $D(install)/$P(vendor)/$P(displayName), items in underneath the feature will be installed to $D(install)/$P(vendor)/$P(displayName)/temp.
If a feature has a blank install location but its child component has a install location of temp, items will be installed in to $D(install)/$P(vendor)/$P(displayName)/temp...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 27, 2007
01:10 PM
jweber wrote:
Click on Installation Design. Then find the top most item(product root). Set the install location to $D(install)/$P(vendor)/$P(displayName).
This is set..resolves to /opt/GE Healthcare/InSite2.0
Now, if each feature/component underneath has a blank install location field the files should be installed into the root.
If a feature has a install location of temp and the root is $D(install)/$P(vendor)/$P(displayName), items in underneath the feature will be installed to $D(install)/$P(vendor)/$P(displayName)/temp.
If a feature has a blank install location but its child component has a install location of temp, items will be installed in to $D(install)/$P(vendor)/$P(displayName)/temp...
There are only 2 sets of file that I want installed. One set goes into bin and the other set goes into cfg
So the installation paths would be
/opt/GE Healthcare/InSite2/bin - Installation location for binary files
/opt/GE Healthcare/InSite2/cfg - Installation location for config files
This is working fine....
How can I change the root $D(install)/$P(vendor)/$P(displayName) at run time?.
For e.g.: if the user selects /work2/GEHC/InSite2 as the location(because of let's saydisk space constraints), then the root installation $D(install)/$P(vendor)/$P(displayName) should change to /work2/GEHC/InSite2 and the corresponding installation paths should be;
/work2/GEHC/InSite2/bin
/work2/GEHC/Insite2/cfg
Unfortunately, this doesn't seem to be working...
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 27, 2007
01:25 PM
How can I change the root $D(install)/$P(vendor)/$P(displayName) at run time?.
This should be handled by the default destination dialog. The install location should be represented in the $P(absoluteInstallLocation) resolver ( which may help you debug )
This is pretty basic functionality, so you are probably doing something that I am overlooking.... Perhaps post a paired down project file would help...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 28, 2007
01:04 AM
Thanks.. I got it to work finally..
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)