We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

pok.lau
Posts: 7
Joined: Fri Nov 09, 2018 1:49 am

Building optional package for AppX/MSIX build

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: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Building optional package for AppX/MSIX build

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: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Building optional package for AppX/MSIX build

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

Return to “Building Installers”