I would like to create a msi in which i created a lot of reg keys which i like to import on a client machine.
The Keys are HKLM Keys i need to import these with admin rights. How can i put the Admin Credentials to the msi file, so it will execute with admin rights on the client machine.
A package configured to install per-machine is always executed with Administrator privileges. The installation type can be set in the Install Parameters page. However, you can also use the EXE boostrapper with a "Require Administrator" execution level.
Regarding the registry entries, I'm not sure I understand what you need to do. Can you please give me more details about this?
we have a remoteprogram which users can execute on their clients.
The thing is now, cause the program communicates through 8080 port we need to give proxyinformation with the program. The Program stores the proxyinformation on the clientside in the Registry. If the User has only Userrights it will write the informations to HKCU, if the User has local Adminrights it will write it down to HKLM.
My solution was simple, to create a link on the clientmachines which executes a msi file which contains the regkeys and afterwards would execute the remote program.
It would be nice if i had a msi file with both HKCU and HKLM Keys witch would be imported with adminrights.
Like I mentioned in my previous post, you can try using the "Require Administrator" execution level for the EXE bootstrapper. When the installation is started through the EXE, the user will be prompted about elevation. This way, the package can run with Administrator privileges.
FOLLOW US
Get the latest news in Application Packaging