2

I have a C# application that requires .net version 4 in order to run. I know how to create a basic installer using the Visual Stuido Installer Setup Project that comes with Visual Studio and that installs my application fine, however, I can't get it to check if .net version 4 is already installed in the client machine and if not install it. Does anyone have any suggestions? Should I use a different approach besides this method? Purchasing a license for InstallShield is not an option as that is too expensive. Thanks

user1546315
  • 683
  • 5
  • 16
  • 27

1 Answers1

3

You should follow this guide on MSDN. It should tell you what you need to know about creating an installer to check for .NET 4.

The long and short of it is, if you set it as a prerequisite, the installer will check that it is installed.

Spevy
  • 1,325
  • 9
  • 22
PiousVenom
  • 6,888
  • 11
  • 47
  • 86
  • Hi @MyCodeSucks After completing installation of window form MSI setup, my raw files(Design and coding) are also showing at installation location. I've developed this application using visual studio 2010. Setup created successfully, but after installation that MSI this problem is happening. Please help me. Thanks in advance. – dilipkumar1007 Aug 02 '17 at 07:13