Search code examples
c#.netinstallshieldsetup-projectadvanced-installer

install .net framework 4.5 along with project primary setup


I want to create setup project for my application but since my project uses .net framework 4.5 I want .net frame work 4.5 setup file being install after (or before) my app setup when setup.exe clicked I used Install shield and Advanced Installer as well as vs setup project

instal shield (v 10) did not even know .net frame work 4.5 in prerequisite section. Advenced Installer had better support on .net frame work but it consist only launch condition in which if condition is not true the installation stops but it doesn't have a section to get .net setup file and install it along with main setup

is there any setup builder app that get one setup file (msi or exe) and install it along with main setup ???

thanks in advance


Solution

  • Advanced Installer has builtin support for Prerequisites, .NET is in the list of predefined ones. However, you need to create at least a Professional project type.

    Once you have that project type you can add .NET as prerequisite and the setup will get the EXE and launch its installation, if it is missing from the target machine.

    enter image description here