i want to set a folder name to the property [ProductVersion]
so, in the files and folders view i have a folder called [ProductVersion]

when i install the app the folder is created but called [ProductVersion] including the brackets.
Am i missing something? why is it not resolving to the property value?
0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


Why don't you try using a Type 35 Custom Action (CA)?

For example, let's say you create a folder called 'C:\Program Files\FolderHolder', and this directory path resolves to 'INSTALLDIR'.

(In Wise) You should create a type 35 CA, set the name of the CA to whatever you want (say, 'setDirName'), set the directory to 'INSTALLDIR' and set the directory value to '[ProgramFilesFolder][ProductVersion]'. This should execute in an immediate context before the InstallInitialize standard action.

Your CustomAction table would look something like this:
Action Type Source Target
setDirName 35 INSTALLDIR [ProgramFilesFolder][ProductVersion]
Answered 07/15/2009 by: captain_planet
Fourth Degree Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity