Group:  English: General » microsoft.public.windows.msi
Thread: Install MSI with admin rights by vbscript

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Install MSI with admin rights by vbscript
"Jonathan Alvarez" <jonathan_alvarez[ at ]n0.32.2pam.iparbit.es> 15.06.2007 09:20:58
Hi!

I have the following code to install an app:

Set objInstaller = CreateObject("WindowsInstaller.Installer")
objInstaller.UILevel = 3 + 32
objInstaller.InstallProduct "app.msi"

In some machines the user do not have install privileges.

Is there any form to install the app in these machines?

Thanks.


Re: Install MSI with admin rights by vbscript
"Phil Wilson" <pdjwilson[ at ]nospam.cox.net> 17.06.2007 18:15:45
If the install requires admin privileges this can't be circumvented by using
script or any other program if it's being run by a limited user.

Administrators can push installs out to limited users with group policy or
or by advertising it as a per-machine install, allowing the user to be
elevated for the the duration of the install.
--
Phil Wilson
[Microsoft MVP-Windows Installer]

"Jonathan Alvarez" <jonathan_alvarez[ at ]n0.32.2pam.iparbit.es> wrote in message
news:OO4c95yrHHA.4180[ at ]TK2MSFTNGP04.phx.gbl...
[Quoted Text]
> Hi!
>
> I have the following code to install an app:
>
> Set objInstaller = CreateObject("WindowsInstaller.Installer")
> objInstaller.UILevel = 3 + 32
> objInstaller.InstallProduct "app.msi"
>
> In some machines the user do not have install privileges.
>
> Is there any form to install the app in these machines?
>
> Thanks.
>


Re: Install MSI with admin rights by vbscript
"Jonathan Alvarez" <jonathan_alvarez[ at ]n0.32.2pam.iparbit.es> 18.06.2007 07:11:56
I have tried to do the two things that you say but I haven't achieve it.
Can you explain two options more detailed, please?

"Phil Wilson" <pdjwilson[ at ]nospam.cox.net> escribió en el mensaje
news:OzsIGrQsHHA.4476[ at ]TK2MSFTNGP03.phx.gbl...
[Quoted Text]
> If the install requires admin privileges this can't be circumvented by
> using script or any other program if it's being run by a limited user.
>
> Administrators can push installs out to limited users with group policy or
> or by advertising it as a per-machine install, allowing the user to be
> elevated for the the duration of the install.
> --
> Phil Wilson
> [Microsoft MVP-Windows Installer]
>
> "Jonathan Alvarez" <jonathan_alvarez[ at ]n0.32.2pam.iparbit.es> wrote in
> message news:OO4c95yrHHA.4180[ at ]TK2MSFTNGP04.phx.gbl...
>> Hi!
>>
>> I have the following code to install an app:
>>
>> Set objInstaller = CreateObject("WindowsInstaller.Installer")
>> objInstaller.UILevel = 3 + 32
>> objInstaller.InstallProduct "app.msi"
>>
>> In some machines the user do not have install privileges.
>>
>> Is there any form to install the app in these machines?
>>
>> Thanks.
>>
>
>


Re: Install MSI with admin rights by vbscript
Gerry Hickman <gerry666uk[ at ]newsgroup.nospam> 26.06.2007 22:42:02
Hi,

The way I do it, is to install the apps at midnight as Admin, then when
user comes in next morning, it's ready to go.

Jonathan Alvarez wrote:
[Quoted Text]
> I have tried to do the two things that you say but I haven't achieve it.
> Can you explain two options more detailed, please?
>
> "Phil Wilson" <pdjwilson[ at ]nospam.cox.net> escribió en el mensaje
> news:OzsIGrQsHHA.4476[ at ]TK2MSFTNGP03.phx.gbl...
>> If the install requires admin privileges this can't be circumvented by
>> using script or any other program if it's being run by a limited user.
>>
>> Administrators can push installs out to limited users with group policy or
>> or by advertising it as a per-machine install, allowing the user to be
>> elevated for the the duration of the install.
>> --
>> Phil Wilson
>> [Microsoft MVP-Windows Installer]
>>
>> "Jonathan Alvarez" <jonathan_alvarez[ at ]n0.32.2pam.iparbit.es> wrote in
>> message news:OO4c95yrHHA.4180[ at ]TK2MSFTNGP04.phx.gbl...
>>> Hi!
>>>
>>> I have the following code to install an app:
>>>
>>> Set objInstaller = CreateObject("WindowsInstaller.Installer")
>>> objInstaller.UILevel = 3 + 32
>>> objInstaller.InstallProduct "app.msi"
>>>
>>> In some machines the user do not have install privileges.
>>>
>>> Is there any form to install the app in these machines?
>>>
>>> Thanks.
>>>
>>
>
>


--
Gerry Hickman (London UK)

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net