hi 

ive set-up my registry search for the current verison of Windows, now i need
to only register the required .dll file when windows xp is found, so when
the reg search ive setup comes back as false


here is my regsearch which is working ok 

Property Id="Vista">
         <RegistrySearch Id="VistaSearch" Type="Raw" Root="HKLM"
Key="Software\Microsoft\Windows NT\CurrentVersion" Name="CurrentVersion"/>
        </Property>

Now here is the file in need to be registered
 
<File Id="Xscan4.dll" Name="Xscan4.dll"
Source="InstallFiles\InstallDir\System\Xscan4.dll" />

what should i do to make this selfregcost ="1" only when vista is detected??

Thanks

Wilson, Phil wrote:
> 
> See the VersionNT built-in Windows Installer property. It has a value of
> 600 on Vista. 
> 
> Phil Wilson 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Craig0ss
> Sent: Tuesday, September 25, 2007 5:35 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Searching for Vista install
> 
> 
> Hey 
> 
> i need to able to use wix to search the target machine that my msi is
> being
> installed on for a Vista operating system, if it finds vista installed
> then
> it should not register a certain dll file, however if vista is not found
> then i need the installer to register the dll
> 
> Any ideas
> 
> thanks
> -- 
> View this message in context:
> http://www.nabble.com/Searching-for-Vista-install-tf4515216.html#a128784
> 83
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> 
> ------------------------------------------------------------------------
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Searching-for-Vista-install-tf4515216.html#a12975652
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to