[wpkg-users] WPKG client upgrade

Vladimír Pšenička vladimir.psenicka at prodeco.cz
Fri Apr 18 12:38:48 CEST 2008


Is possible to upgrade WPKG client from 1.2-rc6 to 1.2.1 by itself
automaticaly after reboot (not directly running wpkg.js) on remote machines?

I tested upgrade (http://wpkg.org/WPKG) and it doesn't work:

> <package
> 		id="wpkg"
> 		name="WPKG Service"
> 		revision="2"
> 		reboot="true"
> 		priority="3000">
> 		
> <!-- 		<depends package-id="wininstaller"/> -->
> 		
> 		<check type="uninstall" condition="exists" path="WPKG" />
> 		
> <!-- 		<install cmd='msiexec /qn /i "%SOFTWARE%\wpkg\WPKG Client 1.2-rc6.msi" SETTINGSFILE=%SOFTWARE%\settings.xml ALLUSERS=1 /log C:\wpkg.log' /> -->
> 		<install cmd='msiexec /qn /i "%SOFTWARE%\wpkg\WPKG Client 1.2.1.msi" SETTINGSFILE=%SOFTWARE%\wpkg\settings.xml ALLUSERS=1 /log C:\wpkg.log' /> 
> 		
> <!-- 		<upgrade cmd='msiexec /qn /i "%SOFTWARE%\wpkg\WPKG Client 1.2-rc6.msi" SETTINGSFILE=%SOFTWARE%\settings.xml ALLUSERS=1 /log C:\wpkg.log' /> -->
> 		
> <!-- 		<upgrade cmd='%SOFTWARE%\wpkg\pskill.exe /accepteula WPKGSrv.exe' /> -->
> <!-- 		<upgrade cmd='net stop "WPKG Service"' /> -->
> 		<upgrade cmd='taskkill /F /IM /WPKGsrv.exe' />
> 		<upgrade cmd='msiexec /qn /i "%SOFTWARE%\wpkg\WPKG Client 1.2.1.msi" SETTINGSFILE=%SOFTWARE%\wpkg\settings.xml ALLUSERS=1 /log C:\wpkg.log' />
> 		
> 		<remove cmd='msiexec /qn /x{FD883F05-6D6B-4E81-8FD7-B209FEF750CD}' />



Command:
> <upgrade cmd='%SOFTWARE%\wpkg\pskill.exe /accepteula WPKGSrv.exe' />
> <upgrade cmd='msiexec /qn /i "%SOFTWARE%\wpkg\WPKG Client 1.2.1.msi" SETTINGSFILE=%SOFTWARE%\wpkg\settings.xml ALLUSERS=1 /log C:\wpkg.log' />


Event log on remote machine:
> Command '%SOFTWARE%\wpkg\pskill.exe /accepteula WPKGSrv.exe" was not successful.
> Access denied


Command:
> <upgrade cmd='taskkill /F /IM /WPKGsrv.exe' />
> <upgrade cmd='msiexec /qn /i "%SOFTWARE%\wpkg\WPKG Client 1.2.1.msi" SETTINGSFILE=%SOFTWARE%\wpkg\settings.xml ALLUSERS=1 /log C:\wpkg.log' />


Event log:
> Could not process (upgrade) package 'WPKG Service' (wpkg):
> Exit code returned non-successful value (128) on command 'taskkill /F /IM /WPKGsrv.exe'.


-- 
Vladimir Psenicka
IT system engineer
Prodeco a.s.



More information about the wpkg-users mailing list