Verify that you have sufficient privileges to install system services
I have a msi package which I modified it in a way now unprivileged user can install it but when installing after some progress in a progress bar a pop up generate saying that "Verify that you have sufficient privileges to install system services". Since it is a permission issue message so I installed it as an administrator account but no luck pop up again generate and saying "Verify that you have sufficient privileges to installe system services". I googled but not find relevant answer to this. Can anyone let me go in the right direction?
2 Comments
[ + ] Show comments
-
not appropriate - philipadi 8 years ago
-
abc - philipadi 8 years ago
Answers (2)
Please log in to answer
Posted by:
rileyz
8 years ago
Sure, were your on tap knowledge... ...
How have you modified the MSI, did you do it via a TRANSFORM - let hope so.
Also (someone correct me if I am wrong) a service requires elevation to be added, specially applies to a SYSTEM service. And in response to your error, I have a suspicion you have modified the MSI in a manner that is not standard to MSI's.
Comments:
-
I modified file directly using orca editor. - philipadi 8 years ago
-
Hi Rileyz, you are correct. Creating Services requires elevated privileges. - Pressanykey 8 years ago
Posted by:
Pressanykey
8 years ago
@OP,
I presume you have removed a (perhaps more than one) condition that prevented the installation starting if the logged on user did not have admin permissions. As I commented, you require admin permissions to create services via MSI (or for that matter anytime...).
I suggest you get the msi installation silent (using a transform) as Rileyz suggested and deploy via your EDS.
Cheers
Phil
I presume you have removed a (perhaps more than one) condition that prevented the installation starting if the logged on user did not have admin permissions. As I commented, you require admin permissions to create services via MSI (or for that matter anytime...).
I suggest you get the msi installation silent (using a transform) as Rileyz suggested and deploy via your EDS.
Cheers
Phil
Comments:
-
I modified property table and add MSIINSTALLPERUSER property and set it's value to 1 & set ALLUSERS property value to 2. Now the program start installing as a standard user but eventually pop up generate saying "Error while writing to file C:\ProgramFiles\ProgramName\ProgramFolderName\core.dll. Make sure you have sufficient privileges to write to the directory" When I browse to the ProgramFolderName directory I found some files are written by the program. My question is If I set to install files in C:\ rather than Program Files Folder can resolve this issue? - philipadi 8 years ago
-
As this does not solve your problem, have you considered just deploying via your EDS, or do you not have one? - Pressanykey 8 years ago
-
Thanks pressanykey. What is EDS? - philipadi 8 years ago
-
@philipadi,
Whatever system you use to deploy your software, for example SCCM, Altiris, RMS, KACE.... - Pressanykey 8 years ago