Deploying MSI file using SMS Server

J

jack

Hi All,

I have a product to install say "xyz.msi" - This is msi installer
file.
I need to do a silent installation on MS Window Vista Enterprise
machine.
I am asked to use the command
{
msiexec /qn /i "xyz.msi"
}

This installation need to be done by logging in to the machine as
elevated administrator (User with a member of Admin group membership)
as well as a Standard user (non admin user).

UAC is enabled and all its corresponding settings are at its default
level.

Product is not getting installed at all ( i think it need admin rights
to overcome the UAC dialog)..

Now, I elevate my command prompt to an administrator using run as
administrator option (Manually) and try to install the product - It
gets installed successfully.

----This is way to do silent installation on MS Vista platform (Is
this the functionality?).

---From Dev point of view is it possible to instanciate a command
prompt with admin previlage automatically......


How my requirement is to do a silent installation using an SMS server
through out an enterprise?

I need to deploy this package automtically to all vista machies
available on my enterprise.

How to do the installation? what should I do to do this task?
My question is "Is this task a valid scenario?".


Thanks,
 
A

Adrian Accinelli

jack said:
Hi All,

I have a product to install say "xyz.msi" - This is msi installer
file.
I need to do a silent installation on MS Window Vista Enterprise
machine.
I am asked to use the command
{
msiexec /qn /i "xyz.msi"
}

This installation need to be done by logging in to the machine as
elevated administrator (User with a member of Admin group membership)
as well as a Standard user (non admin user).

UAC is enabled and all its corresponding settings are at its default
level.

Product is not getting installed at all ( i think it need admin rights
to overcome the UAC dialog)..

Now, I elevate my command prompt to an administrator using run as
administrator option (Manually) and try to install the product - It
gets installed successfully.

----This is way to do silent installation on MS Vista platform (Is
this the functionality?).

---From Dev point of view is it possible to instanciate a command
prompt with admin previlage automatically......


How my requirement is to do a silent installation using an SMS server
through out an enterprise?

I need to deploy this package automtically to all vista machies
available on my enterprise.

How to do the installation? what should I do to do this task?
My question is "Is this task a valid scenario?".


Thanks,

Seems like this is becoming a common question. Maybe the MSDN docs need an
update? Anyone want to volunteer for community a blurb?

Anyways silent installations do not bring up the UAC prompt. As a result
you need to use another method to permit a non-admin user (as all users are
considered until elevated) to install
[http://msdn2.microsoft.com/en-us/library/aa372468.aspx explains a bit and
has link on how to allow non-admin to install with privileges].

Now SMS should have a Vista patch that will allow installation to work as I
recall prior to the patch there was problems with the SMS client on Vista.
We certainly have it working now in my environment for testing purposes.
From your perspective it is up to SMS to give your package adequate
privilege.

I think there's a significant amount of people using SMS worldwide so it's a
valuable test for sure.

Sincerely,
Adrian Accinelli
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top