Repackaging Installshield 5.0 installer to MSI and removing dependencies

时间:2018-09-19 08:25:33

标签: installshield msiexec sccm mdac

I have an installation package that installs a mapping program I use for work. As I now have to upgrade to Windows 10, unfortunately the program won't install as some components are no longer valid and it crashes out part way through installation.

The installer package has been made with Installshield 5.0 some time ago.

The dependencies installed are - dcom 95/98 - Visual C++ - Microsoft Data Access Components

I would like to remove the two dependencies visual c++ and MDAC as they are already present in my Windows 10 installation.

So far I have unpackaged the data1.cab with all the files. I have also decompiled the setup.ins script so it is now a .rul file with all the install commands.

Is there a straight forward way for me to remove the install commands and repackage?

Should I be looking a purchasing a license for Flexera Install Studio and learning some packaging skills!?

Or am I going about this the wrong way completely and could I just pass through a variable to the setup.exe file that specifies not to install the dependencies?

To add insult to injury I would like to get this to the stage where it can be installed silently within SCCM!

Anyway, any advice would be great - thanks.

2 个答案:

答案 0 :(得分:0)

如果您可以使用完整版本的InstallShield,它可以自动将您的旧安装程序转换为较新的MSI格式。我相信InsallShield IDE具有一些工具,可以监视您的旧安装并将更改打包到新的MSI项目中。

答案 1 :(得分:0)

虚拟机 :我会在虚拟机中运行这样的旧应用程序。既出于兼容性原因,又出于安全原因。我的理由是,这类旧应用程序可能存在安全性问题-即使兼容性团队努力防止这种情况。

兼容模式 :我从未尝试过以兼容模式安装这样的安装程序(我有,但仅用于在虚拟机上重新打包捕获文件,而不是用于实际安装) 。右键单击 setup.exe ,然后选择“ Troubleshoot Compatibility ”(或同等语言-没有英语操作系统)。现在,使用建议的兼容性设置运行安装程序。您也可以右键单击,转到“ 属性”和“ 兼容性”以查看兼容性设置对话框。

重新打包 :正如其他人提到的那样,您可以捕获安装并将其转换为MSI,然后可以通过SCCM以静默方式轻松分发该安装。对于简单的设置,此过程可能是微不足道的,但对于复杂的设置,则无需野餐。您必须具有相当多的Windows知识才能清理最终的捕获,因此它不是“松散的大炮”。建议您联系可以为您打包的部署顾问。 Application Repackaging Tool

提取并打包文件 :对于某些设置,可以从旧的setup.exe中提取所有文件,并根据经验和检查自己打包。再次,没有野餐,但最终的安装程序可能非常简洁。这完全取决于设置中有多少自定义逻辑,而不仅仅是文件和文件夹副本以及注册表写入。再一次,我将工作发给经验丰富的顾问,以节省时间和金钱。