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: Problems resolving a property in a path
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
‎Apr 12, 2011
11:33 AM
Problems resolving a property in a path
Hi,
I have a web-based application that needs to be multi-instance. To that end, I am using the [InstanceId] property in the application path.
The problem begins in that I cannot correctly define the path for a component, as in this example: [INSTALLDIR]Application\[InstanceId]\. The IDE forces it to [INSTALLDIR]Application\[InstanceId] (notice the missing "\"), and the application path is thus incorrect when the instance is installed. (I use a custom action to resolve [InstanceId] in the directory name during the install sequence.)
If I force the "\" into the path in the Directory table (via Direct Editor), then this error occurs during the project build: "ISDEV : fatal error -6015: Error generating short file name for file...\LOCALS~1\Temp\1\DIR16.tmp\[InstanceId]\...".
Is there a way round this, or do I need to find a different naming convention for the instances? Why is this so needlessly difficult to setup? :confused:
I have a web-based application that needs to be multi-instance. To that end, I am using the [InstanceId] property in the application path.
The problem begins in that I cannot correctly define the path for a component, as in this example: [INSTALLDIR]Application\[InstanceId]\
If I force the "\" into the path in the Directory table (via Direct Editor), then this error occurs during the project build: "ISDEV : fatal error -6015: Error generating short file name for file...\LOCALS~1\Temp\1\DIR16.tmp\[InstanceId]\...".
Is there a way round this, or do I need to find a different naming convention for the instances? Why is this so needlessly difficult to setup? :confused:
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 12, 2011
05:04 PM
You will first need to understand how Directory table is structured and used.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 19, 2011
05:07 PM
Thank you for the links. I found that being unable to include the back-slash character after the property name in the Component destination field wasn't a problem: I was able to add the trailing character in the "Set Directory" CAs, and the directory structure on the target machine is now correct.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)