Hi guys,

My installer requires that .Net 2.0 SP1 to be present when installing. However 
one of the user cannot uninstall because he has Visual Studio 2008 which has 
.Net 3.5 which I presumed installed .Net 2.0 SP2 on his machine.

How do I fix my code in such that MSI doesn't check the install pre-requisites 
when uninstalling? Or if this is not possible, how about if it is SP1 or 
greater, it is okay to proceed?

My current workaround is as below,

  <!--Check for dotNet 2.0 SP1 before install-->        
        <Property Id='FRAMEWORK20SP'>
          <RegistrySearch Id='Framework20SPRegistry' Type='raw'
            Root='HKLM' Key='Software\Microsoft\NET Framework 
Setup\NDP\v2.0.50727' Name='SP' />
        </Property>

        <Condition Message='.NET Framework 2.0 Service Pack 1 is not present on 
the computer. Please download it from http://www.microsoft.com/downloads'>
    FRAMEWORK20SP = "#1" OR FRAMEWORK20SP = "#2" OR FRAMEWORK20SP = "#3" OR 
FRAMEWORK20SP = "#4"
  </Condition>

Thank you in advance!

Best regards,
Bob Lim


      Importing contacts has never been easier..Bring your friends over to 
Yahoo! Mail today! http://www.trueswitch.com/yahoo-sg

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to