Force Computer to Restart after Running an InstallerPrimary Software: LabVIEW Development Systems>>LabVIEW Base PackagePrimary Software Version: 7.0 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I made an installer, but how do I modify the computer restart behavior after the installation is complete on the target machine? Solution: Using command line arguments, you can specify whether the installer will ask the user to restart the target computer after completion. The default behavior is to ask for a restart only if it is needed by the installed components. To modify the restart behavior, add the following command line arguments to the installer setup file: /r:f Force a restart /r, /r:n Suppress a restart One way of adding the command line arguments to the file is the following:
Another way to do it is create a shortcut to the setup file and add the command line argument in the properties. For more information on command line arguments, type /? as the argument to your file (See attachment). Related Links: KnowledgeBase 1CNFGHFI : Using Command Line Arguments with a LabVIEW Executable KnowledgeBase 0X1EG50Z: Passing a Command Line Argument To a Stand-Alone Executable Created in LabWindows/CVI Attachments:
Report Date: 06/23/2009 Last Updated: 06/26/2009 Document ID: 4YMF3OWQ |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
