Building optional package for AppX/MSIX build

Need help authoring your installer? Ask the community for tips and advice.
Post Reply
pok.lau
Posts: 5
Joined: Fri Nov 09, 2018 1:49 am

Building optional package for AppX/MSIX build

Post by pok.lau » Wed Oct 23, 2019 6:53 am

How to configured optional packages that references to the MainPackage?

According to the Microsoft document https://docs.microsoft.com/en-au/window ... l-packages Optional packages is referenced as <uap3:MainPackageDependency Name="[MainPackageDependency]"/>

Tried adding dependency in the optional package to reference the main package, instead of <uap3:MainPackageDependency Name="[MainPackageDependency]"/>, the AppManifest.xml actually added the dependency as
<PackageDependency Name="MainPackage" MinVersion="x.0.0.0" Publisher="[digital signature id of the main package]"/>

The AppInstaller throws back a message of "App Installer failed to install package dependencies. Ask the developer for MainPackage package." when trying to install the optional package.

Dan
Posts: 4466
Joined: Wed Apr 24, 2013 3:51 pm

Re: Building optional package for AppX/MSIX build

Post by Dan » Fri Oct 25, 2019 2:03 pm

Hello,

We don't have yet support for this but we are working on this. Once this feature will be available in Advanced Installer, I will let you know.

Thank you for your suggestion.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Daniel
Posts: 8142
Joined: Mon Apr 02, 2012 1:11 pm
Contact:

Re: Building optional package for AppX/MSIX build

Post by Daniel » Mon Oct 05, 2020 6:13 am

Hi,

Starting with version 17.5 of Advanced Installer, released on September 22nd, 2020, we have added support for MSIX Optional Packages.

https://www.advancedinstaller.com/download.html

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Post Reply