[wpkg-users] Special install command not working

Tomasz Chmielewski mangoo at wpkg.org
Tue Feb 10 23:09:36 CET 2009


Mike Burgener schrieb:

>> 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

What command does wait for "yes"?
Just test your script in cmd.exe window.
If it works there, it should work with WPKG as well.

Also, are you sure it waits for "yes"? You use different server shares, 
can it be a permission problem there?

-- 
Tomasz Chmielewski
http://wpkg.org




More information about the wpkg-users mailing list