Page 1 of 1

[SOLVED] Installing Windows Store software via WAPT (HEIC Extension)

Published: April 7, 2023 - 2:47 PM
by t.heroult
Hello,

I haven't found any information regarding my search: I would like to be able to trigger the installation of a program from the Windows Store using a WAPT package.
Are there any tools that allow this?
It involves the HEIC extension...

Regards,
Tom

Re: Installing Windows Store software via WAPT (HEIC Extension)

Published: April 7, 2023 - 3:54 PM
by Christophe
Good morning,

I have already created packages using this method:
https://www.it-connect.fr/microsoft-sto...kage-appx/

Here is an example of a WAPT package using Scratch 3 software:

Code: Select all

def install():
    bin_name = 'Scratch_3.Appx'
    print ('Installation %s' % bin_name)
    run_powershell('Add-AppxProvisionedPackage -Online -SkipLicense -PackagePath %s ' % makepath(basedir,bin_name))

Re: Installing Windows Store software via WAPT (HEIC Extension)

Published: April 13, 2023 - 10:22 AM
by jpele
Christophe wrote: Apr 7, 2023 - 3:54 PM Good morning,

I have already created packages using this method:
https://www.it-connect.fr/microsoft-sto...kage-appx/

Here is an example of a WAPT package using Scratch 3 software:

Code: Select all

def install():
    bin_name = 'Scratch_3.Appx'
    print ('Installation %s' % bin_name)
    run_powershell('Add-AppxProvisionedPackage -Online -SkipLicense -PackagePath %s ' % makepath(basedir,bin_name))

Good morning,

Thank you for your response, this method now exists in an automated form with the tis-template-microsoft-store-app package which allows packages to be created automatically from the console.
Available here:
https://wapt.tranquil.it/store/fr/tis-t ... -store-app

Once imported, simply run the update_package and the magic should happen ;)

By the way, `-SkipLicense` seems interesting; I haven't included it in the package, but I'm noting it down so we can potentially include it. Thanks again.


Sincerely,
Jimmy

Re: Installing Windows Store software via WAPT (HEIC Extension)

Published: April 14, 2023 - 9:53 AM
by t.heroult
Hi Jimmy,

it works fine.
I thought for a moment it wasn't working, but I just needed to do a session-setup. :)