From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I tell the installer to put my html help files in the <helpdir> symbolic location?

I used the File>>Print function to create an HTML help file for my application and specified in the VI Properties for the app to use <helpdir>:\ApplicationHelp.HTML as the Help Path. This should pop up the help file when a user selects "Help for This VI" from my custom menu. It works from my development directory because I installed the help files into the help directory manually, but I can't figure out how the get the installer to put the files in the correct location on the target system.  I tried putting them in [LabVIEW 2010 Help] in the Destination View for the Source Files category, but that didn't work.  Anyone know the right way to do this?

0 Kudos
Message 1 of 6
(2,819 Views)

Anyone?  I know there has to be a way to do this as the LabVIEW documentation tells you this is what the <helpdir> symbolic path is for, but doesn't tell you how to make sure the HTML files go to the right place.

 


  • <helpdir>—Refers to the help directory in the labview directory. Use this symbolic path when setting the Help path on the Documentation page of the VI Properties dialog box. To use this symbolic path, enter <helpdir>:\ then the filename or path and filename to the help file.

  •  

    0 Kudos
    Message 2 of 6
    (2,803 Views)

    Hey MrSmith, 

     

    In LabVIEW 2010 SP1, if open the Project and right click My Computer, you can add the help file as a source. After you have added this file, you can then create an installer. Under the Destination header, you can add your desired destination path. After you have done that, you can go to the Source Files header and add the help file to that destination you created. 

     

    Hope this helps. Good luck with your application!

     

    ~kgarrett

     

    District Sales Engineer
    0 Kudos
    Message 3 of 6
    (2,787 Views)

    @kgarrett88 wrote:

    Hey MrSmith, 

     

    In LabVIEW 2010 SP1, if open the Project and right click My Computer, you can add the help file as a source. After you have added this file, you can then create an installer. Under the Destination header, you can add your desired destination path. After you have done that, you can go to the Source Files header and add the help file to that destination you created. 

     

    Hope this helps. Good luck with your application!

     

    ~kgarrett

     


     

    Thank you for the reply! I had already done the steps you suggested, so let me put up some screen shots that should help you understand my issue better. First, I specified the path to the help information on the Documentation screen of the applications Properties:

     

    DetectorFTAppProperties.png

     

     

    Next I had added all the help files (DetectorFT.html and all the .png files) to the source in a virtual folder I named Resources.

     

    DetectorFTProjectTree.png

     

    Next, for the release build I specified the files to be Always Included on the Source Files header.

     

    DetectorFTReleaseBuildSource.png

     

     

    Next I created a Resource Directory as a destination for the release build.

     

    DetectorFTReleaseBuildDestination.png

     

    Then I specified the Resource directory as the destination for the files for the Release build.

     

    DetectorFTReleaseBuildDestinations.png

     

    After creating the Release build, I created an Installer build and told it on the SOurce Files screen to put the help files into the [LabVIEW 2010 Help] directory.

     

    DetectorFTInstallerSource.png

     

    I had assumed that putting the files in the [LabVIEW 2010 Help] destination would put them into the correct directory when the installer ran.  When I ran the installer on the target system, the ran the application I tried to select the "Help for This VI" tab on the menu, but it was grayed out indicating it could not find the file in the proper location.  So the question I have is, what IS the proper location for the files to be installed to so the the application will find the Help files when it is looking for them at the <helpdir> Symbolic Path location? Thanks again!

     

    Jim Smith

    0 Kudos
    Message 4 of 6
    (2,773 Views)

    Oh, and if it helps I checked on my target system and it did indeed install the files at C:\Program Files\National Instruments\LabVIEW 2010\help.

    0 Kudos
    Message 5 of 6
    (2,761 Views)

    Hey MrSmith, 

     

    Several of us are looking into this issue with the Research and Development department and will post with our progress. Thank you for your patience!

     

    ~kgarrett

    District Sales Engineer
    0 Kudos
    Message 6 of 6
    (2,743 Views)