cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
amusku
Level 5

$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.
Labels (1)
0 Kudos
(4) Replies
pv7721
Level 20

Normally this value can't be null. Have you enabled Source Paths for your projects?
0 Kudos
amusku
Level 5

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.
0 Kudos
pv7721
Level 20

I think this is supposed to be used mostly in the Install task. Would it be possible for you to post your project?
0 Kudos
purcellk24
Level 7

$IA_PROJECT_DIR$ is not available at runtime as a variable.

Can you post your project, or a sample project?
0 Kudos