Patrick Steele wrote:
 > Hi,
 > I am just beginning to learn about using Wix 3, so any help would be 
greatly
 > appreciated. As part of my installation process, I need to create a 
couple
 > of files, placing them inside:
 > "C:\Documents and Settings\All Users" and "C:\Documents and
 > Settings\current_user".
 > How can I go about doing these, given that I won't know the value of the
 > current user account? Is there any type of variable like PFiles that 
I could
 > use here? Some sample code would be nice :)
 > Thank you,
 > Patrick

AppDataFolder and CommonAppDataFolder

You'll want to create a subdirectory in there with your application's name.

See http://www.microsoft.com/whdc/Driver/tips/SafeNamespace.mspx

You probably don't want to create it in the root of All Users etc. 
especially if you want to be compatible with vista and future OS 
upgrades.. use the directories already set aside for this.

Tony

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to