LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Combining run time engine into the executable (not installer)

Would it be possible at all to combine the run time engine into the same executable? I am NOT referring to bundling the executable and the RTE into an installer.

Assuming I am able to find all the dlls and other files that make up the RTE and add them as 'always included' in source files when building the executable, could this possibly work?

[BADGE NAME]

0 Kudos
Message 1 of 29
(1,553 Views)

It might be possible to do kind off but it is riddled with troubles. The first would be to find all the right DLLs and what else and put them in the right location next to your executable. A potentially huge undertaking and definitively not easily reapplied to a different version of LabVIEW. There are also potential other problems such as the installer containing multiple versions of some files and installing whatever it detected to be appropriate for the computer in question. Then there are third party dependencies like the Microsoft C Runtime library that want to have put some of its files into specific locations and be registered for it to work properly.

Last but not least, if your application wants to access-hardware drivers you don’t get around installing them. In order to access hardware you need a kernel driver and you can’t just copy them on your computer and hope Windows will recognize them. It won’t and will simply blissfully ignore them.

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 29
(1,543 Views)

I am not interested in accessing hardware drivers, so that's one less thing to worry about. I am thinking NI should be able to provide the list of dlls etc for a specific version of LabVIEW so all dlls and files are compatible? Can an NI staff weigh in here please. I hear that once upon a time labVIEW executables included (or could include) the run-time engine, so I am hoping that with some NI support, this should work. The alternative is to try LabVIEW to C generator, not sure how that will go and I first have to get the add-on

[BADGE NAME]

0 Kudos
Message 3 of 29
(1,521 Views)

Why do you want to do this?  There's likely a better way to achieve whatever it is you're trying to do.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 29
(1,502 Views)

I would be glad to find a better way, the end user PCs will not allow any installation. I just want to run an exe file and that’s it. Please if you have better ideas let me know. 

[BADGE NAME]

0 Kudos
Message 5 of 29
(1,497 Views)

@blessedk wrote:

I would be glad to find a better way, the end user PCs will not allow any installation. I just want to run an exe file and that’s it. Please if you have better ideas let me know. 


That puts one in a tough spot, in that case, probably your language of choice must be something that only uses libraries that come with the OS (like C# .NET)

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 6 of 29
(1,491 Views)

@blessedk wrote:

I would be glad to find a better way, the end user PCs will not allow any installation. I just want to run an exe file and that’s it. Please if you have better ideas let me know. 


Ouch, that's a really tough spot.  😞

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 7 of 29
(1,486 Views)

@blessedk wrote:

I would be glad to find a better way, the end user PCs will not allow any installation. I just want to run an exe file and that’s it. Please if you have better ideas let me know. 


Is there a way you can ask IT to include LV RTE by default along with the OS image? this way you don't need to install anything and all LV exe (that do not use hardware or special toolkits) can run without installing anything.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 8 of 29
(1,473 Views)

That’s why I am also considering the LabVIEW to C generator 

[BADGE NAME]

0 Kudos
Message 9 of 29
(1,468 Views)

No that’s not an option at all

[BADGE NAME]

0 Kudos
Message 10 of 29
(1,465 Views)