Forum Discussion
Msix more file install
Hi lcdiet
This could happen if your app relies on the current working directory to load/read the other files, or if you are trying to write in any of the files.
If a simple read operation fails, than you might need to specify a custom working directory. By default an app packaged as MSIX is launched with System32 as a working dir. The MSIX packaging tool does not have an option to edit the working dir (from what I know), I recommend you use the free Express edition from Advanced Installer to generate the MSIX package. This tool allows you customize the working directory from its GUI.
If you are getting the error because the application is trying to write in any of those files, then you need to redirect the app (i.e. stop writing in the installation folder - this is not supported by MSIX packaged apps).
If you have the source code of your app and can modify it, I recommend you configure your app to store those files in the AppData user folder.
If you don't have access to the source code then you can use the Package Support Framework (PSF) integration from Advanced Installer to inject a file redirection fixup in your package.
More details - how files redirections work with MSIX and PSF
Disclaimer: I work on the team building Advanced Installer