将 msi 转换为 msix:如何以 msix 格式传递用户输入? [英] Converting msi to msix : how to pass user inputs in msix format?

查看:31
本文介绍了将 msi 转换为 msix:如何以 msix 格式传递用户输入?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已使用 MSIX 打包工具将 msi 文件转换为 msix.现在,我应该如何传递我曾经在 msi 安装程序屏幕中提供/验证的所有输入?我已经检查了 msix 文件中是否有任何配置文件以提供输入,但那里没有这样的文件.

I had converted msi file into msix using MSIX packaging tool. Now, how should i pass all the inputs which i used to provide/validate in msi installer screens? I had already checked the msix file for any config file to provide inputs but no such file was there.

推荐答案

MSIX 和 MSI 包之间的差异,部署明智.

1) 可以使用 MSIX 修改包来应用其他自定义设置,例如新的注册表或文件,或者修改原始包的默认设置.这相当于应用于 MSI 包的 MST 文件,但有一些差异.

1) Applying additional custom settings, like new registry or files, or modifying defaults from the original package can be done with MSIX modification packages. This is the equivalent of MST files applied to the MSI packages, but with some differences.

MSIX 修改文件属性:

MSIX modification files properties:

  • 版本免费 - 即您可以安装新版本的应用程序而无需重新构建或重新部署修改包(这对于 MST 文件是不可能的)

  • version free - i.e. you can install a new version of your app without rebuilding or redeploying the modification package (this was not possible with MST files)

它们分别安装并作为两个单独的包运行,可以单独更新.您不必像以前为 MSI 和 MST 文件所做的那样,与主应用程序同时部署修改包.

they install separately and behave as two separate packages which can be updated separately. You do not have to deploy the modification package at the same time with the main app, like you used to do for MSI and MST files.

2) 您在 MSIX 包中没有自定义操作.包中的所有资源(文件、注册表、配置、默认值)都必须包含在您构建的 MSIX 包中,这样应用才能为用户相应地运行.

2) You don't have custom actions in MSIX packages. All the resources (files, registry, configs, defaults) from the package must be included in the MSIX package you build so the app can run accordingly for the user.

如果您需要用户输入某些配置,您将提示用户 第一次启动应用程序,而不是在安装过程中.

If you require user input for certain configs, you will prompt the user the first time the app is launch, not during the installation.

3) MSIX 软件包只能按用户安装.更多详情.

基本上,如果您的 MSI/EXE 正在某个远程服务器/位置上设置数据库,则目前无法使用 MSIX 程序包.您需要使用单独的安装程序来部署数据库.

Basically, if you had an MSI/EXE that was setting up a database on some remote server/location, this is currently not possible with an MSIX package. You need to use a separate installer for deploying the database.

这篇关于将 msi 转换为 msix:如何以 msix 格式传递用户输入?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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