Brandon Hamilton <bhamil...@rmtt.com> writes:

> Hello,
>
> I get the following error when I call a batch file on an install command:
> Could not process (install) package 'TreeSize Free Context x32' 
> (treesizecontext_x32):
> Exit code returned non-successful value (-1) on command 
> '"%WPKG%\TreeSizeContext_x32.bat"'
> Batch file is:
>                 @echo off
> reg add HKEY_CURRENT_USER\Software\Classes\Folder\shell\TreeSize\command /ve 
> /t REG_SZ /d "\"C:\Program Files\JAM Software\TreeSize 
> Free\TreeSizeFree.exe\" "\"%%1\"
> exit
>
> If I run "%WPKG%\TreeSizeContext_x32.bat" from a command line it works just 
> fine.

It depends how you run wpkg.js, maybe the HKCU is not available like
with WPKG client running as system.

The solution is to use Active Setup[1].

Regards.

Footnotes: 
[1]  http://www.appdeploy.com/articles/activesetup.asp

-- 
Daniel Dehennin
RAIP de l'Orne

Attachment: pgp2ov1r6nbFI.pgp
Description: PGP signature

-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to