[wpkg-users] upgrading wpkg with wpkg

Tomasz Chmielewski mangoo at wpkg.org
Fri Aug 22 08:22:45 CEST 2008


Brian May schrieb:
> Hello,
> 
> It doesn't seem to work.
> 
> This is on Windows SP3 so it should have a recent version of Windows 
> Installer.
> 
> I am using:
> 
>   <package
>          id="wpkg"
>          name="WPKG"
>          revision="3"
>          priority="100"
>          reboot="false">
> 
>          <depends package-id="windows_installer_3"/>
> 
>          <check type="uninstall" condition="exists" path="WPKG" />
> 
>          <install cmd='msiexec /qn /i "%SOFTWARE%\wpkg\WPKG Client 
> 1.3.5.msi" SETTINGSFILE=%WPKGROOT%\settings.xml ALLUSERS=1 
> REBOOT=ReallySuppress' >
>                  <exit code="0" />
>                  <exit code="3010" reboot="postponed" />
>          </install>
>          <upgrade cmd='msiexec /qn /i "%SOFTWARE%\wpkg\WPKG Client 
> 1.3.5.msi" SETTINGSFILE=%WPKGROOT%\settings.xml ALLUSERS=1 
> REBOOT=ReallySuppress' >
>                  <exit code="0" />
>                  <exit code="3010" reboot="postponed" />
>          </upgrade>
>          <remove cmd='msiexec /qn 
> /x{FD883F05-6D6B-4E81-8FD7-B209FEF750CD}' />
>    </package>
> 
> I get the following error:
> 
> 2008-08-22 15:38:21, ERROR  : Could not process (upgrade) package 'WPKG' 
> (wpkg):|Exit code returned non-successful value (1603) on command 
> 'msiexec /qn /i "%SOFTWARE%\wpkg\WPKG Client 1.3.5.msi" 
> SETTINGSFILE=%WPKGROOT%\settings.xml ALLUSERS=1 REBOOT=ReallySuppress'.

So you have one error here?


> Looking at the event view I see messages (in order):
> 
> Product WPKG. The File C:\Program\wpkg\wpkglogon.dll is being in in use 
> by the following process Name: winlogon, id 904
> 
> Product WPKG. The File C:\Program\wpkg\WPKGMessage.exe is being in in 
> use by the following process Name: WPKGMessage, id 1916
> 
> Product WPKG. The File C:\Program\wpkg\WPKGSrv.exe is being in in use by 
> the following process Name: WpkgSrv.exe, id 688
> 
> 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 of package vendor. Action 
> _A95459942_EE79_497A_9080_F39DDA8A7B80, location c:\Program 
> Files\wpg\wpkginst.exe command: --SETTINGSFILE=%WPKGROOT%\settings.xml

And a second, another error for the same installation?

Two exit codes for one failed installation? It's rather impossible. 
You're perhaps referring to two installation attempts?

Could you clear the event log, and start again?

Are you 100% sure Windows Installer 3.1 is installed (it may need a 
restart after the installation)?


-- 
Tomasz Chmielewski
http://wpkg.org




More information about the wpkg-users mailing list