LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to embed a Labview Uninstaller into a built project?

Hello,

I have built a Labview 2012 project that incorporates the installation of the Labview 2012 runtime. Then based on the following KB https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019Ld6SAE&l=nl-NL I am using a DOS-command to silently install it.

Now I would like to be able to also DOS-command the uninstallation of the same package (same as using the uninst.exe). Is there a way to add the uninstaller part when building the project?

Thank you very much

Christophe

0 Kudos
Message 1 of 3
(1,220 Views)

I'm not sure I understand the question.  If this is an executable you are installing, why not just build an installer that automatically includes the LabVIEW runtime?

 

Why not just uninstall the runtime through Windows?

 

I think auto-uninstalling something like a runtime is a bad strategy because anything depending on it will become broken.  That's why you don't see LabVIEW, itself, uninstall the C++ libraries when you uninstall it.

 

If this is source code you are talking about, why do you need to force the installation of the runtime when anything that can open the code already has the runtime installed?

 

Please elaborate.

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 2 of 3
(1,207 Views)

I am installing an executable that includes the Labview runtime. It works well and I can also silent-install it. In fact I have to incorporate this installer (and the uninstaller) into our IT ecosystem that (Software Center) that must allow the end user to install and uninstall components without having to go through the Windows Add/Remove Programs hence my question. I have found the useful KB to silent-install using DOS-commands, hence incorporable in a VBS script for instance. The trouble I have now is to do the same for the uninstaller part because it is mandatory in the ecosystem to provide the command to uninstall a component that you ask to be able to install.

So it is not the source code of my app that I want to install/uninstall but the Labview 2012 runtime environment that I have generated using the app builder.

Thanks a lot.

Christophe

0 Kudos
Message 3 of 3
(1,200 Views)