?
Solved

Not able to run Web Installer MSI on disk

Posted on 2014-12-13
7
Medium Priority
?
243 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:Arikkan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 36

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:Arikkan
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 36

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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Arikkan
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 36

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:
Arikkan 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:Arikkan
ID: 40511435
Solved by trial.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
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.

719 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