0

I have the below requirements in set up and deployment project

  1. Need to find dot net version available or not
  2. If not we ask user to have that
  3. if exists we need to check two DLLs are available in GAC or not
  4. if not we need to register them

But I don't have any idea as how to proceed....any help!

priyanka.sarkar
  • 25,766
  • 43
  • 127
  • 173

1 Answers1

0

Is the .Net Framework installed?:

Right-click on your setup project, hover on View, and click Launch Conditions:

Open Launch Conditions

You want to add .NET Framework to your launch conditions:

Add .Net Framework

After that, you can right-click on .NET Framework and click Properties Window. You can choose the Version number in that window.

Install assemblies to the GAC:

Right-click on your setup project, hover on View, and click File System:

Open File System

Then in that window, right-click on the root node (File System on Target Machine), hover on Add Special Folder, and click Global Assembly Cache Folder:

enter image description here

Drag your assemblies to this folder to have them installed on the machine. If the correct version is not already there in the GAC, the setup program will install it.

Mark Bailey
  • 1,091
  • 10
  • 25