Property Based Folders need the Property set early in the Install Parameters (Red in the screenshot.)
The property needs a valid path, like MY_VARDIR="C:". You cannot set it to "foo", because msiexec complains "could not access network location foo".
Unfortunately, this feels dirty. Does C: really always exist ? I don't know.
There seems to be a workaround (Green).
These two properties (MY_APPDATA_DIR and MY_APPDATA_SUBDIR) can be used successfully in a property based folder. Hey, they do not have a dirty initial value. Exactly what we want !
The difference is -probably- that they are in the "UI and empty" section. They are here by accident and I don't know how I made it.
Two questions come up:
- Is this a valid workaround to avoid arbitrary initial values like "C:" ?
- How can one place any new Property like MY_VARDIR in this wonderful "UI and empty" section ?
Ruben
FOLLOW US
Get the latest news in Application Packaging