将.msi转换为.exe的最佳工具套件是什么? [英] What is the best tool kit to transform .msi into .exe?

查看:111
本文介绍了将.msi转换为.exe的最佳工具套件是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将.msi封装到.exe中以便添加:

I would like to encapsulate a .msi into an .exe in order to add:

  1. 硬编码文件夹位置,例如C:\ Program Files(x86)\ TEST \
  2. 添加安装版本文件
  3. 使用静默安装
  4. 使用命令行开关(安装/卸载)
  5. 日志生成
  6. 添加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:

  1. 轻量 :您可以在命令行上将 PUBLIC属性设置为轻量级自定义形式,在此处采样

  1. 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:

    • 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.

    • 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屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆