Automatic way to update component code in InstallShield Basic MSI project

这一生的挚爱 提交于 2019-12-11 03:04:24

问题


I have InstallShield 2013 Basic MSI project Is there an automatic way using a tool or script to automatically update all component code in the project ?


回答1:


First question: why do you want to do that? A component GUID is set in stone for all absolute paths it references. See a description of this here: Change my component GUID in wix?

If you are familiar with COM automation, you should be able to automate the generation of new GUIDs in your project using the Installshield automation interface.

There are only a few cases where such an operation is logical and valid. If you are looking to install the same product many times, you can check out instance transforms. I have no real experience with this - I dislike the concept, but here are some pointers:

  • Installing Multiple Instances with Instance Transforms
  • Authoring Multiple Instances with Instance Transforms
  • Configuring and Building a Release that Includes Multiple-Instance Support
  • Multiple Instances Tab for a Product Configuration


来源:https://stackoverflow.com/questions/22962090/automatic-way-to-update-component-code-in-installshield-basic-msi-project

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