Page 1 of 1

[SOLVED] Appxbundle/msixbundle package

Published: October 8, 2021 - 8:40 AM
by TomTom
Hello everyone,

I'm getting motivated to start managing Microsoft Store apps via our WAPT server, but I'm stuck on installing these darn packages.
Here is an example of the code I use for deployment.

Code: Select all

def install():
    package_version = control.version.split('-')[0]
    bin_name = bin_name_sub % package_version
  
    print('Installing: %s' % bin_name)
    run_powershell('Add-AppxProvisionedPackage -Online -PackagePath %s -SkipLicense' % makepath(basedir,bin_name))
The installation seems to be going well, the program appears in the list of installed programs but it is impossible to run it.
There must be something I'm missing…

If anyone has already successfully deployed these apps and can shed some light on the process...

Thanks in advance
Thomas

Re: Appxbundle/msixbundle package

Published: October 14, 2021 - 2:58 PM
by dcardon
Hello,

shouldn't I run something like this (with the correct installlocation, of course): `

Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml`

Denis

Re: Appxbundle/msixbundle package

Published: October 27, 2021 - 8:42 AM
by TomTom
Hello Denis, and thank you for your help.

I finally found the source of my problem. A service was disabled on the test machine (wlidsvc).

Picture

Once this service was started, the application launched correctly. It seems these apps are required to connect to Microsoft; I'm not entirely sure why, but once launched with the service running, if it's subsequently disabled, the application continues to function correctly. It's only necessary on the first launch…

So, we can close this topic.

Thanks again,
Thomas