Thank you Phil for your feedback. As I mentioned, the installation is 
"perMachine" and we want that any user logged in can run the application 
successfully. If I install the application's data files in the Users' 
Application Data folder, will there be a single instance of the file for all 
users or do I need a separate copy for each user?

For the time being I resolved the issue by keeping the file in the Program 
Files and elevating access privileges with this:

               <Permission User="Users" GenericAll="yes" ChangePermission="yes" 
TakeOwnership="yes" GenericExecute ="yes"
                           Read="yes" GenericWrite ="yes" GenericRead ="yes" 
ReadPermission ="yes" SpecificRightsAll ="yes" />

Thanks again for your help,
Eddie



-----Original Message-----
From: Phil Wilson [mailto:phildgwil...@gmail.com] 
Sent: Thursday, May 21, 2015 12:57 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Accessing files copied to the ProgramFiles folder 
during the installation

If you want limited users to be able to use the app then data files need to be 
installed into folders that limited user's have access to.
At the risk of stating the obvious, folders like User's Application Data are 
for user's application data.
Long term, this is the correct answer.

The less correct but practical solution is PermissionEx (or the util 
equivalent).
---------------
Phil Wilson


On Thu, May 21, 2015 at 8:54 AM, Eddie Lascu <ela...@ibigroup.com> wrote:
> I have created an installation package that installs our application in the 
> <Directory Id="ProgramFiles64Folder"> folder. One of the files installed is a 
> temporary report template file ("template.rdlc"). The application needs to 
> read that file and possible even write it. The client gets an "Access to the 
> path 'C:\Program Files\NameOfMyApplication\template.rdlc' is denied." error. 
> Is there a way to set full access privileges to all users to this file during 
> the installation process? If so, what would be the things I would have to add 
> to my installation kit. The installation is done "perMachine".
>
> TIA,
> Eddie
> ----------------------------------------------------------------------
> -------- One dashboard for servers and applications across 
> Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 
> 50+ applications Performance metrics, stats and reports that give you 
> Actionable Insights Deep dive visibility with transaction tracing 
> using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud Widest 
out-of-the-box monitoring support with 50+ applications Performance metrics, 
stats and reports that give you Actionable Insights Deep dive visibility with 
transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to