Kshama Bafna (Persistent Systems Private Ltd)
2010-06-04 14:33:26 UTC
Hi,
I have created an MSI using WIX and the installation is done correctly by the MSI. When I install my application to D:\MyApp, the application works fine and as expected it writes a few files in the same location. However, when I install the application at C:\Program Files (x86)\MyApp location, the application is unable to write the files in the installed location and it throws an exception 'Access Denied'. I do not get this exception when I run the application as 'Run as Administrator'.
Please let me know how can I get rid of this exception. Are there any permissions which could be set in the WIX file for the folder?
Thanks in advance,
Kshama
I have created an MSI using WIX and the installation is done correctly by the MSI. When I install my application to D:\MyApp, the application works fine and as expected it writes a few files in the same location. However, when I install the application at C:\Program Files (x86)\MyApp location, the application is unable to write the files in the installed location and it throws an exception 'Access Denied'. I do not get this exception when I run the application as 'Run as Administrator'.
Please let me know how can I get rid of this exception. Are there any permissions which could be set in the WIX file for the folder?
Thanks in advance,
Kshama