[wpkg-users] Check is failing when it shouldn't on MS SQL Server 2012 Express LocalDB

Rainer Meier r.meier at wpkg.org
Tue Apr 11 19:03:17 CEST 2017

Hi Paul,

There are several possibilities why your uninstall check might fail.

> <check type="uninstall" condition="versiongreaterorequal" 
> path="Microsoft SQL Server 2012 Express LocalDB" value="%PKG_VERSION%" />

What ist PKG_VERSION variable set to? Is it even defined in the package?

Make sure to run WPKG from 64-bit cscript.exe (else the check fails if 
the uninstall entry is in 64-bit section of the Registry)

The uninstall name/path might contain some special characters. Perhaps 
you can try to use a regular expression like ".*SQL Server 2012 Express.*".

best regards,

More information about the wpkg-users mailing list