Thanks for the prompt reply! Actually the user.config file i'm pursuing is not 
created by me, but by my application indirectly. It is located at the following 
location

C:\Documents and Settings\UserName\Local Settings\Application 
Data\AppName\AppName.exe_Url_nwloh0orpe4wmpsnqif2ub50jv0gpgwy\1.0.0.0\user.config


where this can be formalized to:

<c:\Documents and Settings>\<username>\[Local Settings\]Application 
Data\<companyname>\<appdomainname>_<eid>_<hash>\<verison>. Where:
        * <c:\Documents and Settings> is the user data directory, either 
non-roaming 
(Local Settings above) or roaming.
        * <username> is the user name.
        * <companyname> is the CompanyNameAttribute value, if available. 
Otherwise, 
ignore this element.
        * <appdomainname> is the AppDomain.CurrentDomain.FriendlyName. This 
usually 
defaults to the .exe name.
        * <eid> is the URL, StrongName, or Path, based on the evidence 
available to 
hash.
        * <hash> is a SHA1 hash of evidence gathered from the CurrentDomain, in 
the 
following order of preference:
        1. StrongName
        2. URL
If neither of these is available, use the .exe path.
        * <version> is the AssemblyInfo's AssemblyVersionAttribute setting.
Now it is this user.config file i'm after. Does WIX support retrieving the 
location of this file?
For further information about this config file one can visit this 
site: http://msdn.microsoft.com/en-us/library/ms379611(v=vs.80).aspx

________________________________
From: Rob Mensching <r...@robmensching.com>
To: General discussion for Windows Installer XML toolset. 
<wix-users@lists.sourceforge.net>
Sent: Tue, February 8, 2011 3:47:36 PM
Subject: Re: [WiX-users] How to delete user.config file?

What about [#FileId]?

On Tue, Feb 8, 2011 at 5:40 AM, Peter Shirtcliffe <pshirtcli...@sdl.com>wrote:

> Your installers should always store the location that they install to.
> Search
> for ARPINSTALLLOCATION in this mailing list for instructions on how to do
> that.
>
> In your upgrade installers, you can add a registrysearch to retrieve
> ARPINSTALLLOCATION into a property and that tells you where to start your
> search from. After that it depends where your user.config is kept.
>
> -----Original Message-----
> From: Manolache Adrian [mailto:prog_...@yahoo.com]
> Sent: 08 February 2011 13:31
> To: General discussion for Windows Installer XML toolset.
>  Subject: Re: [WiX-users] How to delete user.config file?
>
> Thanks! The only thing is i don't know how to find the right path for the
> user.config file. Can one point me out in the right direction?
>
>
>
> ________________________________
> From: Peter Shirtcliffe <pshirtcli...@sdl.com>
> To: General discussion for Windows Installer XML toolset.
> <wix-users@lists.sourceforge.net>
> Sent: Tue, February 8, 2011 3:21:39 PM
> Subject: Re: [WiX-users] How to delete user.config file?
>
> Make a component with
>
> <RemoveFile On="install" etc... />
>
> -----Original Message-----
> From: Manolache Adrian [mailto:prog_...@yahoo.com]
> Sent: 08 February 2011 13:09
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] How to delete user.config file?
>
> I'm using c# and wix and i'm trying to delete the user.config file specific
> to
> my application, everytime the application is installed. How can i
> accomplish
> this?
>
>
>
>
> -----------------------------------------------------------------------------
> -
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> SDL PLC confidential, all rights reserved.
> If you are not the intended recipient of this mail SDL requests and
> requires
> that you delete it without acting upon or copying any of its contents, and
> we
>
> further request that you advise us.
> SDL PLC is a public limited company registered in England and Wales.
> Registered
> number: 02675207.
> Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6
> 7DY,
> UK.
>
>
>
> -----------------------------------------------------------------------------
> -
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
>
> -----------------------------------------------------------------------------
> -
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> SDL PLC confidential, all rights reserved.
> If you are not the intended recipient of this mail SDL requests and
> requires that you delete it without acting upon or copying any of its
> contents, and we further request that you advise us.
> SDL PLC is a public limited company registered in England and Wales.
>  Registered number: 02675207.
> Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6
> 7DY, UK.
>
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



      
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to