Jul 02 2020 02:16 AM
Jul 02 2020 02:16 AM
I hope that topic fits in this board. I want to deploy a Windows-Store-App with a customInstall-Action as I need Dokany installed on the local system to create a Virtual File System that I want to manage with a UWP-app. The app itself works, but I do not get the Package-Project to pre-install the Dokany-Prerequisit. On install, I get an "invalid manifest" error, which is quite unspecific. I followed the instructions on how to use the customInstall-extension.
This github-issue describes the same problem - I've got to your community by a hint from there:
This is the open-source-project where I need to deploy dokany before my own app:
You can find the appx-manifest in question here:
Can someone tell me, if:
- customInstall is available for everybody? The doc says only for partners and for certain games, but the github-issue does not mention that restriction.
- if my manifest is correct or where I may have an error.
Thank you very much!
Jul 02 2020 02:30 AM
I don't think you will get this working. We tried to leverage the customInstall support in Advanced Installer too and the reply we got was a standard "no". As mentioned in the docs:
This element is currently intended to be used only by certain types of desktop PC games that are published by Microsoft and our partners.
Jul 05 2020 09:12 AM
@TopperDEL If looking to use the PSF scripting support to run a PowerShell script, you need to be aware of the following:
I will also mention this. If the destination location to place files is outside of the folder coverage of files inside the package, files created by processed in the container are placed outside of the virtualized file system. For example, if you don't include any files in the Documents folder in the package, a file written will end up in the real documents folder.
Writing files outside of the container that are not intended for use by other applications is not in-line with Microsoft's "never regret" strategy with MSIX, where removal removes everything. So if you are talking about files only used by the app, consider if external writing is actually needed. When client-side customizations are needed, I have used an in-container script that writes to the redirected location (using the new %MSIXWritablePackageRoot% pseudo-variable supported by Psf Scripting) to solve the problem and support "never regret".
Aug 03 2020 03:49 AM
I still did not get it to work.
The "customInstall" has been constantly rejected from Microsoft - that fits the expectations from the documentation.
PSF did not work on my side, either. Is this really usable for Store-Apps @Bogdan Mitrache? Unfortunately John Vintzel did not respond here yet.
Currently I'm a completely lost as I 1. do not know if PSF is really supported in my case and 2. if there is a "legal" and "official" way to install Dokany via MSI together with my store-app.
Aug 04 2020 04:18 AM
I doubt Microsoft will allow you to publish this in the store. But you should be allowed to publish it directly on your website, using an appinstaller file.
The appinstaller file also allows you to configure auto-updates using the OS's native support, even if the app is not deployed through the Store.
Hope it helps,
Sep 20 2021 01:59 PM