[BUG] msixbundle fails to update from appinstaller
Project MSIX
Describe the bug After installing an msixbundle successfully by using the appinstaller from web subsequent updates will fail until the Delivery Optimization service is restarted (or the machine restarted)
When error occurs the event viewer shows a error in AppXDevelopment-Server Error 0x80070002: Opening the Msixvc package from location AppName.msixbundle failed. Please check whether the Msixvc support services are installed.
To Reproduce Install msixbundle via appInstaller (successful) produce a updated appInstaller/msixbundle invoke appInstaller again (fails)
Expected behavior msixbundle would update
Platform Windows 10 2004+
Additional context Issue has been reported here with no updates: https://techcommunity.microsoft.com/t5/msix-deployment/windows-10-2004-msix-not-updating-please-check-whether-the/m-p/1466701/
@msftrubengu COME ON
@msftphil PLEASE HELP.
I used to have this issue, but it went away after changing some things in my build process. What are you using for building, a YAML file? Could you post it here?
I use msbuild command line.
Could you write out what command and with which parameters?
msbuild.exe "/t:Rebuild /p:Platform=x64 /p:Configuration=Release /p:UapAppxPackageBuildMode=SideLoadOnly /p:GenerateAppInstallerFile=True /p:AppInstallerUri=http://localhost"
localhost will be replaced later in appinstaller file.
@MaikelScheffer
What does your output look like? @HppZ
What does your output look like? @HppZ
Please check whether the Msixvc support services are installed.
Ah. I thought that was when you tried opening the package, but there's no output at all? Not even in de bin or publish folders?
What does the log say? C:\Users\YOUR_NAME\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\AILog.txt
What bin/publish folders? I will share AILog.txt next time.