[wpkg-users] Package design help

Tomasz Chmielewski mangoo at wpkg.org
Tue Sep 25 20:01:27 CEST 2007


Paul McGrath schrieb:
> Hi,
>   could someone please advise me where I am going wrong.  I don't quite
> understand the 'exit code' value
> I want to delete these template files if they exist and then install the
> application.
> This package exits with non-successful value '1'.
> 
> I tried to add in exit values but got orphaned packages.
> What do I need to do to get it to work?

Hi,

If you don't care about exit codes, just try to add all these commands 
in the .bat file, and end it with "echo" (which will always succeed):

command1
command2
del blah
del blah2

echo


And put this .bat file as an install command.

Also, which command does exit with code 1? You sure it's del? Perhaps 
it's msiexec or regsrv32? Did you run wpkg.js with /debug?



-- 
Tomasz Chmielewski
http://wpkg.org


wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users



More information about the wpkg-users mailing list