How to do Text file changes in a ZIP file in InstallShield Basic MSI project

我是研究僧i 提交于 2019-12-25 04:49:09

问题


How to do Text file changes in a ZIP file in InstallShield Basic MSI project. I am not able to do Text file changes in a file which is inside a zipped file.


回答1:


InstallShield does not offer this capability, at least not now. You will have to either surround the call to the text-file-changing custom action with ones that extract and replace the zipped file (the text file changes would operate on the temporary copy), or implement the whole thing yourself in one step. I'm not sure which approach will be easier.




回答2:


In your situation, I would reframe the design and requirement. Silverlight .XAP files are typically digitally signed. Any attempt to modify the archive would invalidate this. It's also needlessly complicated.

Instead, change your application to use an external configuration file. native InstallShield functionality can then be used to update this file. For a possible approach, see:

Creating and Using Silverlight web.config app settings (Web.config Configuration Applicatioin Settings) or app.config application settings configuration file for Silverlight



来源:https://stackoverflow.com/questions/28627796/how-to-do-text-file-changes-in-a-zip-file-in-installshield-basic-msi-project

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!