Howdy,
I've got an MSIX Microsoft Store project, and for the most part it's working great, and I can upload builds to the MS store no problem.
However, when trying to automate the build process, I've run into some hiccups, and I can't find documentation on my specific problem.
My Advanced Installer version is a little bit old, at version 21.1
In an existing MSIX Microsoft Store project that was created in the GUI, I need to do the following via CLI or Powershell:
- Add/Remove files
- Add/Remove folders
- Update product version
However, I can't seem to do so. If I use the CLI (AdvancedInstaller.com), I can successfully load the AIP. However, trying to use the /AddFiles or /AddFolder etc, command line switches, gives me an error that appx cannot use such commands. Other commands, such as /build, work just fine.
So I tried to use the PowerShell interface instead, but this has been even more challenging. I can successfully load the AIP, but pretty much all of the components for editing the AIP are null or nonfunctional. For example, Files Component and FoldersComonent are both null. However, I can save the loaded project as a different AIP filename, and can see that its contents match the original AIP. So I know the AIP is at least being loaded correctly from the disk.
What am I missing here? Can MSIX Microsoft Store project files only be edited from the GUI?
If I really need to, I guess I could edit the AIP file's XML code manually, but that feels like a brittle solution that is going to break some time down the line.
Any help you can provide is much appreciated.