.Net Framework preinstall

You have trouble using InstallForge? Then this is the right place for you.
Post Reply
gurupatik
Posts: 1
Joined: Mon Apr 20, 2015 4:19 pm

Hi, my application needed in .Net Framework 4.0. How can I check if it is installed on a computer and install it if needed or cancel setup if it is not possible?

Thanks.
BigJ
Posts: 1
Joined: Thu May 21, 2015 6:40 pm

I have the same question. Anyone mind lending a hand?
mitch
Posts: 2
Joined: Fri May 29, 2015 2:40 pm

i solved this issue by downloading the .NET framework offline installer and adding it to my installforge setup project (under files). then i created a custom command running the dotnet installer in silent mode. in case the framework is already installed the installer will skip this step. see the attachment for how i solved this.

another solution would be to create a shell execute script that checks whether dot net is installed and downloads the dotnet installer in case its not installed on the host machine. the download would be achieved by using a vbs script. see http://superuser.com/questions/59465/is ... mmand-line

- mitch
Post Reply