LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

build specification support file not updating

Maybe I am missing something here, but a support file (a PDF manual) is NOT being updated when I run a LabVIEW Installer to upgrade an existing installation, however the LV executable is updated.

 

Before I run the installer, I re-build the executable and then re-build the Installer, which copies the PDF Manual to the [Public App Data] directory during installation.

 

LabVIEW Build Spec Support File.png

 

My questions are:

1) Does re-building the Installer overwrite the existing support file contents (there seems to be no way of telling this eg. check the file size)?

2) Does running the new installer update support files (as I said I know it updates the LV executable).

 

Chris

0 Kudos
Message 1 of 3
(2,158 Views)

Hi Chris,

 

Here are the steps to update a file in an installer:

 

1.  Update the file in the project

2.  If the file name didn't change, rebuild the installer

3.  If the file name did change, open the properties of the installer.  In source files, add the file to the Destinations tree

 

When you rebuild the installer, it will overwrite the existing file.  When running the new installer, if the updated file has the same file name as the original file, it will update.  Otherwise, it will just add another file.  I have tested this with a pdf in the Public App Data folder, and it exhibits this behavior.

 

Hope this helps!

 

Regards,

 

Dayna P.

Applications Engineer

National Instruments

0 Kudos
Message 2 of 3
(2,131 Views)

Hi Dayna,

I did exactly everything you listed before I sent my first post which unfortunately didn't work.

 

Then I temporarily lost our network connection (where the LV project is stored) which had the side effect of converting my Auto-populating folders to Virtual Folders.  When the link was restored I converted the project back to Auto-populating folders, but when I opened my Installer Build Specifications it had lost the files I had set in the Source Files window.  When I added them again and re-built the installer only then did it update my PDF manual.

 

I will try the "normal" procedure again (when I have updated the manual) and see if this time it does overwrite the old manual.

 

Chris

0 Kudos
Message 3 of 3
(2,125 Views)