LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Include .exe file in the Distribution Kit

Dear all,

I use Labwindows 2015 and I would like to include an ".exe" file in the Distribution Kit creation, and I am lost on how I could do it.

My application can be installed fine, but before installing my application, I need to install manually an other application, which I name "app.exe". I would like to make the installation of app.exe transparent. I would like to include the "app.exe" in the Distribution kit, so that I do not need to install manually "app.exe". I would like to know if you have an idea of how to include an app.exe.

Thank you for your answer.

Best regards,

 

0 Kudos
Message 1 of 4
(4,383 Views)

Hi,

 

You can add app.exe using Files tab in Edit Installer dialog.

  • In Local Files & Directories browse for app.exe
  • Double click the file in the right pane and it will be added to the distribution(bottom part)

You can set app.exe to run after your distribution, not before. Woult this work for you?

To run app.exe after the distribution imstallation:

  • Double click app.exe in the bottom-right pane
  • Check "Launch after installation"
  • Configure any other options you want

Constantin

0 Kudos
Message 2 of 4
(4,355 Views)

Hi,

Thank you for the answer.

 

I tried this option, with including a batch file in the distribution and run the app.exe after the main installation. However, I need that the app.exe to be run just before the main installation. is it possible?

Thank you.

 

 

0 Kudos
Message 3 of 4
(4,350 Views)

Hi

 

Regarding to this document, it's seems you cannot force installing the exe before the distribution kit.

http://www.ni.com/white-paper/3212/en/

 

However you can create a bach file to run the app.exe that wait until finishing

http://serverfault.com/questions/245393/how-do-you-wait-for-an-exe-to-complete-in-batch-file

 

and after run the msi installation

https://community.spiceworks.com/topic/219296-msi-file-to-run-silently-through-batch-file

 

 

 

Paolo_P
Certified TestStand Architect
Certified LabVIEW Architect
National Instruments France

Message 4 of 4
(4,323 Views)