PDA

View Full Version : Variables in directory names and shortcuts?



pcolton
04-06-2002, 12:43 AM
Can I create directory names and shortcuts that have product version info in them?

Something like:

...\Program Files\My Company Name\Product Name v[ProductVersion]

This doesn't seem to work right now in my MSI project.

Happy Days
04-06-2002, 04:34 AM
Hi,

Why not........

U can use the following naming convention:

[INSTALLDIR]^[ProductVersion]

Make sure that you have the ProductVersion property in your Property Manager.

To retreive this property value, use the function MsiGetProperty.

pcolton
04-08-2002, 02:08 PM
It seems I cannot do that in the tables, however.

I just want my prod name and install folder name to have the version # on them automatically.