File Permissions - Advanced Installer Community
amardelli
Posts: 3
Joined: Wed Apr 01, 2020 8:28 pm

File Permissions

Hello All,
My MSIX package installs a "files" folder within the App RootDir where a config file should be accessed with read/write permission by the app. The MSIX works properly when I sideload it locally for testing.

When I upload to MS Store for distribution the app doesn't have access to this file and some features are lost (saved settings on close, etc). Going into the Windows Apps folder, the permissions on the file in question are as follows:
Installed from MS Store.PNG
Installed from MS Store.PNG (49.8 KiB) Viewed 1588 times
When sideloaded locally (and the app works normally), the permissions screen for the same file are:
installed from MSIX.PNG
installed from MSIX.PNG (48.39 KiB) Viewed 1588 times
Within Adv Installer, the permissions screen for that same file are:
Adv Inst permissions.PNG
Adv Inst permissions.PNG (29.13 KiB) Viewed 1588 times
In all cases my user is an admin, and even when I run the app as an admin it still doesn't work as it should.
Also, if I simply navigate to the file, edit it and try to save it, it returns a permissions error.

Can anyone assist in this? Thanks in advance.
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: File Permissions

Hello,

I have answered your other forum thread here:

viewtopic.php?f=2&t=45165&p=115587#p115587

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”