When I upgrade WPKG client this way (without "start"): > <upgrade cmd='%COMSPEC% /C "%SOFTWARE%\wpkg\wpkg_upgrade.bat"' /> it doesn't work, on client I see errors: > Product: WPKG -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action _25773255_2E4C_4B11_9B7E_FF3EB8BD0D64, location: C:\Program Files\wpkg\WPKGSrv.exe, command: /install and: > Could not process (upgrade) package 'WPKG Client 1.2.1' (wpkg): > Exit code returned non-successful value (1603) on command '%COMSPEC% /C "%SOFTWARE%\wpkg\wpkg_upgrade.bat"'. and before this 2 errors some message that says: > Produkt WPKG: Soubor C:\Program Files\wpkg\wpkglogon.dll je používán jiným procesem (Název: winlogon , ID: 648). wpkglogon.dll is used by another process (winlogon) Brian May napsal(a): > Brian May wrote: >> It seems to work. >> >> Can I please confirm why you use "start"? Is this for extra debugging? > > Looks like a race condition exists, due to using start. The process is > started for upgrading wpkg, and at the same time wpkg continues and > checks the latest version is already installed - but it isn't installed > yet because the background task is still executing. > > Probably better just to call the batch file directly. > > Brian May > > ------------------------------------------------------------------------- > Reporting bugs, all WPKG mailing lists >> http://wpkg.org/Support > _______________________________________________ > wpkg-users mailing list > wpkg-users at lists.wpkg.org > http://lists.wpkg.org/mailman/listinfo/wpkg-users -- Vladimir Psenicka IT system engineer Prodeco a.s. |