Walkthrough: Deploying the TemperatureSystem Example
- Updated2023-02-21
- 3 minute(s) read
Walkthrough: Deploying the TemperatureSystem Example
Complete the following walkthrough to deploy the Measurement Studio TemperatureSystem shipping example using Installer Builder.
Parent topic: How to Perform Common Tasks in Installer Builder
Creating the TemperatureSystem executable
- Open C:\Users\Public\Documents\National Instruments\MStudioVS<version>\DotNET\Examples\Application\TemperatureSystem\cs\TemperatureSystem.<version>.sln in Visual Studio.
- Right-click the solution in Visual Studio Solution Explorer and select Configuration Manager.
- Select x86 from the Active solution platform drop-down menu. Complete the following steps if x86 is not visible:
- Verify that x86 is selected in the Platform column of the Project contexts grid of the Configuration Manager dialog box. Click Close.
- Select to refresh the project's references.
- Select to refresh the project's license file.
- Right-click the solution in Solution Explorer, and choose Rebuild Solution.
- Navigate to C:\Users\Public\Documents\National Instruments\MStudioVS<version>\DotNET\Examples\Application\TemperatureSystem\cs\bin\x86\Debug to locate and verify you can run the executable. You will deploy this application with Installer Builder.
Creating the TemperatureSystem installer
- Open Installer Builder.
- Select New Installer Project from the start screen.
- Configure properties in Step 1 of 4 of the Installer Project Wizard:
- Configure properties in Step 2 of 4:
- In Step 3 of 4, add TemperatureSystem.exe to the Files to Install list using the Add File(s) button. Click Next.
- In Step 4 of 4, make sure the following Measurement Studio runtime installers are selected:
![]() |
Note If you are deploying the 2010 version of the TemperatureSystem example, you will need to include the .NET Framework 4.0 versions of the listed runtime installers. |
- Click Finish to close the wizard and return to the Installer Builder user interface.
- Save the installer project file as TemperatureSystemInstaller.iip.
- Go to the tab, and configure the installer dialog.
-
Add a Start menu shortcut for
Temperature System.exe.
- Navigate to the Files and Directories tab and select TemperatureSystem.exe from the Files to Install pane.
- In the File Options: TemperatureSystem.exe pane, select the Shortcuts tab.
- Select Add Shortcut. Set the Target System Directory to [Start Menu]. Delete any contents in the Subdirectory field.
- Click OK to close the Add Shortcut for TemperatureSystem.exe dialog box.
- Navigate to the Build Status tab. Click Build.
- After the build finishes, click Explore Output Directory to navigate to the directory containing the installer.