Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to install a program using msiexec from 'CMD' and I'm trying to add a URL parameter.

So it looks like this:

Msiexec /i \\spfil001\MSI\esdh\offext.msi URL=http://stesdh01

But I must be doing something wrong cause when the installation starts it says

"You must set the URL parameter or the program will not complete".

I'm guessing my syntax is wrong. Could someone help me? I tried everything I could think off with "" and '', ().

share|improve this question

And the problem was.. I didn't run CMD as administrator.. even though I was administrator it required I right clicked on it and hit "run as administrator" .. so now it works.

share|improve this answer
Just because you're an administrator doesn't mean that everything you run automatically executes with full permissions. For more information, read up about UAC. Also, remember to accept your answer so other people who find your question will know what helped you. – Indrek Aug 15 '12 at 12:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .