Hi Marco,

Marco Gaiarin wrote:
> When in an action for a package i specify the exit status, the 'exit
> status 0 is a success' are considered default, right?

Yes, if not specified otherwise '0' means successful.


> Until now i verbosely specify:
> 
>         <upgrade cmd='msiexec /q /x{AC76BA86-7AD7-1040-7B44-A81200000003} 
> REBOOT=ReallySuppress' >
>               <exit code="0" />
>                 <exit code="1605" />
>                 <exit code="3010" reboot="postponed" />
>         </upgrade>
>         <upgrade cmd='msiexec /q /i "%SOFTWARE%\WPKG\Reader 9.0\AcroRead.msi" 
> ALLUSERS=1 REBOOT=ReallySuppress TRANSFORMS="%SOFTWARE%\Reader 
> 9.0\AcroRead.mst"'>
>               <exit code="0" />
>                 <exit code="3010" reboot="postponed" />
>         </upgrade>
> 
> i ask if it is superfluous. Thanks

Yes, it's superfluous, however it does not harm to specify it. Until
WPKG 1.0 an exit code of 0 could not be assigned to a reboot but current
WPKG releases support this too. So it's common practice not to specify
exit code 0 unless you want to assign any type of reboot to this code.

br,
Rainer
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to