将安装脚本转换为基本 MSI
有没有办法在 installshield 2010 中将 InstallScript 转换为 Basic MSI?
Is there a way to convert InstallScript to Basic MSI in installshield 2010?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
根据 Flexara 的 此文档,他们的 Repackager 产品可以从纯 InstallScript 转换到基本 MSI。 Repackager 仅在 InstallShield Premier 版或 AdminStudio 中可用。
我自己从未使用过该产品,因此我不能保证其有效性。
According to this documentation from Flexara, their Repackager product can convert from pure InstallScript to Basic MSI. Repackager is only available in InstallShield Premier edition or AdminStudio.
I have never used the product myself, so I cannot vouch for its effectiveness.
Installscript 项目可以归类为遗留安装技术。
基本 MSI 是在 Windows 计算机上安装应用程序的标准方法。
Installscript 引擎负责处理安装逻辑。这与旧的基于脚本的安装非常相似,这是 2000 年之前安装应用程序的唯一方法
。Windows Installer 引擎(或服务)负责安装逻辑。它读取 MSI 数据库并执行相应的步骤。因此,Basic MSI 是一个事务性安装过程。
Installscript 和 Basic MSI 项目没有可用的一对一映射。
如果无法从头开始编写基本 MSI,则重新打包是唯一的出路。
Installscript Projects can be classified as LEGACY installation technique.
The Basic MSI is the standard way of installing apps on Windows machines.
The Installscript Engine is responsible for handling the installation logic. This is very similar to the old SCRIPT-BASED installs which were the only way to install apps prior to 2000.
The Windows Installer Engine(or Service), takes care of the installation logic. It reads MSI database and performs steps accordingly. Thus, Basic MSI is a TRANSACTIONAL installation procedure.
There is no ONE-TO-ONE mapping available for Installscript and Basic MSI projects.
Repackaging is the only way out if writing a Basic MSI from scratch is not an option.
Wise Package Studio 可以通过预扫描和后扫描来捕获安装脚本。基本上,您对系统进行预扫描,扫描注册表、文件、版本、odbc 等。然后安装软件,并进行后扫描,其作用与预扫描相同。此方法对两者进行比较,看看您的系统有哪些变化。
另一种方法是在出现第一个提示时启动程序,然后单击“开始”>“运行> %TEMP%,然后单击“确定”。监视该目录中是否有任何存放的 .msi 文件。
如果您获得 .msi,则可以在命令提示符中使用“Msiexec.exe /i nameOfFile.msi /qb”进行静默安装。
我假设您是系统管理员。你的问题很好,希望我能够添加我的 2 美分并做出贡献。
著名软件:
智包工作室。
自动IT。
短信安装程序(在最坏的情况下)
Installscript can be captured by Wise Package Studio by doing a prescan and then a post scan. Basically you do a prescan of your system, which scans the registry, files, versions, odbc's, etc. Then you install you software, and do the post scan which does the same as the prescan. This method compares the two to see what changes you have to your system.
Another method is to launch the program at get to the first prompt, then click Start > Run > %TEMP% then click ok. Monitor that directory for any deposited .msi files.
If you get a .msi you can use in the command prompt "Msiexec.exe /i nameOfFile.msi /qb" to silently install.
I am assuming your a systems admin. Your question is great, hope I was able to add my 2 cents and contribute.
Notable Software:
Wise Package Studio.
AutoIT.
SMS Installer (In worse case situations)
我发现这个文章,它应该向您展示如何通过在“向导模式”下打开 Installscript MSI 或已编译的 MSI,相对快速地将 Installscript MSI 项目转换为基本 MSI “打开项目对话框”。
我还没有测试过它,但它应该可以完成工作。我不确定它是否能正确转换所有内容,但它可能足够好,因此您可以手动清理其余部分。
I found this article, it should show you how you can relatively quickly convert your Installscript MSI project to Basic MSI by opening either the Installscript MSI or a compiled MSI in "Wizard mode" from the "Open Project Dialog".
I haven't tested it, but it should do the job. I am not sure if it will properly convert everything, but it is probably good enough so you can clean up the rest manually.