[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 11:09:38 PDT 2016


On 8/26/2016 11:08 AM, Bruce Cran wrote:
> On 8/26/2016 10:59 AM, Bob Arnson wrote:
>
>> I've used Path="[SystemFolder]wintrust.dll" successfully.
>
> Thanks! Of course access to [WindowsFolder]system32 _is_ being 
> redirected, and there's no hal.dll in SysWow64.
>
> I had started thinking I'd need to dig around in the guts of the 
> registry (e.g. 
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component 
> Based 
> Servicing\Packages\Package_for_KB2919355~31bf3856ad364e35~amd64~~6.3.1.14) 
> which I feared would be rather unreliable - but since wintrust.dll 
> exists in both locations and has the expected version number I'll go 
> with that.
>

It turns out that checking wintrust.dll doesn't work because when 
KB2919355 is installed it doesn't get updated to 6.3.9600.17031 (which 
is noted in https://technet.microsoft.com/en-us/library/dn645472.aspx as 
being the version of hal.dll signifying the update). Back to checking 
the registry then!

-- 
Bruce



More information about the wix-users mailing list