11-27-2012 08:40 PM
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.
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
11-29-2012 09:52 AM
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
11-30-2012 05:26 AM
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