[wpkg-users] Check conditions type uninstall

Jean-Jacques Moulis jj at isy.liu.se
Wed Apr 23 17:48:06 CEST 2008


On Wed, 23 Apr 2008 13:17:34 +0200 Jens Geile <jens.geile at mzbs.de> wrote:

JG> Hi,

JG> over the past couple of days I've been writing packages like mad and again and again I had the problem that the check condition of type "uninstall" matches case-sensitive. This isn't really a big problem but how about changing it to case-insensitive matching? I really doubt there are two software products that have the same name but differ in the way they are written, e.g. "Microsoft Office" and "MicroSoft Office" or whatever.

JG> The thing is that I usually know what I have to check for in the software menu but I dont know the exact way it is written, or I simply typo it using a small instead of a capital letter somewhere. This always means that I have to check and double-check for any such errors if the package installs fine but fails to verify the installation.

JG> In the past there was a request for "Profiles/Package ID's are Case Sensitive" (http://bugzilla.wpkg.org/show_bug.cgi?id=81) where in the end we got a new switch for config.xml. Maybe a switch like this would be another option instead of hardcoding the case-insensitiveness.

JG> Thanks in advance,

Copy/paste is your friend!

copy from regedit, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\

or even better, use orca when dealing with msi. 
Look in Property and you get the product code and name before the first install.

its even possible to modify the product name in msi in order to avoid strange characters
in uninstall (eg. TradeMark Copyrights).

Regards!




More information about the wpkg-users mailing list