LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Add custom exes to uninstall

Hello all!
I'm using CVI 5 and I add a registry key with a dedicated program after
that the installation program has done (using Executabe to Run After
Setup in Advanced Distribution Kit Options). How can I launch an
application (or similar things) in Uninstall?
Thanks in advance

Raffaele
0 Kudos
Message 1 of 2
(2,862 Views)
Hi Raffaele -

I see 2 options:
1. Modify the c:\measurementstudio\cvi\bin\template.inf script file. This file is intimidating, but also a very powerful file format for creating/deleting registry entries, modifying installers/uninstallers, etc.

2. Call an executable after installation you alluded to in your previous post e.g. postinstall.exe.
Isee postinstall.exe doing the following:
1. calling register.exe (just a name I made up) that modifies the registry (e.g. creating entries, modifiying entries, etc.)

2. calling modifyuninstall.exe(another name I made up) which takes the default uninstall.exe file and modifies it to include a call to deleteregistry.exe (just reversing whatever registry entries register.exe would make)

Calling other executables is easy in CVI - lo
ok into the LaunchExecutable function.

hope this helps-

ben schulte
application engineer
national instruments
www.ni.com/ask
0 Kudos
Message 2 of 2
(2,862 Views)