Hello,

 

I am trying to add a condition for checking the version of the Microsoft
management console assembly in the wix code. Here is the snippet:

 

  <Property Id="SKIPDOTNETCHECK" Value="0" />

    <Condition Message="Microsoft .NET Framework Version 3.5 is required
to use [ProductName] (your current version is [MsiNetAssemblySupport]).
[ReferToDocsLaunchCondition]">

      <![CDATA[ (NOT DOTNET35 = 0) OR (SKIPDOTNETCHECK = 1) ]]>

    </Condition>

 

    <Property Id="MMCFXFULLPATH" Value="0">

      <DirectorySearch Id="WindowsDir" Path="[SystemFolder]">

        <FileSearch Id="MMCFxDllFile"
LongName="Microsoft.ManagementConsole.dll" MinVersion="5.2.3790.2054" />

      </DirectorySearch>

    </Property>

 

The version of the Microsoft.ManagementConsole.dll  on the install
system is 5.2.3790.3959. However, the condition fails.

 

Any suggestions, why?

 

Thanks

 

Anshu

 

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to