Command Line Argument Variables in LabVIEW 6.0.x Application Builder Do Not Expand ProperlyPrimary Software: LabVIEW Development Systems>>LabVIEW Professional Development SystemPrimary Software Version: 6.0.2 Primary Software Fixed Version: N/A Secondary Software: LabVIEW Toolkits>>LabVIEW Application Builder
Problem: When building an application in LabVIEW, in the Advanced Installer Settings, it is stated that one can provide special variables %src, %dest, %group and %name for command line options. During installation these variables should be replaced with appropriate paths and passed to the executable as command line arguments. However, if these paths contain spaces, only the first tokens before the space are substituted for the variables.Solution: To ensure the expanded paths are not truncated, include quotes for each variable, and quote the entire command line as well. For instance, if the first command line argument is the application installation directory chosen by the user, and the second argument is the directory which contains setup.exe, then enter ""%dest" "%src"" for the command like arguments option in Advanced Installer Settings.Related Links: Attachments:
Report Date: 01/15/2005 Last Updated: 01/20/2005 Document ID: 3HEJUQKF |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
