Re: Install via Computer Logon Script
- From: "Mathieu CHATEAU" <gollum123@xxxxxxx>
- Date: Fri, 16 Nov 2007 10:44:08 +0100
What does content your log file ? any error trace ?
I don't think that machine startup script is meant to deploy software. Their exe try to expand, and may look for variable like %TEMP% which may not exist in this case (i didn't verify myself).
The only supported way is to extract the MSI from the Exe and use Software policy GPO to deploy.
You may cutomize the msi to create a flag file. But you can also use a vbscript to query each computer
--
Cordialement,
Mathieu CHATEAU
English blog: http://lordoftheping.blogspot.com
French blog: http://www.lotp.fr
"Darzil" <Darzil@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:B61FB1FE-BCC0-4F72-90FE-91154535BFEC@xxxxxxxxxxxxxxxx
It's not network access rights, as the network access portion works fine
(after I gave Domain Computers read access to the directory containing the
.exe). It is the installer that fails.
I used WinInstall SE to create the MSI files. The final size of the install
is even larger, so it isn't necessarily oversized.
Even if I had the MSI file, and used the group policy software push, it
still wouldn't tell which machines it was installed on (though I guess I
could write a computer login script that would find that and report - maybe
I'll have a go at that).
Darzil
"Mathieu CHATEAU" wrote:
Hello,
computer gpo startup script run with the system privilege, so it hasn't any
network access right.
I have got a nearly broken connection at TechED, but your MSI size is much
bigger than needed. How did you make this MSI ? capture snapshot ?
If i remember well, you can extract an MSI from the .exe setup. You would
find the good way here:
www.appdeploy.com/packages/detail.asp?id=38
Basically, call the .exe with /a to expand and get directly the right MSI.
You may use a WMI query to filter out computer that already has it and not
apply the GPO
--
Cordialement,
Mathieu CHATEAU
English blog: http://lordoftheping.blogspot.com
French blog: http://www.lotp.fr
"Darzil" <Darzil@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0EB16BB0-615B-4414-B649-21C1899C373D@xxxxxxxxxxxxxxxx
> I'm trying to install Java on a hundred or so machines spread over > 100's
> of
> miles. Naturally I'd like group policy to do the legwork. I need to be
> able
> to know that the software is installed on all of them.
>
> It comes as a 16Mb .exe. I have made it into an MSI, which created > about
> 93Mb of files.
>
> I have tried distributing it to a test machine via a software > installation
> computer group policy. This worked, however it had two disadvanages.
> Firstly,
> that it took 30 minutes to install, and second that I had no way of
> knowing
> it had succeeded.
>
> So I've tried writing a simple .cmd file, that downloads the .exe file > (if
> it isn't downloaded already), installs it locally via silent install > (if
> it
> isn't installed already), and then copies the setup.log file to a > network
> location, naming it after the computer name (if it was just installed).
> That
> way I can quickly interrogate the files to see which were installed
> successfully.
>
> When run directly from explorer, this works, and takes less than 10
> minutes.
>
> When run from a computer startup script, it downloads the .exe file, > and
> will copy a log file to a network location. It will not, however, > install
> Java.
>
> The command used in the .cmd file is :
>
> start /w c:\masters\java\jre-1_5_0_06-windows-i586-p.exe /s
> /v/qn"REBOOT=Suppress JAVAUPDATE=0 WEBSTARTICON=0 /L
> c:\masters\java\setup.log
>
> What have I missed, which stops this working in a computer startup > script
> ?
> It must be something to do with the local install, as the rest does > work.
>
> Thanks
.
- References:
- Re: Install via Computer Logon Script
- From: Mathieu CHATEAU
- Re: Install via Computer Logon Script
- From: Darzil
- Re: Install via Computer Logon Script
- Prev by Date: Re: I need help with configuring GP?
- Next by Date: Re: Change, but don't add registry value
- Previous by thread: Re: Install via Computer Logon Script
- Next by thread: Group Policy based upon Security Group Membership
- Index(es):
Relevant Pages
|