PDA

View Full Version : How to insert property values into path variables? (Basic MSI)



Ih8stupidrules
07-17-2014, 01:39 PM
In a Basic MSI project, is there a way to insert the value of a property into a Path variable ? I know I can use path variables IN path variables, but what about Properties, like [ProductVersion] ?

To be clear, in the Installation Designer view, Media node, Path Variable section, for each 'Standard' path variable type, you can set a value, for ex:

PATH_TO_MY_FILES some path...
PATH_TO_SOMETHING <PATH_TO_MY_FILES>\something...

What I want to do is :
PATH_TO_CURRENT_VERSION <PATH_TO_MY_FILES>\something.[ProductVersion]

The idea being when I change my Product version, all paths will follow for source and output paths...