问题
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.
回答1:
Differences between MSIX and MSI packages, deployment wise.
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 modification files properties:
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)
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) 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 packages can install only per-user. More details.
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.
来源:https://stackoverflow.com/questions/54061458/converting-msi-to-msix-how-to-pass-user-inputs-in-msix-format