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: $IA_PROJECT_DIR$ value is null
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
‎Jan 30, 2008
04:58 AM
$IA_PROJECT_DIR$ value is null
Hi,
I am trying to use the variable $IA_PROJECT_DIR$ in CopyFile Action (Install task) where I am giving the target file name relative to $IA_PROJECT_DIR$, but the value returned by this variable is null. I tried printing this variable value on the console also, shows the null value. Could you please help me on this.
My whole Idea is to use relative paths for all target files (in Copy file, Speed folder actions) and that should be relative to my project file location.
Regards,
Ajaykumar Musku.
I am trying to use the variable $IA_PROJECT_DIR$ in CopyFile Action (Install task) where I am giving the target file name relative to $IA_PROJECT_DIR$, but the value returned by this variable is null. I tried printing this variable value on the console also, shows the null value. Could you please help me on this.
My whole Idea is to use relative paths for all target files (in Copy file, Speed folder actions) and that should be relative to my project file location.
Regards,
Ajaykumar Musku.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 30, 2008
05:26 AM
Normally this value can't be null. Have you enabled Source Paths for your projects?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 30, 2008
08:21 AM
I enabled the source path form ProjectDesigner-->edit--->preferences---->SourcePaths tab
But when I use this variable in preInstall task I am getting null value. can you please verify this at your end.
Regards,
Ajaykumar.
But when I use this variable in preInstall task I am getting null value. can you please verify this at your end.
Regards,
Ajaykumar.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 30, 2008
08:37 AM
I think this is supposed to be used mostly in the Install task. Would it be possible for you to post your project?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 30, 2008
08:45 AM
$IA_PROJECT_DIR$ is not available at runtime as a variable.
Can you post your project, or a sample project?
Can you post your project, or a sample project?