[英]how to change settings every time when I create setup
I have developed a wpf application for a client and I dont want to give the source code.我为客户开发了一个 wpf 应用程序,我不想提供源代码。 Since the client wants to change the logo and few links in the application for his different set of users, how can I give a functionality for him to create a setup with different settings each time?
由于客户想要为他的不同用户组更改应用程序中的徽标和少量链接,我怎样才能为他提供每次创建具有不同设置的设置的功能?
I thought of giving the debug folder so that he can change the exe.config and create the setup with Inno setup.我想给调试文件夹,以便他可以更改 exe.config 并使用 Inno setup 创建设置。 is this the right way or can you please guide me another solution?
这是正确的方法还是请您指导我另一种解决方案?
Thanks, Venkz谢谢,文克兹
Why don't you create an "app.config" (application configuration) file?为什么不创建一个“app.config”(应用程序配置)文件? It's just a simple XML file with defined syntaxes or you can define your own configuration settings.
它只是一个带有定义语法的简单 XML 文件,或者您可以定义自己的配置设置。
For more info about this, see this on MSDN: http://msdn.microsoft.com/en-us/library/kza1yk3a.aspx有关这方面的更多信息,请参阅 MSDN: http://msdn.microsoft.com/en-us/library/kza1yk3a.aspx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.