03-03-2014 11:59 AM
I have used the Setup and Deployment wizard in VisualStudio 2010 and earlier with MeasurementStudio with great success. However, since Microsoft dropped this out of VisualStudio 2012, the only other alternative to deployment Measurement Studio 2013 based applications is using WiX, however I find WiX has a VERY steep learning curve and it is not worth my time to learn how to use it to deploy applications. I would like to use ClickOnce deployment and I know ClickOnce does not support the required registration of the Measurement Studio DLLs into the Global Assembly Cache (GAC). However I have read in some forums that it is possible to create a "bootstrapper" to do this. I am wondering if someone has a working example of this. I am thinking of simply deploying "all" all the Measurement Studio DLLs on the machine, since it is not that big, via one "bootstrapper" type of application. Then I could deploy a Measurement Studio based application at anytime and the required DLLs would already be on the machine. Is there a working example that does this? If so, could someone provide it? I would think this would be a common request. Thank you.
03-04-2014 11:22 AM
03-05-2014 02:43 AM
Hi there,
I have the following problem using the example 'All Libraries.2012'.
I've compiled the project as it is on win7 x64 and VS2012 with measurement studio 2013, just assigned GUIDs. Then I installed the application on win7 x64 PC and the application stopped working as shown on the attachment. Probably there there is something with the installation of the libraries.
Any suggestions?
Thanks
Victor
03-05-2014 07:21 AM
It looks like the same strange error from .NET which I fixed by installing NI-DAQ and explictily selecting the appropriate .NET support option (i.e. based on .NET version you are using). This error was occuring for me, when my program was just loading and before I had called any NI-DAQ functions, just the fact they were referenced caused the issue. Does anyone know of a way to eliminate this error without having to install NI-DAQ in cases where the program actually doesn't need to call the NI-DAQ functions?
03-19-2014 08:20 AM
I was looking at Jason's repsonse more closely about using WiX and I don't think it answers the question. I want to be able to distribute my application via ClickOnce, that way I don't have to distribute installation programs every time there is an update to my program. So is it possible to use a setup/installation program that installs the NI pre-requisites (e.g. Measurement Studio files) on the machine and thus I would only need to deploy my application via ClickOnce that uses those DLLs, since the setup/installation program has already installed them "globally" on the machine? i.e. register the required DLLs, etc. with an installer and then the application itself could be updated via ClickOnce as it would be referencing DLLs already on the machine. Thank you.
03-20-2014 11:50 AM
06-09-2014 07:11 PM
Anybody got this to work yet?
06-10-2014 10:11 AM
Hi All,
Does this solution create an installer that is independent of clickonce, but that replicates ClickOnce's automatic updates? Or, does this solution generate a prerequisite package installer that can the be selected as a prerequisite in the ClickOnce prerequisites? Please help, it is hard to tell without spending a lot of following all the instructions to see what I get in the end?
Thank you, Andy.
06-10-2014 01:11 PM
Jason,
I see everywhere in the NI forums the statement, "Bootstrappers are not supported or recommended." Why? Why can't NI build prerequisite bootstrappers that can be selected in the clickonce prerequisite dialog?
Thank you,
Andy
06-10-2014 01:20 PM
Andy,
Here is the walkthrough for creating a WiX installer:
http://ae/public.nsf/webPreview/764B727C9BD2C4C686257C970053D059?OpenDocument
I do not believe that it incorporates automatic updates.
Regards,
Brandon V.
Applications Engineer
National Instruments