#29108 - 2002-09-16 04:11 PM
Shell Question
|
Rook
Fresh Scripter
Registered: 2002-09-12
Posts: 7
Loc: Worthington OH
|
I am using shell to run an office 2000 unattended setup using a transform file. My problem is when the setup starts the script continues to exicute.
IF KEYEXIST("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\9.0") ? "Microsoft Office 2000 Professional Installed...." ELSE SHELL "\\JACOB_FILE01\TD$\Technology_Department\Applications\Office2000\Setup.exe TRANSFORMS=setup.mst /qb+" ENDIf
Any ideas why this would be happening.
Thanks Brian.
|
|
Top
|
|
|
|
#29110 - 2002-09-16 04:18 PM
Re: Shell Question
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Are you using Wkix32.exe or Kix32.exe?
If you are using Kix32.exe: Just guess but setup.exe might be spawning a separate process and setup then returns control to the script satisfying the SHELL's wait requirement.
You may want to try "%comspec% /c start /wait ..."
|
|
Top
|
|
|
|
#29111 - 2002-09-16 05:17 PM
Re: Shell Question
|
Rook
Fresh Scripter
Registered: 2002-09-12
Posts: 7
Loc: Worthington OH
|
is this the proper syntax? SHELL '%comspec% /e:1024 /c /wait "\\JACOB_FILE01\TD$\Technology_Department\Applications\Office2000\Setup.exe TRANSFORMS=setup.mst /qb+"'
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 293 anonymous users online.
|
|
|