[wpkg-users] Check directives not working
Tomasz Chmielewski
mangoo at wpkg.org
Fri Jan 19 15:08:26 CET 2007
Guenael Sanchez wrote:
> Hello all,
>
> I have a problem with check directives. Each time I run wscript.js, Firefox
> tries to install again and gives an error:
Did you mean "cscript wpkg.js /some /flags"?
> There were the following errors:
>
> Package name: Mozilla Firefox 2
>
> Could not install Mozilla Firefox 2.
> Failed checking after installation.
>
> Here is my packages.xml
>
> <packages>
> <package id="firefox" name="Mozilla Firefox 2" revision="1" reboot="false"
> priority="0">
> <ckeck type="file" condition="exists" path="%PROGRAMFILES%\Mozilla
> Firefox\firefox.exe" />
> <install cmd='"%SOFTWARE%\firefox\Firefox Setup 2.0.0.1.exe" -ms' />
> <upgrade cmd='"%SOFTWARE%\firefox\Firefox Setup 2.0.0.1.exe" -ms' />
> <remove cmd='"%PROGRAMFILES%\Mozilla Firefox\uninstall\uninstall.exe" /s' />
> </package>
> </packages>
>
> I also tried other "<check" versions like: uninstall with "Mozilla Firefox (
> 2.0.0.1)" or registry, but the problem is still here.
>
> Am I missing something, this is my first test.
Could you run it with the /debug flag?
cscript wpkg.js /synchronize /debug
What does your %SOFTWARE% variable point to?
Check with "echo %SOFTWARE%".
--
Tomasz Chmielewski
_______________________________________________
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