Forum Discussion
Annesly Rayan
Oct 04, 2018Copper Contributor
MSIX states the package is installed even when it has been uninstalled.
Hi All, I am new to this. I have packaged an exe program of mine and during the creation you need to run it so that the MSIX can capture what is needed. This all works fine and the file is created....
- Oct 29, 2018
Annesly Rayan wrote:
Am I understanding you correctly if I say that if I use an msi file to create the msix file, then the installation files are included with the msix?
Yes that is correct. All the files that the installer lays down as well as any changes in the registry will be captured in the MSIX package.
Annesly Rayan wrote:
Therefore my question is, if I use the msix to convert the msi file will I be able to distribute the msix file and will the users be able to install the software with the misx file
Yes as long as the msi installs all the bits that are necessary including dependencies. Once user installs the MSIX package all the files and registry keys that were captured during conversion will get installed.
As of now MSIX deplyment is only natively supported on windows 10 1809. For deploying on down-level OSes including Windows 7 and other platforms you need to use the MSIX SDK, see https://docs.microsoft.com/en-us/windows/msix/sdk-overview
- Peyman
Peyman Zanjani
Microsoft
Oct 25, 2018The MSIX package is replacing your application installer not the main executable it self.
Packaging tool captures the files that are being laid down with the msi installer during conversion. Your main exe is not installing the application binaries so what you are seeing is by design.
If your installer is a setup.exe that should still work, but if the app does not have an installer, you can manually package the app by not passing an installer in select installer page, and mimic the installer during the installation step by manually copying the main executable and other required binaries to the installation folder as well as make the required registry key edits.
Hope that helps!
-Peyman
Annesly Rayan
Oct 28, 2018Copper Contributor
Hi Peyman,
Thanks for the response.
Am I understanding you correctly if I say that if I use an msi file to create the msix file, then the installation files are included with the msix? or is the msix only the installation process and all installation files will need to accompany the msix file for the installation to take place?
Currently if I provide the msi file it contains all the installation files that are needed and I do not need to provide any further files just the one installation file (that is the msi file or the exe file).
Therefore my question is, if I use the msix to convert the msi file will I be able to distribute the msix file and will the users be able to install the software with the misx file or will I need to provide any other files with this for them to be able to install the files.
One further question is when will this be available for the users to be able to install msix files? Currently the file is not recognised on windows other than the machine that I have installed the insider version of windows 1809 on.
thanks for your help in advance.
Kind regards
Annesly
- Peyman ZanjaniOct 29, 2018
Microsoft
Annesly Rayan wrote:
Am I understanding you correctly if I say that if I use an msi file to create the msix file, then the installation files are included with the msix?
Yes that is correct. All the files that the installer lays down as well as any changes in the registry will be captured in the MSIX package.
Annesly Rayan wrote:
Therefore my question is, if I use the msix to convert the msi file will I be able to distribute the msix file and will the users be able to install the software with the misx file
Yes as long as the msi installs all the bits that are necessary including dependencies. Once user installs the MSIX package all the files and registry keys that were captured during conversion will get installed.
As of now MSIX deplyment is only natively supported on windows 10 1809. For deploying on down-level OSes including Windows 7 and other platforms you need to use the MSIX SDK, see https://docs.microsoft.com/en-us/windows/msix/sdk-overview
- Peyman
- Annesly RayanOct 29, 2018Copper Contributor
Hi Peyman,
Thank you, for answering all my questions.
Have a nice day.
Kind regards
Annesly