.Net Framework preinstall

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

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: 21 May 2015, 18:40

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

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