Solved

Not able to run Web Installer MSI on disk

Posted on 2014-12-13
7
224 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:SHANCHAT972
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Solved by trial.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This article will show, step by step, how to integrate R code into a R Sweave document
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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.

743 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

16 Experts available now in Live!

Get 1:1 Help Now