If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Startup Script hangs
Hello Group,
i would like to deploy office 2007 via startup script in gpo here is my script: setlocal set ProductName=Enterprise set DeployServer="\\servershare\Office\Office2007" set ConfigFile="\\servershare\Office\Office2007\Update s\Office2007Enterprise.MSP" set LogLocation="\\servershare\Office\Office2007\Logs" IF NOT "%ProgramFiles(x86)%"="" then set "WOW6432NODE"="WOW6432NODE\" REG QUERY HKLM\Software\Microsoft\Windows\CurrentVersion\Uni nstall\%Productname% if %errorlevel%==1 goto DeployOffice else goto End eployOffice start /wait %DeployServer%\setup.exe /adminfile %ConfigFile% echo %date% %time% Setup ended with error code %errorlevel%. %LogLocation%\%computername%.txt :End Endlocal I saved the script in my policy folder as office2007.vbs the script hangs with following error: code: 800A0401 Compile error in Microsoft vbscript (the script position after REG QUERY HKLM) (or after Start /) what is the reason ? |
Thread Tools | |
Display Modes | |
|
|