Hi all
On the MSIx package dependency feature on the AdminStudio MSIx Editor, please can someone explain the difference between a Package Dependency and a Main Package Dependency?
I've managed to get the Package Dependency feature to work, but if I put a Package Name, and Publisher into Main Package Dependency just it just errors with:
An optional package cannot contain /*[local-name()='Package']/*[local-name()='Capabilities']
Cheers
Keir
‎Dec 16, 2020 09:44 AM
Package Dependency and Main Package Dependency are two different types of dependencies an MSIX package can have.
Package Dependency is like a prerequisite package on which the MSIX is dependent on. These are generally framework packages like VC++ libs etc. When installed from Microsoft Store, the packages defined in Package Dependency get installed automatically before the actual MSIX package.
Main Package Dependency is applicable only for a Modification package. For a Modification package, its parent MSIX package should be added as a Main Package Dependency, so the Modification package can uniquely identify its parent MSIX package and apply the modifications defined in the package.
I hope that helps.
‎Dec 16, 2020 11:08 AM - edited ‎Dec 17, 2020 12:14 AM
Package Dependency and Main Package Dependency are two different types of dependencies an MSIX package can have.
Package Dependency is like a prerequisite package on which the MSIX is dependent on. These are generally framework packages like VC++ libs etc. When installed from Microsoft Store, the packages defined in Package Dependency get installed automatically before the actual MSIX package.
Main Package Dependency is applicable only for a Modification package. For a Modification package, its parent MSIX package should be added as a Main Package Dependency, so the Modification package can uniquely identify its parent MSIX package and apply the modifications defined in the package.
I hope that helps.
‎Dec 16, 2020 11:08 AM - edited ‎Dec 17, 2020 12:14 AM
Thats great, thanks 🙂
There isnt a user guide for this app is there by any chance? I've not been able to find one.
‎Dec 17, 2020 02:33 AM
There is a user guide for MSIX Editor. Click on About MSIX Editor button in the ribbon and then click Help button on the dialog box to see the user guide:
‎Dec 17, 2020 05:19 AM
ah, thats where it is, many thanks for the quick replies 🙂
‎Dec 17, 2020 05:56 AM