Click here to Skip to main content
15,900,907 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more: (untagged)
Dear All,

Is possible to check framework installed or not when installing the WIX installer setup file. Also If framework is not installed then framework will install after end of the WIX installer setup file.?

Please help me

Thanks & Regards

Rameshkumar.T
Posted
Comments
Sandeep Mewara 5-Jun-12 10:14am    
What is WIX? Your own installer for it?

1 solution

<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" />
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900