简体   繁体   English

InstallShield到WIX

[英]InstallShield to WIX

I have an .MSI that was created using InstallShield 2008. and now I need to use WIX to create a patch. 我有一个使用InstallShield 2008创建的.MSI。现在我需要使用WIX来创建补丁。 Is this possible using WIX directly or do I need to convert my Installshield .ism source to a WIX project 这可能是直接使用WIX还是我需要将我的Installshield .ism源转换为WIX项目

You can create patches using the WiX toolset as long as you have the base MSI and the updated MSI. 只要拥有基本MSI和更新的MSI,您就可以使用WiX工具集创建补丁。 See http://blogs.msdn.com/pmarcu/archive/2008/05/30/Patching-something-you-didnt-build-with-WiX-using-WiX-.aspx for more information. 有关详细信息,请参阅http://blogs.msdn.com/pmarcu/archive/2008/05/30/Patching-something-you-didnt-build-with-WiX-using-WiX-.aspx

Provided your Installshield MSI is a standard MSI and not an MSI with custom dialog boxes (generally referred to as an Installscript MSI), it should be possible to create the update with WIX. 如果您的Installshield MSI是标准MSI而不是具有自定义对话框的MSI(通常称为Installscript MSI),则应该可以使用WIX创建更新。 That's not to say this will be easy. 这并不是说这很容易。 You would need to match up all component GUIDs and preferably keep the directory table structure identical among other things. 您需要匹配所有组件GUID,并且最好保持目录表结构相同。 Could be serious trouble. 可能是严重的麻烦。

If you still want to try this I would decompile the Installshield MSI with dark.exe, eliminate unnecessary sections such as the Installshield GUI dialogs (unless you have custom logic in your dialogs) and in general try to simplify things as much as possible. 如果您仍想尝试这个,我会使用dark.exe反编译Installshield MSI,删除不必要的部分,例如Installshield GUI对话框(除非您在对话框中有自定义逻辑),并且通常尽量简化操作。 Wix has ways to insert the necessary "default elements" of an MSI (such as the GUI) if you omit code for it in your WIX source file and include defaults. 如果在WIX源文件中省略了MSI的代码并包含默认值,Wix有办法插入MSI的必要“默认元素”(例如GUI)。

All in all I wouldn't recommend this unless you have prior WIX and Installshield experience. 总而言之,除非您具有WIX和Installshield之前的经验,否则我不会建议这样做。 I have both, and I think it would take me a fair time to complete this successfully, but it all depends on the complexity of the setup itself. 我有两个,我认为这需要一段时间才能成功完成,但这一切都取决于设置本身的复杂性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM