I have an automatically generated .appinstaller and it's namespace is always http://schemas.microsoft.com/appx/appinstaller/2017/2. I need http://schemas.microsoft.com/appx/appinstaller/2018 to add properties into OnLaunch tag like ShowPrompt etc. But in http://schemas.microsoft.com/appx/appinstaller/2017/2 there is no way to add it. I have already updated all referenced packages and all contained projects target version to required. The virtual environment is windows-2022. I can not create installer by manually because the build system is running automatically. I have read all articles and posts but no answer..
Asked
Active
Viewed 64 times
0
-
Could you not change/add the namespace the same way that you add the OnLaunch tag? – marv51 Aug 29 '22 at 08:46
-
I'm wondering the same thing. Pouring through documentation but no luck. – Lenny Sockman Sep 19 '22 at 19:41
-
@marv51 if you manually change the deployed appinstaller file the publish will simply overwrite it. – Lenny Sockman Sep 19 '22 at 19:41
-
You can disable the generation of the appinstaller completely by setting: `/p:GenerateAppInstallerFile=False` for msbuild. Maybe that helps? Alternatively, you can create a different .appinstaller file with a different name, or modify it with a script after each deploy. – marv51 Sep 20 '22 at 09:07