It might be easier to look in the registry for the DisplayName item in
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\kbnnnnn for the
fix, if it is actually a kb update that's in Add/Remove Programs. 

Phil Wilson 



________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tina
Basinger
Sent: Wednesday, March 07, 2007 6:20 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Searching for file in GAC


What's the best way to search if a file exists in the GAC?  There was a
bug in Windows Server 2003 SP1 that caused some interop files to be
removed from the GAC.  A windows update has since been released to fix
this, and I want to make sure this windows update (or a later service
pack) has been installed before allowing my install to run.  I've done
file searches before, but never for a file in the GAC.  Do I still do it
the same way (see below), or is there a better way? 
 
<

Property Id=' AZ_ROLES'> 

     <

DirectorySearch Id=' DirectorySearch_GAC' Path="
[WindowsFolder]Assembly" Depth= "5"> 

          <

FileSearch Id=' FileSearch_AZRoles' LongName=
'Microsoft.Interop.Security.AzRoles.dll' MinVersion ="1.1.4322" /> 

     </

DirectorySearch> 

</

Property>
 
Thanks!
-Tina
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to