Jul 13 2020 12:21 PM
Jul 13 2020 12:21 PM
I am trying to MSIX package an application that uses an INI file stored in the Application Directory itself to coordinate connections to an SQL server. Is there a way that I can tell my MSIX package to store this INI file in the user APPDATA/Profile folder and reference it there vice looking at C:\Program Files (X86)\<Application>\control.ini file?
By design you cannot edit anything in the application directory when deploying the MSIX app.
Jul 14 2020 05:15 AM
@John Wildes Can you please clarify what you want a bit more? Possible examples include:
Jul 14 2020 05:26 AM
Thank you for the suggestions! I realize I might not have been clear in my description of what I wanted. This is what I'm looking for :
Thoughts on how to accomplish this?
Jul 14 2020 05:41 AMSolution
So if I assume that changing the code of the app isn't an option and that you are repackaging, I would look at one of two methods:
Neither method is simple to provide detailed instructions, but the above outlines the basic techniques.
Jul 14 2020 05:55 AM
Thank you for the insight! I don't spend any time doing this at all, but I understand what you're explaining. I'll dig into these two options. Would you happen to have any links to Microsoft documentation surrounding the concepts that you're explaining below? I've got some promising results from my search queries, but if you have some favorites that you can share that would be awesome.
Jul 14 2020 06:19 AM
@John Wildes Documentation is pretty light.
For AppCompat Toolkit you look for videos by Chris Jackson. He has old, but great videos showing how to do it.
For the Psf, there is minimal docs on this topic (if any) via aka.ms/MSIX . The GitHub repro has scripting examples in the readme here: https://github.com/microsoft/MSIX-PackageSupportFramework/tree/master/PsfLauncher
I have some PsfTooling documentation and videos on my site at tmurgent.com (although nothing on scripting at this point). We do cover this sort of thing in our paid-for trainings.