Re: Install via Computer Logon Script



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



.



Relevant Pages

  • Re: how to install a .msp using GPO
    ... File permissions on the share should be "System" and "Administrators" Full Control and "Authenticated users" read%execute. ... Because you run it as a startup script, it runs with system permission on the local computer. ... I did not originally use a .msi for the initial ... Will this install with the proper permissions? ...
    (microsoft.public.windows.group_policy)
  • Re: how to install a .msp using GPO
    ... I did not originally use a .msi for the initial ... Will this install with the proper permissions? ... Update machine with startup script containing: ...
    (microsoft.public.windows.group_policy)
  • Re: Building a Setup.exe in VS 2005 Pro
    ... If you want a single exe, ... that puts exe and MSI into one exe and runs the setup.exe when extracted. ... There are good reasons for having the MSI separate and available (a repair ... install, I get a Setup.exe but a bunch of other files are created in the ...
    (microsoft.public.vsnet.general)
  • NET 2.0 Install
    ... I need to install .NET 2.0 on some of my domain computers. ... redistributable package for NET 2.0 is an exe rather than a msi. ...
    (microsoft.public.windows.group_policy)
  • Re: unpermitted installation
    ... it's not an MSI file, ... > privileges (i.e. user can initiate a msi install that needs admin to ... >>> and exe install file to attempt actually answering you. ... >>> account probably would be unable to log in. ...
    (microsoft.public.security)