Hi I had a similar kind of issue. You would get Access Denied exception only if you install in Program Files or in any other location where there are restricted permissions (this is mostly on Vista). If you try installing your applicaiton in C:\ see that it works perfectly. The problem is that, in Vista as program files as restricted permissions you cannot write into any file present under that restricted folder.
What i would like to know is, what are you writing into the Config file dynamically when the applicaiton is launched. I had a scenario where i was updating the TraceListener path in the config file to userprofile when the application is launched. For this I was using Enterprise Library 3.0. If your scenario is this then there is one solution you can update the path in the config file with the environmental variable like %userprofile%/appdata/log.xml . These environmental variables are only available with Enterprise Library 4.0. Let me know if find anyother solution.. Hope this helps... Thank you Anweshi ________________________________ From: Bob Arnson <b...@joyofsetup.com> To: General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Sent: Tuesday, March 3, 2009 7:12:35 AM Subject: Re: [WiX-users] How to change the installed config file after msi setup Nan Zang wrote: > generate a new config file. But the problem is: I cannot launch the > application with administrator rights, so I always get "Access denied" error, > and there is also no "prompting window for admin rights". > MSI runs elevated processes only as deferred, no-impersonate custom actions. You can't use UAC to elevate in other conditions. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users