[wpkg-users] Error when running a batch file

Brandon Hamilton bhamilton at rmtt.com
Wed Feb 23 19:12:04 CET 2011


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\"

If I run "%WPKG%\TreeSizeContext_x32.bat" from a command line it works just fine.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20110223/a0625e16/attachment-0001.html>

More information about the wpkg-users mailing list