Hi Pie, thanks for replying. 

I am trying to change the configuration file after msi, because, I have to 
collect a lot of data (about 30, and some of them are arrays) from the user and 
add those data to the configuration file. So, right now, after using msi laying 
down the bits, another exe configuration.exe will be launched which will read 
the data and 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". 

Thanks a lot, 

Nan

-----Original Message-----
From: Pierson Lee (PIE) [mailto:pierson....@microsoft.com] 
Sent: Monday, March 02, 2009 1:03 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to change the installed config file after msi setup

Is there a reason you don't want to do it through the MSI? You can edit the 
config file directly using XMLConfig/

-----Original Message-----
From: Nan Zang [mailto:naz...@exchange.microsoft.com] 
Sent: Friday, February 27, 2009 5:29 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] How to change the installed config file after msi setup

Hi, 

I am not sure if this is a wix question. But I prefer to get some advise from 
the setup expert here. 

I want to make an msi to install files (application.exe and 
application.exe.config) into Program Files Folder, and then from msi to launch 
another application to modify the application.exe.config file. However, I found 
my installed folder is "read only", so the user will get "access denied error" 
when modifying the config file. Is it possible to make the folder (or the 
config file) to be writable? Or is there any regular rules for this scenario? 

Thanks a lot, 

Nan    



------------------------------------------------------------------------------
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

------------------------------------------------------------------------------
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

Reply via email to