change folder permissions with simple installer - Advanced Installer Community
fatecasino
Posts: 3
Joined: Sun Feb 26, 2017 4:02 am

change folder permissions with simple installer

I have created a very simple application which is able to create and save txt files in the application folder (Program files)
My problem is that I have permission problem and my application cannot create any files in that folder because it doesn't have the permissions to do so.
***Is it possible to change the application folder permissions with simple installer?
The only workout I found was to right click->run as admin on the exe.
***Is there a way to make the application .exe to ask for admin rights when I double click on it?

Thanks?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: change folder permissions with simple installer

Hello,
***Is it possible to change the application folder permissions with simple installer?
The folder permission is available starting with the Professional edition of Advanced Installer.
***Is there a way to make the application .exe to ask for admin rights when I double click on it?
Note that you can create a shortcut and enable the Run as administrator option from the shortcut properties.
I have created a very simple application which is able to create and save txt files in the application folder (Program files)
There are predefined locations where an user can read/write, like the Temp folder or Application Data.

Please let me know if you have any questions.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”