brokenzoe
Posts: 1
Joined: Mon May 10, 2021 10:26 pm

%userprofile% files

Mon May 10, 2021 10:29 pm

Hi,

The package I am working on generates setting files directly in %userprofile% and during the MSIX installation these files are omitted. Is there a fix for this?

Alex

Catalin
Posts: 6541
Joined: Wed Jun 13, 2018 7:49 am

Re: %userprofile% files

Thu May 13, 2021 5:59 pm

Hello Alex and welcome to our forums,

By default, an MSIX is installed/extracted in the %ProgramFiles%\WindowsApps folder.

This is a system location, inaccessible, by default, from Windows Explorer. Only the OS can write in this location when installing your app.

If your application needs to read from a file, it is recommended to write that file in the %appdata% folder, so your application can have access to it.

More information about this can be found in the following article:

Install Location

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

Return to “Common Problems”