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: Multiple Instances and INSTALLDIR
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
‎Sep 02, 2010
01:37 PM
Multiple Instances and INSTALLDIR
In a multiple instance set up, I'd like to set a different default INSTALLDIR value for each instance. I can't figure out how to do that.
I set ProductName in each instance. I tried using the [ProductName] property in the INSTALLDIR line of the General Information tab. The result was a very strange error message during installation, something about not finding network location 0. The Directory table entries looked pretty messed up.
Any suggestions?
I set ProductName in each instance. I tried using the [ProductName] property in the INSTALLDIR line of the General Information tab. The result was a very strange error message during installation, something about not finding network location 0. The Directory table entries looked pretty messed up.
Any suggestions?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 02, 2010
03:36 PM
Here's what I tried, which also didn't work. I inserted a SetDirectory custom action (type 35) after FileCost in the UI Sequence. It has this:
INSTALLDIR [ProgramFilesFolder]SSNC\[INSTALL_BASE]\
(I tried lots of variations on the above.) INSTALL_BASE is a property set in the instances property tables. I even added a directory to the Directory table with SSNC as a parent and one of the values of INSTALL_BASE as the directory key. So the target should resolve to a directory table entry.
No luck. I get: Error 2707 Target paths not created. No path exists for entry INSTALLDIR in Directory table.
:confused:
INSTALLDIR [ProgramFilesFolder]SSNC\[INSTALL_BASE]\
(I tried lots of variations on the above.) INSTALL_BASE is a property set in the instances property tables. I even added a directory to the Directory table with SSNC as a parent and one of the values of INSTALL_BASE as the directory key. So the target should resolve to a directory table entry.
No luck. I get: Error 2707 Target paths not created. No path exists for entry INSTALLDIR in Directory table.
:confused:
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 11, 2014
03:38 AM
DrDad5727 wrote:
Here's what I tried, which also didn't work. I inserted a SetDirectory custom action (type 35) after FileCost in the UI Sequence. It has this:
INSTALLDIR [ProgramFilesFolder]SSNC\[INSTALL_BASE]\
(I tried lots of variations on the above.) INSTALL_BASE is a property set in the instances property tables. I even added a directory to the Directory table with SSNC as a parent and one of the values of INSTALL_BASE as the directory key. So the target should resolve to a directory table entry.
No luck. I get: Error 2707 Target paths not created. No path exists for entry INSTALLDIR in Directory table.
:confused:
hi, Can you sequence the SetDirectory CA after costFinalize Std action in UA sequence and try, it should work