Mark Smith Posted July 1, 2009 Report Share Posted July 1, 2009 I have a problem with the installer build in 8.6.1. The short story - I build an executable and then an installer. In the installer I have the 8.6.1 Runtime checked on the Additional Installers page. Every thing is OK (except it prompts me for my disk for something in the 8.6.1 distribution, but that works OK and the build continues). I can modify the application, rebuild the exe, and then rebuild the installer - all OK so far. Now, I exit LabVIEW and install the application on my development machine - I do this to try and see if I have any obvious problems with the application or installer (like missing VIs for dynamic calls or config files) before I take it to the lab. This also works OK. Now, I see something that needs modification. I open LabVIEW, modify the VI that needs it, save, rebuild the application, and then try to rebuild the installer. Only now, the installer opens the Locate Distribution dialog and insists that "LabVIEW needs to copy a component installed or updated by the distribution" and it's pointing to the distribution (my installer) that I am trying to build. This circular dependency can't be resolved and the build fails. Here's some excerpts from the build log ... Getting distribution information for NI LabVIEW Run-Time Engine 8.6.1 This product is cached. Skipping. Getting distribution information for NI MetaUninstaller This product is cached. Skipping. Getting distribution information for MDF Support This product is cached. Skipping. Getting distribution information for NI Service Locator This product is cached. Skipping. Getting distribution information for Math Kernel Libraries This product is cached. Skipping. Getting distribution information for NI_Logos_5.0 Product is in volume 1 of distribution with id '{CB09ABD9-FCCC-43BC-B4E1-9DDA6EB98ADB}' Product is in volume 1 of distribution with id '{FA21606E-6B91-43A2-83DE-199D5045AE5F}' Adding distribution 'LabVIEW 8.6.1' Path: D:\Distributions\LabVIEW\LabVIEW861\ Loading distribution information from path: D:\Distributions\LabVIEW\LabVIEW861\ Product is in volume 1 of distribution with id '{FDAAAF1C-1FFC-4C29-A472-27A929FC8489}' Getting distribution information for NI TDM Streaming 1.2 This product is cached. Skipping. ... Complete list of distributions and products to copy: (0) LabVIEW 8.6.1, Disk 1 Id: {FA21606E-6B91-43A2-83DE-199D5045AE5F} Volume: 1 Path: D:\Distributions\LabVIEW\LabVIEW861\ Products: (0) NI_Logos_5.0 Id: {ADAD3A9A-8E72-405F-BB2E-535AA7C8A936} Flavor: 'Full' Path: Products\NI_Logos\ (1) MA231 Tester Id: {CB09ABD9-FCCC-43BC-B4E1-9DDA6EB98ADB} Volume: 1 Path: C:\MA231 Tester\Software\Builds\MA231 Tester Installer\Volume\ Products: (0) NI_Logos_5.0 Id: {ADAD3A9A-8E72-405F-BB2E-535AA7C8A936} Flavor: 'Full' Path: bin\p9\ (2) MA231 Tester Id: {FDAAAF1C-1FFC-4C29-A472-27A929FC8489} Volume: 1 Path: C:\MA231 Tester\Software\Builds\MA231 Tester Installer\Volume\ Products: (0) NI_Logos_5.0 Id: {ADAD3A9A-8E72-405F-BB2E-535AA7C8A936} Flavor: 'Full' Path: bin\p9\ .... And then, .... > The source directory for "MA231 Tester" is invalid because it is at the same location as the deployment destination directory (source = "C:\MA231 Tester\Software\Builds\MA231 Tester Installer\Volume\", destination = "C:\MA231 Tester\Software\Builds\MA231 Tester Installer\"). <<<MDFDistCopyList_GetItemInfo>>> Returning info for distribution 1 Last known path: C:\MA231 Tester\Software\Builds\MA231 Tester Installer\Volume\ Distribution title: MA231 Tester ... I can only fix this by uninstalling my application AND going into the registry and deleting the first entry with the GUID under the NI_Logos_5.0 (which refer to my application) - these entries are in the registry under "HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\Common\Installer\Distributions\" - where there are also registry entries for every app I've ever built and installed with LabVIEW - all 300 something. Obviously, the uninstall doesn't do much in cleaning up these things. So, anybody have any good ideas what to do? OR at least an explanation? Thanks, Mark P.S. I know this is just another reason to learn how to use the OpenG Builder This has also been opened as NI Service Request 7249245and cross-posted at http://forums.ni.com...=419757#M419757 I'm just hoping somebody will have an answer! Quote Link to comment
joltosa Posted March 15, 2013 Report Share Posted March 15, 2013 Thank you so much for posting this. I don't have an answer but I had the same problem and your method for fixing it works for me...it was driving me NUTS!!!!! Thanks again. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.