Chapter 7Licensing Your Target and Creating the Installer© National Instruments Corporation7-3 1,Target Distribution 1, GuideCreating an Installer for Your TargetWhen you receive the merge module and signed TgtSupp.xml file from National Instruments, your setup developer can create the installation CD for your target. Installing the Necessary Components for Your TargetThe target installer must include the following:•All of your target files•MSI with the product DLL and custom license file•Signed TgtSupp.xml file•Palettes•VIs•Examples•Documentation•(Optional) Toolchain for your targetNoteNational Instruments recommends shipping the toolchain that you have tested with your target. As toolchain versions are revised and updated, end users might have difficulty finding the correct version of the toolchain. Also, trying to get a target to work with a different version of a toolchain can introduce hard-to-find errors.Locating the LabVIEW 8.2 DirectoryThe setup developer for your product must create an installer that can dynamically detect where LabVIEW 8.2 is installed on the system in case the end user does not install LabVIEW 8.2 in the default directory. The LabVIEW installer creates a registry key, Path, that stores the path to the main LabVIEW 8.2 directory. The registry location of Path is HKEY_LOCAL_MACHINE\Software\National Instruments\LabVIEW\8.2. The setup developer can use the AppSearch and RegLocator installer database tables to search the registry for the LabVIEW Path key and populate a property that specifies the location of the LabVIEW 8.2 directory. The Directory table for the target installer can reference this property to install your target files in the LabVIEW 8.2 directory.