/build/static/layout/Breadcrumb_cap_w.png

ADMIN INSTALL FOR MSI

Is there a way of making an msi install with admin priviledges using WISE or INSTALLSHIELD?. i have this msi that installs fine as an ADMIN but self heals several times as NORMAL USER.

GIZ

0 Comments   [ + ] Show comments

Answers (2)

Posted by: laszlo 17 years ago
Senior Yellow Belt
0
hi giz,

if you set the regkey AllwaysInstallElevated=2 (there are two locations one in HKLM one in HKCU) the msi will
get some more rights (well actually all msi's, you might consider to set them back to =0 after your install is done).

with common deployment tools like sms or zenworks, you can run the msi in "system context"

if you just want to use your msi
problem might be regkeys or folders/files where the user has no access -> find them using regmon and filemon(or any tool
capable of tracing reg or file changes) and set the proper permissions in your application.

Martin
Posted by: gizmolala 17 years ago
Third Degree Blue Belt
0
tnx martin.

Just found out the the file it installs when u login as ADMIN is MSXML3.INF
It installs this file and everything works fine when u login as NORMAL USER.

There's a merge module for this file in the msi. Is there a way i can use permission for the MSXML3.INF file?

Giz
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ