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.
.Net Framework preinstall
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
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