We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

psimard
Posts: 24
Joined: Tue Apr 24, 2018 8:03 pm

Program Files Folder Permission

I am attempting to set the permission on the Application Folder folder def in AI. I am assuming that this is related to the Program Files folder location the files are being installed to. It does not appear to be working. The permission on the folder does not change.


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

Re: Program Files Folder Permission

Hello Peter,

First of all, please let me clarify few things:

- the "Application Folder" (from the "Files and Folders" page) is, indeed, the folder where your files are installed.

- however, this is different than the "Program Files" folder - in the "Files and Folders" page. This folder refers to the following path:

C:\Program Files

(if the OS is located on the C drive, of course).

whereas the "Application Folder" refers to a path as it follows:

C:\Program Files\Your Company\Your Application

where "Your Application" is the folder that we are talking about (the one to which the "Application Folder" refers).

For more information about this, please have a look on our "Paths of the folders in the Files and Folders page" article, which I think you may find useful.

Now, in what regards your issue (trying to change the permissions for the "Application Folder"), can you please run the setup with elevated privileges? Please keep in mind that in order to change a permission, you have to provide elevated privileges.

In order to set your package to require administrator privileges, you can simply go to "Install Parameters" page and check the "Run as administrator" option from under the "Installation Options" section.

Hope this helps.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”