<pre>
Hi All,
I got a solution to install the framework after end of the wix installer installation.
Move file to application installation folder.
<component id="DotNetFramework4.0.exe" guid="F23D2C15-ADBB-41CB-9EE8-51410D572655">
<file id="DotNetFramework4.0.exe" name="DotNetFramework4.0.exe" source="<source folder>\dotNetFx40_Client_x86_x64.exe" />
</component>
Add component ref
<pre lang="xml"><ComponentRef Id="DotNetFramework4.0.exe"/>
</pre>
Add install sequence
<installexecutesequence>
<custom action="DotNetFramework4.0.exe" before="InstallFinalize">NOT ISDOTNET</custom>
</installexecutesequence>
Add custom action
<customaction directory="<Target Directory>" execommand="[#DotNetFramework4.0.exe]" id="DotNetFramework4.0.exe" return="asyncNoWait" impersonate="no" execute="deferred" />