Solved

Not able to run Web Installer MSI on disk

Posted on 2014-12-13
7
227 Views
Last Modified: 2014-12-21
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.
0
Comment
Question by:SHANCHAT972
  • 4
  • 3
7 Comments
 
LVL 35

Expert Comment

by:Miguel Oz
ID: 40498433
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.
0
 

Author Comment

by:SHANCHAT972
ID: 40498599
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..
0
 
LVL 35

Expert Comment

by:Miguel Oz
ID: 40499243
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.
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:SHANCHAT972
ID: 40499741
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)?
0
 
LVL 35

Expert Comment

by:Miguel Oz
ID: 40501441
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?
0
 

Accepted Solution

by:
SHANCHAT972 earned 0 total points
ID: 40504265
Q1. I figured it out. I don't have to run the MSI file by right click and Install.
       I was being dumb. :-(  
       I have to run the SETUP.EXE file and choose "Run this program as administrator"
(See screenshot)
. This option was greyed out in the MSI file.
      After this change, the installer is running perfectly from windows prompt.

Q2. I am logged in as a Domain user on machine and my user is part of Admin group. I right click the command prompt and choose "Run as Administrator".. Then I run the command "MSIEXEC /i  <application.msi>"


SetupEXE-RunAsAdmin.gif
0
 

Author Closing Comment

by:SHANCHAT972
ID: 40511435
Solved by trial.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This video teaches viewers about errors in exception handling.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now