Hi There,
Am I able to set the applications .exe to "Run as Administrator" using Actual Installer.
Thanks for your help.
Best Regards,
Steve.
Run as Administrator
Re: Run as Administrator
You can only launch apps (with admin rights) from the setup program using System \ Commands.
Re: Run as Administrator
Steve,
I am curious as to why you need your application to run as an administrator? If you are writing to the registry, then be sure to use HKCU at run time. At install time, use HKLM, which is read only at run time. If you are writing files to the installation folder, then consider using either the %ALLUSERPROFILE% or the %USERPROFILE% folder.
If it is something else, can you let us know what that is? If your application requires Administrative privileges to run, you should be able to redesign the application so those privileges are not required.
Greg
I am curious as to why you need your application to run as an administrator? If you are writing to the registry, then be sure to use HKCU at run time. At install time, use HKLM, which is read only at run time. If you are writing files to the installation folder, then consider using either the %ALLUSERPROFILE% or the %USERPROFILE% folder.
If it is something else, can you let us know what that is? If your application requires Administrative privileges to run, you should be able to redesign the application so those privileges are not required.
Greg
-
- Posts: 9
- Joined: Sat Sep 04, 2010 4:44 pm
Re: Run as Administrator
Hi There,
It's because I have a .dll I need to register when installing and I am assuming I need to be administrator to do that.
Best Regards,
Steve.
It's because I have a .dll I need to register when installing and I am assuming I need to be administrator to do that.
Best Regards,
Steve.
Re: Run as Administrator
Steve,
You can do this during the installation, so that it does not have to be done when the software runs. In the left hand pane, under "Project" click the "Register" option, click the "Other" tab, click the "Add" button, select the "File" that you want to register, and then select the type of file to Register.
I hope this helps.
Greg
You can do this during the installation, so that it does not have to be done when the software runs. In the left hand pane, under "Project" click the "Register" option, click the "Other" tab, click the "Add" button, select the "File" that you want to register, and then select the type of file to Register.
I hope this helps.
Greg
Re: Run as Administrator
Greg, thank you so much!
You right, DLLs should be registered during installation.
Anyway, if anyone needs to make the EXE file to be run as administrator (outside the installer), here is described how to do it:
http://www.actualinstaller.com/forum/vi ... f=2&t=3009
You right, DLLs should be registered during installation.
Anyway, if anyone needs to make the EXE file to be run as administrator (outside the installer), here is described how to do it:
http://www.actualinstaller.com/forum/vi ... f=2&t=3009