LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I make a program that doesn't need to be installed?

That's an interesting idea. It sounds logical it should work in all versions, since all DLLs needed are located there. Now i'm getting curious! 🙂

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 11 of 42
(1,054 Views)

As long as you don't do anything fancy it may still work, but chances are that it gets more and more difficult for many LabVIEW features. Obviously don't try to do that with an application that does any DAQmx or other IO driver related operation. That definitely never will work and in fact never has.

Rolf Kalbermatter
My Blog
0 Kudos
Message 12 of 42
(1,024 Views)

@N1LAF wrote:

 

Sometimes, companies get a little too big for some of these little things... just look what happened to IBM.... NI take note.


IBM is still doing fine. They don't run their lung out of their body to catch the small fish but rather do the heavy stuff where they can garner millions with a project but it's a business strategy that works quite well. You may not like that they don't really worry about small fish like you and me, but hey we are in a free market and every company is free to go after the part of the market it likes most. I
I'm not aware of many companies who do equally well on small scale end user sales and big scale corporate customers. In the end it is "share holders" value for most companies and the customer is more of a liability than an asset with that.

Rolf Kalbermatter
My Blog
0 Kudos
Message 13 of 42
(1,022 Views)
"As long as you don't do anything fancy it may still work, " - Didn't work for a simple "Hello World" executable in LabVIEW 2009, so that functionality was taken away at that point.
0 Kudos
Message 14 of 42
(1,012 Views)
"IBM is still doing fine" - You missed my point. When companies stop listening to their customers, they may lose their market share, or even the market. Where is IBM in the PC market, that they basically started? Remember the attitude 'why would computers need graphics and sound'? Then Windows overtook MS-DOS. After that most of their products would not take. PowerPC is not a major player, and OS2 is non-existent. Microsoft may be starting to be at this point, taking features away and incompatibilities with older windows programs in Windows 7(including LabVIEW products), and the poor reception of the public towards Windows 8. Bottom line, in the PC world, IBM is not doing fine.
0 Kudos
Message 15 of 42
(1,009 Views)
"As long as you don't do anything fancy it may still work, but chances are that it gets more and more difficult for many LabVIEW features. Obviously don't try to do that with an application that does any DAQmx or other IO driver related operation. That definitely never will work and in fact never has." - Obviously except for legacy serial I/O, which works fine in LabVIEW executables inside runtime file folder. I use LabVIEW not only for instrumentation, but as a general purpose programming language and tool generation because using LabVIEW is so much faster than traditional languages such as BASIC, C, and Java. Not only faster, but easier and more fun. When it comes to developing network based applications, LabVIEW wins over all others hands down in getting an network application up and going quickly.
0 Kudos
Message 16 of 42
(1,006 Views)

@N1LAF wrote:
"IBM is still doing fine" - You missed my point. When companies stop listening to their customers, they may lose their market share, or even the market. Where is IBM in the PC market, that they basically started? Remember the attitude 'why would computers need graphics and sound'? Then Windows overtook MS-DOS. After that most of their products would not take. PowerPC is not a major player, and OS2 is non-existent. Microsoft may be starting to be at this point, taking features away and incompatibilities with older windows programs in Windows 7(including LabVIEW products), and the poor reception of the public towards Windows 8. Bottom line, in the PC world, IBM is not doing fine.

Companies change directions all the time and it's legit, or do you think 3M should have insisted on staying in mining business just because it was what they started with, just to name one of many examples?

 

In PC hardware market you can't really make a lot of money anymore. The competition with low wage countries is simply way to hard. So why invest billions of dollars in a business that changes with the week, and delivers margins that go into red in the time the products need to ship from Asia to the west? It's simply no good business and just because they invented the PC doesn't mean they have to cling on it like a desperate child. Markets get evaluated continously and decisions are made about selling off businesses that don't seem important. Sometimes such decisions might seem wrong to an outstander, sometimes they turn out to be wrong, but the alternative is to not make any decisions and go bankrupt for sure. Smiley Very Happy

 

If you like those decisions or not is another story but no business has any obligations to do any business they don't feel like doing. We don't live in a communist planning economy as you are probably quite aware of.

 


As long as you don't do anything fancy it may still work, " - Didn't work for a simple "Hello World" executable in LabVIEW 2009, so that functionality was taken away at that point.


 

You make it sound like that functionality was taken away intentionally. First NI never really has tried to support it, it just happened to be possible. Second NI has quite a few other things to tackle than intentially trying to find a way to try to break unsupported functionality. It may still be possible but requires more tickling due to increased intercomponent dependencies. Managing those dependencies is already a herculian task with a proper installer, trying to make it work without installer would be an even bigger undertaking and one that there is little business for. Most people want an installer that works with a single double click, not having to manually copy a huge directory with 100ds of MB of files.

Rolf Kalbermatter
My Blog
0 Kudos
Message 17 of 42
(1,000 Views)

We are getting away from the topic on hand, so I will conclude this excursion with this - you make the assumption that companies do not make strategic mistakes. When they get big and powerful, it is easy to become arrogant and stop listening to their customers. Companies and customers benefit each other, and the interesting dynamic is that customers want the company that helps them - succeed, and when they see that company go the wrong way, they may start complaining. Companies should see complaining customers not as malcontent, but as customer concern with direction of company (divergence between company direction and customer needs). Companies do leave the market when the market gets crowded, or they can no longer compete in the market (competence, strategy).

My concern is that the practice I have been doing (putting executables into runtime folder on CD/DVD ends with version 8.5, which is not officially supported in Windows 7. It was NI that told me to do this as an option when they went to LabVIEW 5.1 long, long ago. This has worked for me up to version 8.5. Now this 'feature' is taken away from me, and others as well... is NI listening?

0 Kudos
Message 18 of 42
(990 Views)

They do listen but creating an installerless software is even for less complex applications than LabVIEW a challenge. And that has not been made easier with newer Windows versions. So I would not hold my breath for a fix of this.

 

As to what may be strategic mistakes or not, is even in hindsight often difficult to decide. Do you measure it by sales, profit, broadness of products or in fact rather the opposite of being the best in just one single thing only? Is being big a valid measure for it? IBM might be out of business if they had insisted on staying with their core business of mainframes at all costs. And most likely would be a minor market player if they had declared PCs as their core business to replace mainframes. And we may still work on 10000$ IBM XT computers if they had initially realized what a market it could get rather than thinking mainframes were still the future and throwing the PC design on the market for anyone to copy.

Rolf Kalbermatter
My Blog
0 Kudos
Message 19 of 42
(977 Views)

@N1LAF wrote:

I know this can be done up to Version 8.5 (I have done this a lot). Copy these files (C:\Program Files\National Instruments\shared\LabVIEW Run-Time\8.5) to a new folder, then drop your compiled Labview 8.5 executable into this folder. Copy to thumb drive or CD/DVD, and run. Before the chorus of nay-sayers to this approach chime in, there are many cases of sending demo applications to customers, potential customers to run an application without having to install programs (many do not like or refuse to install anything strange). Also, many company computers are tightly administered and will take forever, if allowed, to push runtime files. These are situations out of our control. So, to have an option to run LabVIEW applications from CD/DVD/Thumb-drive is important. I'll make a point to do the same for 2009 and newer, since that compatibility wall and Windows 7 that is looming really close, and XP is no longer supported by Microsoft, watch for NI to drop XP. Sometimes, companies get a little too big for some of these little things... just look what happened to IBM.... NI take note.


I am using Labview 2013 and configuring it on a Windows 7 computer. Can i use the same approach to make a stand-alone program. 

0 Kudos
Message 20 of 42
(884 Views)