Ren
Posts: 1
Joined: Tue Oct 14, 2025 9:13 am

Edit Appx/.msiupload project from CLI?

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.
Catalin
Posts: 7528
Joined: Wed Jun 13, 2018 7:49 am

Re: Edit Appx/.msiupload project from CLI?

Hello Ren and welcome to our forums,

Unfortunately, it looks like we do not have support for this specific project type.

However, I have added this on our TODO list of improvements and our CLI support should be available in a future version of Advanced Installer for Windows Store Project type as well.

Until then, I would suggest you keep using the UI, as modifying the XML behind is strongly advised against (the project can get corrupted real quick).

Thank you for your understanding!

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

Return to “Building Installers”