将.msi转换为.exe的最佳工具套件是什么? [英] What is the best tool kit to transform .msi into .exe?
问题描述
我想将.msi封装到.exe中以便添加:
I would like to encapsulate a .msi into an .exe in order to add:
- 硬编码文件夹位置,例如C:\ Program Files(x86)\ TEST \
- 添加安装版本文件
- 使用静默安装
- 使用命令行开关(安装/卸载)
- 日志生成
- 添加Windows注册表脚印
推荐答案
MSI自定义 :自定义要安装的MSI文件是该技术的内置功能.有两种主要的自定义安装方式:
MSI Customization: Customization of MSI files for installation is a built-in feature of the technology. there are two primary ways to customize the installation:
-
轻量 :您可以在命令行上将 PUBLIC属性设置为轻量级自定义形式,在此处采样和
Light Weight: You can set PUBLIC properties on the command line as a light weight form of customization, sample here and here, or...
msiexec.exe /i setup.msi ADDLOCAL="Core,Spell" SERIALKEY="1234-1234" /qn
重量级 :使用转换(更改的数据库片段)对整个安装程序进行较大的更改-您可以更改整个程序包中的几乎所有内容.
Heavy Weight: Use transforms (database fragments of changes) to make large changes to the whole installer - you can change almost anything in the whole package.
msiexec.exe /i setup.msi TRANSFORMS="mytransform.mst" /qn
工具 : 主要的MSI工具 -可用于制作和自定义MSI文件的主要工具.还有一些(主要是)免费的MSI工具. Orca可用于进行转换-MSI文件的自定义片段.请参阅最后一个链接,了解如何下载/安装它.
Tools: Major MSI tools - the major tools available to make and customize MSI files. And some (primarily) free MSI tools. Orca can be used to make transforms - customization fragments for MSI files. See that last link for how to get it downloaded / installed.
msiexec.exe命令行 :msiexec.exe命令行很复杂,有些不寻常:
msiexec.exe Command Line: The msiexec.exe command line is complex and somewhat unusual:
- msiexec.exe Command-Line Options
- Msiexec.exe Command Line (Advanced Installer)
有这个古老的工具可以帮助构建命令行.不再正式可用,但可以从档案中获取.
There is this ancient tool that can help to build command lines. No longer officially available, but it might be gotten from archives.
链接 :
Links:
- 如何更好地利用MSI文件(
actual explanation of MSI customization via transforms
) - 如何运行/silent模式下具有已调整设置的安装
- MSI重新打包-免费工具
- How to make better use of MSI files (
actual explanation of MSI customization via transforms
) - How to run an installation in /silent mode with adjusted settings
- MSI Repackaging - free tool
进一步 :进一步的链接-仅供参考,以上内容就足够了.
Further: Further links - just for reference, the above should suffice.
- 可以运行.msi安装程序后确定生成的命令行?
- 如何在linux服务器?
- 如何使用SCCM服务器
- 如何卸载危险的MSI软件包
- 如何标记或自定义二进制文件(例如安装程序)
- Microsoft Installer命令行字符串参数不起作用吗?
- Can the resulting command line be determined after running an .msi installer?
- How to build MSI package on a linux server?
- How to convert an MSM file into an MSI file on the command line? Doing this with the Windows Installer SDK, or COM
- How to push MSI with parameter using SCCM server
- How to uninstall dangerous MSI package
- How to tag or customize the a binary (for example of an installer)
- Microsoft Installer command line string parameter not working?
这篇关于将.msi转换为.exe的最佳工具套件是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!