[wpkg-users] Special install command not working

Mike Burgener mike.burgener at u-blox.com
Mon Feb 9 15:01:23 CET 2009


Tomasz Chmielewski wrote:
> Mike Burgener schrieb:
>> Hi guys
>> 
>> Thanks for all the help already.
>> 
>> This special install command does not succeed.
>> 
>> Any suggestions?
>> 
>> <install cmd="" echo yes | \\server\installer.bat"" />
> 
> As some "DOS" commands are not executables, you have to start
> them with cmd.exe interpreter:
> 
> cmd /C echo yes | \\server\installer.bat

My package command now looks like that:

<install cmd="cmd /C \\whale\wpkgsoftware\arm\rvds\ublox_installer.bat" 
/>
> 
> Also, for simplicity, you could place all that in one script
> (your installer.bat).
Ok. I made this and my .bat now looks like that:

echo yes | 
\\server\wpkgsoftware\arm\rvds\Utilities\Installer\2.1\1047\win_32-penti
um\wh.exe install -p RVDS --source %SOFTWARE%\arm\rvds\  --target 
"%programfiles%\ARM" --env SYSTEM
regedit /s 
\\server\pcsoft\install\pkgs\packages\registry\license_server_rvds.reg
xcopy /E /Y "\\server\pcsoft\install\ARM_RVDS_301\MWPerlWin" 
"%programfiles%\ARM\IDEs\CodeWarrior\CodeWarrior\5.7.0.1899\13\win_32-pe
ntium\bin\Plugins"
xcopy /E /Y "\\server\wpkgsoftware\arm\rvds\patches" 
"%programfiles%\ARM\RVCT\Programs\3.0\586\win_32-pentium"

However, this seems not to work

Installer waits for "echo yes |" input

Kind regards and greets

Mike





More information about the wpkg-users mailing list