Error creating MSIX packages - Advanced Installer Community
acriado
Posts: 3
Joined: Mon Feb 10, 2020 9:48 am

Error creating MSIX packages

Hi! i'm having problems to create MSIX packages, in this case using notepad++ I always get the same error:

ERROR: Invalid Portable Executable (PE) file. 'C:\Users\Acriado\Desktop\Notepad++-Files\Notepad++\FILES\ProgramFilesFolder\Notepad++\uninstall.exe' is not a valid Portable Executable for the build: 'Build_MSIX_APPX->x64'. Please select a different one.

I'm new in this program so I don't know if i'm doing all the steps correctly. Thanks.
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Error creating MSIX packages

Hello and welcome to Advanced Installer forums,

As you are new to this, I would suggest having a look over the following article written by my colleague, Bogdan:

MSIX Tutorial: A comprehensive 24-chapter guide

After doing so, please have a look over our "Create an MSIX/APPX package" article which I think you may find useful.

After doing so, please have a look over our "Repackaging an installation" article and then, in the end, please have a look over our "MSIX installer for Notepad++" YouTube video.

In what regards the error that you are getting, I am not quite sure you can convert the uninstaller (uninstall.exe) to an MSIX package.

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Error creating MSIX packages

Hello,

As a followup to my last thread:

After further investigations, I can confirm that the uninstall.exe executable can not be converted to MSIX.

The solution would be to delete it from your package, as it is pretty useless (for an MSIX package) anyway.

Please let me know if there is anything else I could help you with and I will be glad to assist.

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

Return to “Common Problems”