NSIS Changing config file present in XAP file i.e. silverlight component build
问题 I am creating one installer which needs to change config file of my one silverlight component. This component's config file is inside XAP file. Is there any way to change that config file? 回答1: Host your configuration file side-by-side with your XAP file. ../YourProject.XAP ../YourProjectSettings.XML The following code will download a file called "Settings.xml" which sits in the same directory as your XAP, and place it in Isolated Storage. You can then open/close/parse it as needed later.