Vista EXE Permissions - Advanced Installer Community

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!

rgretta
Posts: 1
Joined: Fri Jul 10, 2009 10:34 pm

Vista EXE Permissions

Hello,

I've been using the freeware version of AdvInstaller.

The freeware version does not seem to set the permissions on Vista to have a normal (non-admin) user execute a program installed by the freeware version. The only way to execute the program once installed is to right click on it and select "run as administrator".

Is this correct? Or is there a way of configuring the install package to execute for a non-administrator.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Vista EXE Permissions

Hi,

The package can be configured to run on a non-administrator system. The first thing for doing that is to make the following setting:
- go to Install Parameters page, in the Installation Options group, there is the Installation Type option
- select from the combo box "Per-user only".

Also your application must fulfill these rules in order the run without administrator rights:
- it creates registry entries only under HKEY_CURRENT_USER
- it creates shortcuts only in the user's profile (not in per-machine locations)
- it writes information only in Per User locations (for example a normal user cannot write in the "Windows" or "Program Files" folders)
Because the user has no administrator rights he can't modify the LOCAL MACHINE keys or data from the folders like "Windows" or "Program Files".
Disregarding one of this rules will make the execution of the program to fail.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”