[wpkg-users] Office 2010 & Windows XP...

Carlos R. Pasqualini pasqualinic at fcal.uner.edu.ar
Tue Sep 18 19:05:47 CEST 2012


El mar, 18-09-2012 a las 15:11 +1000, Jon Rhoades escribió:
> Hi,
> 
> We've been happily installing Office 2010 on Windows 7 for some time
> now.  Unfortunately against my better judgment we need to install it
> on 30 or so Windows XP machines.  I'm using the same package file, but
> with a new customised msp adminfile however the %comspec% /C start
> "" /WAIT fails to halt the progression of WPKG so the Office installer
> runs in parallel with other installs and obviously fails to install.
> 
> When I run WPKG manually from the command line I can see that the
> Office splash screen is spawned and the silent (ha!) installation
> occurs.  My solution has been to set it as priority=0 so that it
> installs last without the possibility of interference.
> 
> IS this a Windows XP issues that it doesn't honor the start /wait
> option?
> 
> Cheers Jon 
> 
> xpOffice2010.xml:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <packages> 
> <package id="xpOffice2010" 
>          name="OBI Microsoft Office 2010" 
>          revision="1" 
>          reboot="false" 
>          priority="0">
>          <check type="uninstall" condition="exists" path="Microsoft
> Office Standard 2010" />
>         <install cmd='%comspec% /C start "" /WAIT "%SOFTWARE%\office
> \Office2010-MAK-SP1\setup.exe" /adminfile "%SOFTWARE%\office\obi.MSP"'
> >
>                 <exit code="1641" />
>                 <exit code="3010" />
>         </install>
>         <install cmd='"%SYSTEMROOT%\system32\cscript" "C:\Program
> Files\Microsoft Office\Office14\OSPP.VBS" /act'/>
> 
>         <upgrade include="install" /> 
> </package> 
> </packages>


Hi,

i'm not installing (yet) msoffice 2010, but i'm installing Office2007
and visio2010 on XP systems and not using start /wait:

Visio:
<install cmd='"%PKG_DIR%\SETUP.EXE" /adminfile "%PKG_DIR%
\visio2010.msp" /config "%PKG_DIR%\conf-fcal.xml"' />

Office2007:
<install cmd='%PKG_SETUP% /config %SOFTWARE%\Microsoft\Office\2007
\config_fcal.xml' >
		<exit code="1641" reboot="delayed"/>
</install>

It works great on win XP trough 7 (even on 7-64bits)



on the other side: are you sure you are using the right command?

i don't understand why:

<install cmd='%comspec% /C start "" /WAIT "%SOFTWARE%\office
Office2010-MAK-SP1\setup.exe" /adminfile "%SOFTWARE%\office\obi.MSP"' >

and not:

<install cmd='%comspec% /C start /WAIT "%SOFTWARE%\office
Office2010-MAK-SP1\setup.exe" /adminfile "%SOFTWARE%\office\obi.MSP"' >

(why "" after /start ?)

may be i'm wrong on this last suggestion



Best Regards





More information about the wpkg-users mailing list