Hi,

I need to create a lauch condition that checks if the .NET Framework 4.5.1 is 
installed as a part of its condition. The only way to do this (according to 
http://msdn.microsoft.com/en-us/library/hh925568.aspx) is to check the value 
(not just its existence) of the "Release" REG_DWORD registry value.

I know that there is the property NETFRAMEWORK45 that is set to the value of 
that registry value. But since it's a REG_DWORD, it is prefixed by a # (from a 
log: Property(C): NETFRAMEWORK45 = #378675). Therefore a simple "NETFRAMEWORK45 
>= 378675" condition doesn't work.

I know that I could use string comparison but this will break if Microsoft 
decides to add another digit to the value. A custom action is also a 
possibility. But is there really no way to do this in a short, clean and 
correct way?
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to