Questions tagged [appx]
245 questions
1
vote
1 answer
PowerShell code to tie a firewall rule to a WindowsApps executable on Windows 10
I need to come up with PowerShell code that puts a firewall rule in place, where this rule is tied to an executable that, in its turn, comes from an installed AppX package. The executable, thus, sits beneath C:\Program Files\WindowsApps.
Firewall…

Altus
- 23
- 4
1
vote
0 answers
How to replace a .winmd in a customer's .appx, .msix, .msixbundle package?
Scenario : A customer is using my SDK (a .winmd file), and is reporting a problem. They have sent me their .appx file. I wish to replace the SDK in their .appx file with a debug version of my SDK, so that I can debug the customer's problem.
I…

Greg Thatcher
- 1,303
- 20
- 29
1
vote
1 answer
Updating a software from the MS Store using the msixBundle file with a powershell command
I need to prepare a powershell script, that I can use after installing Windows. The script will install basic programs with Winget.
The problem is, that after an installation of Windows, the App Installer isn't updated, so the Winget can't work.
In…

Eli123
- 21
- 5
1
vote
1 answer
How to Sign appx / msix package using SignTool in GitHub Actions
I'm trying to do the equivalent of this command on a Windows GitHub Actions runner:
SignTool sign /fd sha256 /a
/f $certificatePath /p $certificatePwd $Packages_2Sign
This results in the following error on GitHub Actions:
| The term…

Coden00b
- 87
- 1
- 8
1
vote
2 answers
Get-Help shows `-AllUser` parameter for Remove-AppxPackage, so why won't the cmdlet won't accept it?
I need a way to reliably remove all Appx Package from a system that start with a given string. On most systems the following works:
Get-AppxPackage -all MyApp* | Remove-AppxPackage -AllUsers
However for two systems I get the following:
PS…

Liam Kelly
- 3,524
- 1
- 17
- 41
1
vote
0 answers
Failed to Install wsl Ubuntu on Windows Server Core via cmdlet Add-AppxPackage
Please be aware that I'm using Windows Server Core.
I was following instruction in https://learn.microsoft.com/windows/wsl/install-on-server but failed at step 2 with following output
PS C:\Users\Admin\Downloads\Ubuntu> Add-AppxPackage…

BrandonStudio
- 97
- 7
1
vote
0 answers
How to retrieve list of files in MSIX package with PowerShell
I have a msix package (I have msix file and appxsym file) and I want to retrieve list of files inside of msix package with PowerShell programmatically.
I can do this with MSIX Packaging Tool, But I want to do it with PowerShell cmdlets.

sorosh_sabz
- 2,356
- 2
- 32
- 53
1
vote
0 answers
How to Launch app "Microsoft Company Portal" from the command line cmd.exe
How to Launch app "Microsoft Company Portal" from the command line cmd.exe
I'm working on a batch file that performs an on demand Company Portal Sync via PowerShell, but I'd like to open Company Portal from the batch file as an option.
Is there a…

Ron K.
- 123
- 8
1
vote
1 answer
Failed to extract imported API information for this application in Windows Store app submission
I am trying to publish an appx on the Windows Store built with electron-builder.
In the repport, I get this error: Failed to extract imported API information for this application
I have no idea about what this is supposed to mean and I found no…

Sharcoux
- 5,546
- 7
- 45
- 78
1
vote
2 answers
Install shell extension conditionally
Reference: Integrate a packaged desktop app with File Explorer
https://learn.microsoft.com/en-us/windows/apps/desktop/modernize/integrate-packaged-app-with-file-explorer
I now know how to install a shell extension custom menu item in the File…

user173399
- 464
- 5
- 21
1
vote
0 answers
MSIX AppInstaller updates not working on Windows version 20H2 reliably
I created an WPF application that I am attempting to install on different versions of windows and a variety of machines. On the machine that I have been building the application everything has been fine. I built the .appinstaller file using…

Charles Jennings
- 11
- 1
1
vote
2 answers
Uninstall all apps without those installed by me the user with get-appxpackage
I want to uninstall all of the apps preinstalled on windows without uninstalling those apps that I installed. I know that I can specify the apps by name, but I want to run this script without manually update it when I install an app.
My script looks…

thatsIT
- 2,085
- 6
- 29
- 43
1
vote
2 answers
Electron JS App still has default Icons (.appx file built with electron-windows-store)
I've tried every solution I could find online but the logo keeps defaulting to electron logo. I do see my logos in the pre-appx/assets folder alongside the default Sample*.png files.
This is the command I use to build the appx…

Dominic Mostert
- 11
- 1
1
vote
1 answer
Where to set icons/logos for @electron-forge/maker-appx?
I haven't been able to figure out how to specify logos for my Electron app when building an .appx with @electron-forge/maker-appx. I've put logos StoreLogo.png, Square150x150Logo.png, Square44x44Logo.png, Wide310x150Logo.png inside the build…

Çağatay O. Şengör
- 13
- 4
1
vote
0 answers
I can not run Windows apps without Internet
My work computer doesn't have a network connection.
But I need to install specific appxs.
I installed Windows Terminal from .msixbundle file.
I installed Ubuntu 20.04 (WSL distro) from .appx file.
They were downloaded and moved to my pc from…

groser
- 319
- 1
- 11