Just came across another deadly error with WPI (7.0) while installing Microsoft applications on Vista(32bit) . (I should stop doing that but the fact is, I (we) simply need them installed).
Now, I have taken out all Updates from the Updates folder of Office 2007 and install them later on (after a reboot) with a script. This actually worked. Office 2007 installs fine now with WPI.
Now, if I install any other Microsoft application afterwards (for instance Livemeeting, which is just a simply small msi package !!), WPI dies again but this time, the error message is different, some talk about an illegal character in line 1. (see picture)
The script for the Livemeeting installation itself cannot be the reason for this as it will install fine on it´s own (if Office 2007 was not installed before). The problem only appears if Office was installed sometime before. Since I cannot do a reboot between every Microsoft installation (and we have a few, I am stuck again.
Btw. I am starting a cmd script in config.js to install both applications so WPI is actually watching the cmd´s and not the msi/exe´s itself. I also tried adding wait commands etc. but nothing helps.
The WPI log does not say much although it reports code 259 for the Livemeeting installation.
Here´s the content of the config.js for the two apps:
CODE
pn=1;
prog[pn]=['Office Enterprise 2007 (Updateinstallation nach Reboot)'];
ordr[pn]=[2];
uid[pn]=['OFFICEENT'];
dflt[pn]=['yes'];
cat[pn]=['Office'];
forc[pn]=['no'];
cmd1[pn]=['"%root%\\Microsoft\\Office2007\\silent_install.cmd"'];
pn++;
prog[pn]=['Office Live Meeting 2007'];
ordr[pn]=[90];
uid[pn]=['LIVEMEETING'];
dflt[pn]=['no'];
cat[pn]=['Office'];
forc[pn]=['no'];
cmd1[pn]=['"%root%\\Microsoft\\LiveMeeting\\silent_install.cmd"'];
pn++;
prog[pn]=['Office Enterprise 2007 (Updateinstallation nach Reboot)'];
ordr[pn]=[2];
uid[pn]=['OFFICEENT'];
dflt[pn]=['yes'];
cat[pn]=['Office'];
forc[pn]=['no'];
cmd1[pn]=['"%root%\\Microsoft\\Office2007\\silent_install.cmd"'];
pn++;
prog[pn]=['Office Live Meeting 2007'];
ordr[pn]=[90];
uid[pn]=['LIVEMEETING'];
dflt[pn]=['no'];
cat[pn]=['Office'];
forc[pn]=['no'];
cmd1[pn]=['"%root%\\Microsoft\\LiveMeeting\\silent_install.cmd"'];
pn++;
And here are the 2 cmd´s installing Office and LiveMeeting (I have reduced them to the bare minimum (no cmdow, echo commands etc.)
CODE
REM Office:
cd /D %~dp0
start /wait .\setup.exe /adminfile settings.MSP
REM LiveMeeting:
cd /D %~dp0
start /wait .\LMConsole.msi /passive /norestart
ping -n 30 127.0.0.1>nul
taskkill.exe /F /IM outlook.exe
start /wait .\LMAddinPack.msi /passive /norestart
ping -n 30 127.0.0.1>nul
exit
cd /D %~dp0
start /wait .\setup.exe /adminfile settings.MSP
REM LiveMeeting:
cd /D %~dp0
start /wait .\LMConsole.msi /passive /norestart
ping -n 30 127.0.0.1>nul
taskkill.exe /F /IM outlook.exe
start /wait .\LMAddinPack.msi /passive /norestart
ping -n 30 127.0.0.1>nul
exit
Any idea what "illegal character" the error message could be about and what to do ?
Btw. WPI dies right before that command in the second script is finished:
CODE
start /wait .\LMConsole.msi /passive /norestart
That means it dies while that msi is still running but almost finished. So the sleep command that I have included afterwards does not really help and comes too late anyway ( by that time, WPI has already come up with the error, see picture).
Bye,
Alex