title: Wix checking netfreamwork 4 during installation of files
body: <p>I experienced strange behavior from wix. I created installation and when I wanted to test it, everything works fine, my dialog shows... But when I clicked on install, it looks like it is installing but in one third of installation files message box pop up saying: Installation of MYPRODUCT requires .NET Framework 4!</p>
  
  <p>My first idea was that I have bad launch condition... but still it is launch condition and not install or what... so I deleted it a problem still is there...</p>
  
  <p>Then I thought that it is maybe because of my custom action in C#, so I deleted it also, but problem is still there. Any idea?
  Thanks</p>
  
  <p>and btw. that launch conditions (netframework) are working fine...</p>
  
  <p><strong>EDIT: if I set InstallScope="perUser" it works...</strong></p>
  
  <p>Log:</p>
  
  <pre><code>Action start 12:54:33: INSTALL.
  MSI (s) (A0:F4) [12:54:33:505]: Running ExecuteSequence
  MSI (s) (A0:F4) [12:54:33:505]: Doing action: FindRelatedProducts
  Action 12:54:33: FindRelatedProducts. Searching for related applications
  Action start 12:54:33: FindRelatedProducts.
  MSI (s) (A0:F4) [12:54:33:507]: Skipping FindRelatedProducts action: not run in maintenance mode
  Action ended 12:54:33: FindRelatedProducts. Return value 0.
  MSI (s) (A0:F4) [12:54:33:507]: Doing action: AppSearch
  Action 12:54:33: AppSearch. Searching for installed applications
  Action start 12:54:33: AppSearch.
  AppSearch: Property: FM70HOME, Signature: FM70_HOME_PathRegistry
  MSI (s) (A0:F4) [12:54:33:508]: Note: 1: 2262 2: Signature 3: -2147287038 
  MSI (s) (A0:F4) [12:54:33:508]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE32\SOFTWARE\Adobe\FrameMaker\7.0 3: 2 
  AppSearch: Property: FM71HOME, Signature: FM71_HOME_PathRegistry
  MSI (s) (A0:F4) [12:54:33:509]: Note: 1: 2262 2: Signature 3: -2147287038 
  MSI (s) (A0:F4) [12:54:33:509]: PROPERTY CHANGE: Adding FM71HOME property. Its value is 'C:\Program Files (x86)\Adobe\FrameMaker7.1'.
  AppSearch: Property: FM72HOME, Signature: FM72_HOME_PathRegistry
  MSI (s) (A0:F4) [12:54:33:509]: Note: 1: 2262 2: Signature 3: -2147287038 
  MSI (s) (A0:F4) [12:54:33:509]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE32\SOFTWARE\Adobe\FrameMaker\7.2 3: 2 
  AppSearch: Property: FM80HOME, Signature: FM80_HOME_PathRegistry
  MSI (s) (A0:F4) [12:54:33:510]: Note: 1: 2262 2: Signature 3: -2147287038 
  MSI (s) (A0:F4) [12:54:33:510]: PROPERTY CHANGE: Adding FM80HOME property. Its value is 'C:\Program Files (x86)\Adobe\FrameMaker8\'.
  AppSearch: Property: FM10HOME, Signature: FM10_HOME_PathRegistry
  MSI (s) (A0:F4) [12:54:33:510]: Note: 1: 2262 2: Signature 3: -2147287038 
  MSI (s) (A0:F4) [12:54:33:510]: PROPERTY CHANGE: Adding FM10HOME property. Its value is 'C:\Program Files (x86)\Adobe\AdobeFrameMaker10\'.
  AppSearch: Property: NETFRAMEWORK45, Signature: NetFramework45
  MSI (s) (A0:F4) [12:54:33:510]: Note: 1: 2262 2: Signature 3: -2147287038 
  Action ended 12:54:33: AppSearch. Return value 1.
  MSI (s) (A0:F4) [12:54:33:511]: Doing action: LaunchConditions
  Action 12:54:33: LaunchConditions. Evaluating launch conditions
  Action start 12:54:33: LaunchConditions.
  Installation of eAIP.wiz@rd requires .NET Framework 4!
  MSI (s) (A0:F4) [12:54:40:586]: Product: Product -- Installation of Product requires .NET Framework 4!
  
  Action ended 12:54:40: LaunchConditions. Return value 3.
  Action ended 12:54:40: INSTALL. Return value 3.
  </code></pre>
  
  <p>also I have no idea why it check for NetFramework45... 
  My launch conditions are:</p>
  
  <pre><code>&lt;Condition Message="Installation of Product requires .NET Framework 40 full!"&gt;NETFRAMEWORK40FULL OR REMOVE ~= "ALL"&lt;/Condition&gt;
          &lt;Condition Message="Installation of Product requires Framework!"&gt;NOT WF_INSTALLED = "NOT INSTALLED" OR REMOVE ~= "ALL"&lt;/Condition&gt;
          &lt;Condition Message="Can't find any of Adobe Framemaker 10.0, 8.0, 7.2, 7.1, 7.0 installation.! Product would not be working."&gt;FM10HOME OR FM80HOME OR FM72HOME OR FM71HOME OR REMOVE ~= "ALL"&lt;/Condition&gt;
  </code></pre>
  
  <p><strong>And why it writes message that requries .Net Framework 4, when firt time launch condition passed... and when I have net framework 4 full installed?</strong></p>
  
  <p><strong>Full log:</strong> <a href="http://pastebin.com/eEGCnQXu" rel="nofollow">http://pastebin.com/eEGCnQXu</a></p>