[wix-users] Burn: util:FileSearch failing with "did not find path" for file in system32 dir
Bruce Cran
bruce at cran.org.uk
Fri Aug 26 08:32:14 PDT 2016
I'm having problems with a util:FileSearch I have in my bootstrapper
(using WiX 3.10.3.3007). I'm trying to get the version of hal.dll in
system32 to determine if KB2919355 is installed on Windows 8.1 or Server
2012 R2. My search line is:
<util:FileSearch Path="[WindowsFolder]\system32\hal.dll"
Variable="halversion" Condition="VersionNT = v6.3"
Result="version"/><bal:Condition Message="$(var.ProductName) requires
update 2919355 (Windows 8.1/Server 2012 R2 Update) to be
installed.">VersionNT <> v6.3 OR halversion >=
v6.3.9600.17031</bal:Condition>
It appears to work on my development machine, but on others I'm getting:
File search: wfsEDED24F86FDF2799851099A46A77E3D4, did not find path:
C:\windows\\system32\hal.dll
I'm just getting back into Windows installer work after a break from it
for a few months, so I can't remember: should that work, or will I be
hitting the SysWow64 directory via redirection? If it is being
redirected, it there any way to avoid that and check for a file in the
system32 directory?
--
Bruce Cran
More information about the wix-users
mailing list