11-05-2009 04:14 PM
I moved my DLL, EXE, source, etc. files from one computer to another. The installer creation still works on the old computer (creates the installer with no problems).
On the new computer, when I tried to create an installer file (distribution file) via menu:
- Build
-- Distributions
--- Build MYDIST
it continues through the "Building Distribution MYDIST" dialog box.
The <Build Log> goes thru the following
- Adding files to installer
- Done adding files
- Preparing to build deployment
- Copying products from distributions
- Copying distribution "NI-488.2 for Windows" from D:\ to:
-- c:\mydir\cvidistkit.MYDIST\
But the error comes up with the popup "Distribution Not Found"
- Cannot find distribution "MYDIST".
- No distribution was found at the searched location.
-
- If you would like to specify a different path where the distribution can be found, enter it below.
-- c:\DOCUME~1\mylogin\LOCALS~1\Temp\Temporary Directory 1 for A_DIR.zip\
- [ ] Cache products pulled from this distribution locally for future builds
-- (Retry) (Abort Build)
I went to menu option:
- Build::Distributions::Edit MYDIST::"Edit Installer" :: "Drivers & Components" tab
And I verified all components checked were installed on this machine.
- I have installed the NI-VISA, NI-488.2, ICP400, LWCVI8.5.1, MAX4.4, on this machine.
Question: does this indicate I am still missing other "drivers & components"? Or is this caused by another issue?
11-05-2009 04:45 PM
If it says 'Cannot find distribution "MYDIST"', that indicates that one of the drivers/components that you installed from the MYDIST distribution needs to be included in the distribution that you are currently building. In order to include the component, it must be copied from the original source (i.e. the MYDIST distribution). It looks as though you originally ran the installer from the temp directory after unzipping it. Hopefully you still have a copy of that distribution around that you can provide when prompted. You could provide it on disk, or just unzip it locally (to a more permanent location). I would suggest that you check the box that says "Cache products pulled from this distribution locally for future builds" so that you don't have to worry about being prompted for that distribution in the future.
Let me know if you have trouble or are still unsure about this.
Mert A.
National Instruments