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

Paul Griffith paulg at eecs.yorku.ca
Tue Apr 11 20:10:13 CEST 2017

On 2017-04-11 01:03 PM, Rainer Meier wrote:
> 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,
> Rainer


    Hat tip to you!  The regular expression ".*SQL Server 2012 
Express.*" did the trick.


More information about the wpkg-users mailing list