jrahma
Posts: 51
Joined: Wed Jan 07, 2009 11:56 am

Beginner question about MSIX

Fri Mar 15, 2019 7:31 pm

Hi,

I have downloaded the free edition and want to ask can I use MSIX on any Windows or it's just on Windows 10?

For example, can I use it on Windows Server as well?

Thanks,
Jassim

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Beginner question about MSIX

Mon Mar 18, 2019 2:33 pm

Hello Jassim,

The MSIX is available starting with:

- for Windows Server: Windows Server 2016 (Long Term Servicing Channel) version 1607.

- for Windows: Windows 10 version 1507.

Hope this helps.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

TTbeelivio
Posts: 9
Joined: Fri Mar 13, 2020 1:39 pm

Re: Beginner question about MSIX

Thu May 21, 2020 11:13 am

Hello fellow,

I want to create an MSIX installer project for out UWP application build using Visual Studio 2019.
I use AI v17.0.0 and i wonder what should be the contents of the installer project?

When i try to create the project AI offers two options:
1 - create from scratch
2 - create from old package

STEP 1: Create MSIX from old package
When i go with create from old package there is only one option for me to choose so i choose the highlighted APPX as shown in the image below.
InkedAPPDEBUG1_LI.jpg
InkedAPPDEBUG1_LI.jpg (488.62KiB)Viewed 3197 times
This gives an error like this:
oldpackage_error.png
oldpackage_error.png (12.8KiB)Viewed 3197 times

STEP 2: Create MSIX from Scratch
1 - we input the name of the project and company
2- input paths
3 - choose project files
1.png
1.png (14.71KiB)Viewed 3197 times
where i have placed the output content of the BUILD project from Visual studio (C:\...\project\bin\x64\Debug) which contains 5 appx packages of which
four of them are with suffix scale-100, 125, 150, 400 and the biggest in size Debug.appx as highlighted in the first image.
4 - finish the project and it builds automatically without any errors.
5 - i try to run the generated MSIX it opens a window which says "CANNOT OPEN APP PACKAGE" having reason: Error in parsing the app package.

so my next step was i tried to digitally sign and run the AI build again then it throw me an error like this:
Checking builds status
Build required.

[ Build_MSIX_APPX ]
Detecting Signtool compatibility
Detecting MSIX/APPX incompatible resources
WARNING: UWP Application. The application ConversionAgentRec.exe targets a .Net version lower than 4.6.1. You must re-target your application.
Creating resources.pri file(s)
Building MSIX package:
C:\Users\timotej.jakimovski\Documents\Advanced Installer\Projects\T2\Build_MSIX_APPXSetupFiles\T2-x64.msix
Preparing files
Preparing data for MSIX package
Creating AppxManifest.xml file
Validating AppxManifest.xml file
Creating registry file(s)
Creating [Content_Types].xml file
Creating MSIX file
Signing MSIX file
The digital signing of the MSIX/APPX failed. Error message: 'Done Adding Additional Store

Number of errors: 1
SignTool Error: This file format cannot be signed because it is not recognized.
SignTool Error: An error occurred while attempting to sign: C:\Users\timotej.jakimovski\Documents\Advanced Installer\Projects\T2\Build_MSIX_APPXSetupFiles\T2-x64.msix
File "C:\Users\timotej.jakimovski\Documents\Advanced Installer\Projects\T2\Build_MSIX_APPXSetupFiles\T2-x64.msix" can not be signed!

For a possible solution please check our Digital Signature FAQ from:
https://www.advancedinstaller.com/user- ... ature.html '

Build finished because an error was encountered.
I am very confused about building this kind of installer and UWP project as well so any thoughts and suggestions are welcome.

Thank you

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Beginner question about MSIX

Mon May 25, 2020 2:58 pm

Hello Timotej,

In what regards the first point, unfortunately I can not say for sure why that happens. I have forwarded this to our development team for further feedback on this issue. I will let you know once we'll reach a conclusion.

In what regards the second point, please note that I have answered your forum thread here:

viewtopic.php?f=2&t=36104&start=15#p116385

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”