Avatar of Arikkan
Arikkan
Flag for United States of America asked on

Not able to run Web Installer MSI on disk

I can run the Installer in Visual Studio by right clicking the solution and choosing "Install" option.

But, when I am trying to run the MSI file for the Web Installer (From Visual Studio) on the disk , I get a permissions error.

But I am the Administrator on the machine.
Cannot figure out the issue.

Please help.
C#Programming Languages-OtherInstallation

Avatar of undefined
Last Comment
Arikkan

8/22/2022 - Mon
Miguel Oz

Could you post the exact error message?
Also if the error does not contain many details, you can run your installer from command prompt and  create a log using msiexec:
msiexec /i <path_to_msi> /L*V <path_to_log>

Open in new window


Notice that if you are on the same machine you should uninstall your program first.
Arikkan

ASKER
Funny that the installation ran when I used "msiexec" command. (The command prompt was running as administrator).

But on the disk when I right clicked and chose install (Or even run as Admin), I got error message both times.
The message is "You do not have sufficient privileges to complete this installation for all users of the machine. Log on as administrator and retry this installation."

Please tell me if you need more information..
Miguel Oz

By disk you mean a DVD or USB HD or network drive?
The error is typical permission error message. I will check the security permissions of your MSI on the "disk" itself.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Arikkan

ASKER
I am running the MSI on local hard disk on my machine.

Here are the permissions of my MSI file.
I even edited the permissions to give full controls to every user mentioned in the Properties window.
But still I get the same error.

InstallerPermissions.gif

But then how come I am able to run the MSI using MSIEXEC in command prompt (Running as admin)?
Miguel Oz

Q1. Could you post the SYSTEM permissions on the source and target folder?
SYSTEM must have full control on these folders for installer to run as shown here
Q2. When you run cmd prompt.What was "The command prompt was running as administrator" means?
Does it mean that you log as a normal user and then elevate cmd prompt as administrator?
ASKER CERTIFIED SOLUTION
Arikkan

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Arikkan

ASKER
Solved by trial.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.