[wpkg-users] WPKG and rebootcmd

Vladimir Psenicka vladimir.psenicka at prodeco.cz
Tue May 5 10:13:39 CEST 2009


Thanks works fine, but I have another problem.

In reboot.bat I have this:
> psshutdown.exe -c -m "Some text" -t 600 -accepteula -r

but after installing package I see shutdown window with message "WPKG
initiates reboot etc" only for 3 seconds without possibility to
interrupt them...


Tomasz Chmielewski napsal(a):
> Vladimir Psenicka schrieb:
>> Hi,
>>
>> I have problem running rebootcmd script within config.xml. I have
>> changed rebootcmd to:
>>
>> <param name='rebootCmd' value='tools\reboot.bat' />
> 
> Change this to:
> 
>  tools\\reboot.bat
> 
> 
>> and in event log on win machine I have this error:
>>
>>> Could not process (install) package 'IE8 CZ 32bit pro Windows XP'
>>> (ie8cz-xp):
>>> Could not locate rebootCmd '\\faramir\netlogon\wpkg-testing\tools
>>> eboot.bat'..
>>
>> Why is wpkg interpreting "\r" in vaule of rebootcmd?
> 
> The config file is XML, so \ is used as an "escape character".
> 
> \ should work as well I think.
> 
> Something like that too, although I didn't check it:
> 
> <![CDATA[
>       \a path\to\a\file
>    ]]>
> 
> 




More information about the wpkg-users mailing list