Advertisement

02.27.2008 at 10:56AM PST, ID: 23198017
[x]
Attachment Details

Silverlight GPO install script keeps installing!

Asked by bheroniphr in Scripting Languages, Windows 2003 Server, Windows 64-bit

Tags: Microsoft

Hi,

I use this script on our domain to install Silverlight through GPO:
http://download.microsoft.com/download/7/8/d/78da8ec9-8801-42e5-89e5-3809386f1316/Silverlight%20Deployment%20Guide.doc

This works on all our systems BUT on x64 it will attempt to install every boot. x86 works great. Anyone have any ideas? (I've copied the script below for reference)

setlocal

REM *************************************************************************
REM Environment customization begins here. Modify variables below.
REM *************************************************************************

REM Set DeployServer to a network-accessible location containing the Silverlight installer
set DeployServer="\\Server\Silverlight"

REM Set InstallerName to the name of your copy of the Silverlight installer
set InstallerName=silverlight.exe

REM Set LogLocation to a central directory to collect log files.
Set LogLocation="\\Server\Silverlight\Logs"

REM *************************************************************************
REM Deployment code begins here. Do not modify anything below this line.
REM *************************************************************************

reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Silverlight
if %errorlevel%==1 (goto DeploySilverlight) else (goto End)

REM If 1 returned, the product was not found. Run setup here.
:DeploySilverlight
%DeployServer%\%InstallerName%
echo %date% %time% Setup ended with error code %errorlevel%. >> %LogLocation%\%computername%.txt

REM If 0 or other was returned, the product was found or another error occurred. Do nothing.
:End

EndlocalStart Free Trial
 
Loading Advertisement...
 
[+][-]02.28.2008 at 01:59PM PST, ID: 21008629

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Scripting Languages, Windows 2003 Server, Windows 64-bit
Tags: Microsoft
Sign Up Now!
Solution Provided By: RobSampson
Participating Experts: 1
Solution Grade: A
 
 
[+][-]02.29.2008 at 04:44AM PST, ID: 21012678

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.29.2008 at 04:46AM PST, ID: 21012683

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.01.2008 at 12:37AM PST, ID: 21020729

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628