<Directory Id="CommonAppDataFolder" Name="CommonAppData"> </Directory>
Use the CommonAppDataFolder property to get a link to the currect directory (OS specific), and then insert the Directory elements along with the Component and CreateFolder elements to create the directory.
Also remember the default folder permissions for this part of the file system and compare it with your expectations.
Christopher painter
source share