Sorry to waste your time.  I 
will try the homedrive and homepath environment variables and hard code the 
other path and see if that works.

                                                And yeah, the username 
environment var will get me the user ;)

                                                Sorry, my first installer.  
Normally a web guy.

                                                Josh

Josh Maletz
[EMAIL PROTECTED]
2020 Vine Street
Denver, CO 80205 

----------------------------------------

                                From: "Josh" <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2007 4:06 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Deleting .Net 2.0 user config files on uninstall. 

                Hi all,

I am trying to remove the .net generated user settings files from my win form 
application on uninstall, and am having some problems.  I checked the archive 
for this specific issue and id not find anything.  I did find another post on 
another blog that said developers have no control over these files and if you 
needed it, to implement your own setting provider, which would give me control 
over the location of these files.

I wanted to see if anyone has been able to manage this through wix natively 
before embarking on this task.

Assuming my scenario creates random folders along the lines of "C:\Documents 
and Settings\USER\Local Settings\Application 
Data\APPNAME\RandomFolderName\user.config"

And: "USER" is the user name of the user, "APPNAME" is the name of my 
application in the AssemblyCompany attribute in my AssemblyInfo file for the 
app, and "RandomFolderName" appears to be an ap generated random folder name.

Am I correct in assuming the proper way to go about this is to nuke everything 
below and including the "APPNAME" folder?

 I have not figured out how to get the "USER" value.  I thought it was with the 
'PersonalFolder' property, but that does not seem to be doing anything for me.

Any help or direction pointing would be greatly appreciated.  Thank you very 
much.

Josh


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to