10-31-2013 03:45 AM
Hi Edna,
I have made the following regarded to the MSStudio installation:
I have thought that maybe the previous MSStudio 2010 installation has "damaged" my development PC. Please note that if I remove the Common.190 reference from the software project, the error message is always missing 188 instead of 190. That is strange because I have all the newest components in the PC.
Is it possible that some NI component, which is not directly referenced from my project, makes this. And that component is updated after the DAQmx installation.
Please note that I have also made a distribution file by using your example. That example was WiX all libraries Setup project.
I included the NI files in the Publish tab but it did not help. Please note, I am not using the Publish wizard for delivering the application. Instead of that I use the WiX deployment project.
BR,
Ilkka
11-01-2013 10:07 AM
Hi Yltsa,
Thanks for going through the whole process of installation.
So do you use WiX then to create your distribution file? Or do you follow these instructions:http://digital.ni.com/public.nsf/allkb/ed87c183e056cac386256df1004e54c6?OpenDocument
Let me know.
11-01-2013 10:22 AM
Hi Edna,
I have Visual Studio 2012 and I use WiX. VS 2012 does not contain anymore the old setup project types.
I cannot follow the old instructions.. WiX is now also NI recommended tool for making the deployment projects. Before this I lose a lot of time by playing InstallShield Express edition with VS2012&MS2013.. In this forum I was guided to select WiX.. 😉
It is nice tool.. but now it is this problem.. We must deliver our software to many customers and this is not so easy..
Have a nice day,
Ilkka
11-04-2013 12:13 PM
Hi Yltsa,
Did you try to deploy to another computer as well? and got the same issues.
So a better way to delete the 188 version from GAC is to use "gacutil " functrion in the visual studio command prompt which unregisters the assembly. You may want to try this as well.
I also found out that your files are referring to .NET 4.0. The shipping examples that we have only works for .NET 4.5 which is possibly why the systems that you are installing is looking for the versions of the NI common libraries that are relevant to the .NET 4.0 framework and not finding them because the common.wicx refers to a later version of the common libraries.
The reason why the installers are successful on some systems are due to the fact that the NI common libraries are installed with the most recent version of .190 with the installation of DAQmx so when the installer says it needs to find an older version of the common libraries it finds a later version so it skips that step and is successful as a result.
11-04-2013 12:28 PM
Hi Yltsä,
Seems like we have lost track of what we have been trying.
Can you go to a development computer where it doesn't have any NI softwares. Then install Visual Studio xxxx, with Measurement Studio 2013, build one of the shipping examples, and let me know what happens.
11-05-2013 01:58 AM - edited 11-05-2013 02:05 AM
Hi,
I have deleted the 188 version from GAC by "gacutil.. A long time ago..
I have installed Visual Studio 2012, with Measurement Studio 2013, and builded one of the shipping examples. I have aso reported that here.. (the same result, missing 188). You can deploy our software into your computer.. I can send a download link. We can use also your example which I have build here.
BR,
Ilkka
11-06-2013 09:27 AM
Hi Yltsa,
Did you try on another computer? on a totally fresh computer? This way we can figure out if the problem is from the computer or program.
You can also send the link to your project. I can try to run it here, and see if I get the same error.
11-06-2013 09:40 AM - edited 11-06-2013 09:45 AM
Hi Edna,
yes.. I have tried in many new computers coming directly from the factory.
BR,
Ilkka
11-07-2013 01:27 PM
So same behaviour happens with brand new computers? Then the problem is definitly with the program. Please try to send the program to me and see if I get the same behaviour here.
11-07-2013 05:29 PM
Hi Edna,
I have the same phenomena when using this NI example solution. You can try build it and install the sample into a fresh computer.. maybe you will get also missing 188 problem.. 🙂
I have opened a case also directly with NI customer support. I think that they noticed the same as me.. But nobody can say where is the problem.. yet..
BR,
Ilkka