LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Building installer with MAX 5.4 included prompts search for NI-DAQmx 8.5 disc

Hi,

 

I'm building an installer for a LabVIEW application created in LabVIEW 2011 SP1. The executable build is successful, but I'm having trouble with the build of the installer.

Along with the application I wish to include the LV2011SP1 runtime engine, NI-DAQmx 9.7 drivers and MAX 5.4. (MAX = Measurement and Automation Explorer)

I can include the LV2011SP1 runtime engine and NI-DAQmx 9.7 drivers.

However when I try and include MAX 5.4 I get a prompt to source it from the install discs for NI-DAQmx 8.5. This can't be correct because at that time MAX was at version 4.2. I believe MAX 5.4 ships with NI-DAQmx 9.7

I can't locate this problem within the forums or the knowledge base. Has anyone else come across this issue? Does anyone else have a solution?

At the moment all I can do is create the installer without MAX and then install MAX5.4 seperatly. 

Regards,

Bandit.


0 Kudos
Message 1 of 15
(3,420 Views)

I'm not sure why, but it is possible there was some component that wasn't upgraded when you installed MAX 5.4 so the installer is trying to get it from its original source of MAX 4.2.  

 

You can try to resolve the issue by downloading DAQmx 8.5 and then point the installer builder to that location when you build.  It should cache the part that it is missing, so hopefully it will be just a one time thing.

 

The only other thing that I can think of is trying to upgrade to a newer version of MAX (like 5.5.1) and hope that the old component is upgraded, however there is no guarantee that will fix the issue and you may need to do some additional validation to make sure you don't have any issues with the new version.

0 Kudos
Message 2 of 15
(3,410 Views)

Thanks for your reply JoshuaP.

I have tried a repair of MAX 5.4 from the NI-DAQmx 9.7 discs it came with, and then installing MAX 5.5.1 as you outlined. No success so far.

I'll try tracking down the installation discs for NI-DAQmx 8.5 and see if that helps. the original discs will be with our network service provider, so may take some finding. We are on the VLA here, so my install was from the network originally. I think somehow the relevant folder on the network has been renamed from the installation disc and isn't properly recognised as the correct source, which is hampering my efforts.

 

Regards,

Bandit.

0 Kudos
Message 3 of 15
(3,381 Views)

Dear Bandit,

 

Thank you for your question!

 

In order to include MAX into your installation you will need the installation files which usually are located on the installation CDs,

not the software that has already been installed on your computer. 

 

Another option (instead of using installation CDs) is to download DAQmx 8.5 from National Instruments:

 

http://www.ni.com/download/ni-daqmx-8.5/276/en/


Right click on the file and extract (using winrar or 7zip) its contents into a separate folder.
And then provide this folder as a source for the installation files.

Document below explains in details why is it happening:

 

http://digital.ni.com/public.nsf/allkb/C3666BA408F81E59862570D20056E692?OpenDocument

 

I hope that you will find this information useful!

 

All the best,

0 Kudos
Message 4 of 15
(3,362 Views)

Hi Max,

 

Thanks for your reply, and for the pointer to the document at the end of your post. It clarifies what I thought was going on - a dependency will be updated when a newer version is installed, and the newer source disc will be required.

I understand the need to access the installers from old disks for products you are adding to the installer you are building. I've made a number of installers for numerous LabVIEW applications I have written, and never before had a problem with that.

This time the process seems to have an error. The discs being requested are older than the version of MAX in question. I was trying to add MAX 5.4 which shipps with NI-DAQ 9.7. Discs requested however are NI-DAQ 8.5, which included MAX 4.5. This is the opposite of the process described in the document, a newer version of MAX is required but older discs are being requested.

Regards.

Bandit

0 Kudos
Message 5 of 15
(3,354 Views)

Hi Bandit,

 

I suggest you trying these steps (if you want to add MAX 5.4 which comes with DAQmx 9.7 into your installer):

 

1. Download DAQmx 9.7:

http://www.ni.com/download/ni-daqmx-9.7/3811/en/

 

2. Right click on the downloaded file and extract contents to a separate folder.

 

3. Provide this folder as a source for the installation files.

 

Kind Regards,

0 Kudos
Message 6 of 15
(3,350 Views)

Hi Max,

 

I tried similar referencing the NI-DAQmx 9.7 disc, which I have, but the dialog wouldn't proceed and complained that I was providing a different source to that being requested.

I can't see how your proposal will differ, but if I get opertunity I will try. Downloading from the net isn't a simple process due to protection around our secure network, I have a few hoops to jump through.

Regards,

Bandit.

0 Kudos
Message 7 of 15
(3,347 Views)

Hi Bandit,

 

My apologies for misunderstanding.

I thought that requested file is newer than one on the CD.

 

It would be great if you could provide your technical report from MAX (steps are described in the link below):

http://digital.ni.com/public.nsf/allkb/271F252B4EF0A2E0862570E70056A1E4

 

Or at least I would like to know what is your current version of DAQmx (you can find it from technical support)?

 

Thank you!

0 Kudos
Message 8 of 15
(3,343 Views)

Max,

 

I will try and get that together for you as soon as I can. I'm working on a different project at the moment, please bear with me.

Regards.

Bandit

0 Kudos
Message 9 of 15
(3,339 Views)


Hi Max,

I have run the report, but our security/firewall arrangements don't permit me to upload the zip file. 😞

My NI-DAQmx install is currently 9.7

I have also located the disc requested, but when I try and use it during the creation of the installer I get this...


Error message.JPG

 

Regards,  Bandit

0 Kudos
Message 10 of 15
(3,315 Views)