I am using Advanced Installer 11.2.1.
I have defined a path variable, name TFS1 , value D:\tfs1
In the Custom Behavior\Table Editor page, for the Binary table, I am trying to add a new setting, "myfiledata" say, with value that is a file path, which on my development machine is say "D:\tfs1\files\filename.dll".
I wanted to specify the value for my entry in the binary table as <TFS1>files\filename.dll, so that on our build machine, where the path will be different, we can define the TFS1 path variable appropriately and the Table Editor will pick up the file from the correct location.
However, when I try doing this on my build development machine, I get an error when building the project, reported as 'File "<TFS1>files\filename.dll" could not be read.'
Whereas in the Resources\Files and Folders page, the files I have added to the target computer\application folder do make use of this path variable - their paths are displayed with the variable expanded, but if I edit a file and look at its properties, the source path shows the path variable is being used.
Can path variables be used in the Table Editor ? If not, can you suggest any alternative method to achieve what I want?
FOLLOW US
Get the latest news in Application Packaging