[EMAIL PROTECTED] wrote:
Hi there,

Im trying to get all my software to work with wpkg and found a problem...

I would like to see it possible to check for updates with the uninstall check.
It right now isnt possible to do so. (For example the MS office sp1).

"uninstall" check is checked before WPKG decides if it should install some software.

For example, if we have Office 2003 installed, we will have "Microsoft Office Professional 2003" in Software Add/Remove.

So the check condition will look like that:

<check type="uninstall" condition="exists" path="Microsoft Office Professional 2003" />

Before attempting to install Office, WPKG will check in Software Add/Remove (actually, it checks somewhere in the registry, but it has the same effect), if "Microsoft Office Professional 2003" is installed.

If it is installed - WPKG will skip the installation of Office (because it's already installed).

If it is NOT installed, WPKG will launch the "install cmd".



So we can say, that "uninstall" looks into this registry key:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DisplayName -> Microsoft Office Professional 2003

to compare it with "uninstall" check.

Logically, it should work with updates, too, but I didn't have the opportunity to check it.

If it's not there, you can always use a "registry" check.



--
Tomek



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to