LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I include installer options?

Solved!
Go to solution

Hi to everyone.

I'm trying to include an option on the  installer of my application. I want to include a com port selection option (such as the selection of the installer directory for example)  when the installer runs, so the user only have to give this information one time an the port is configured when the application runs.

Is this possible with labview?. I'm using LV 8.6.

Thanks in advance 

0 Kudos
Message 1 of 6
(3,081 Views)

Hi Pelicar,

 

Thanks for your post and I hope your well today.

 

When you say on your installer - to mean the first time the user runs the code (exe)?

 

If so, I would create a configuration file and then get your code to test whether one is present, if so - load up the settings automatically (i.e. com port selection). Now you could curdely do with a text file.

 

What do you think?

Hope this helps,

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 2 of 6
(3,079 Views)

Hi Hillman, thanks for your answer.

 

I don´t understand very well your solution, so, I will explain better my problem.

 

My application communicates with a serial equipment to receive data (such as a datalogger) and I want to give the user the possibility to configure the serial port when runs the installer program, (not the .exe). I would like to know if in the installer configuration options (in the build installer) can include this.

 

Thanks again and I hope the new information will help you better.

 

Regards

0 Kudos
Message 3 of 6
(3,068 Views)
Solution
Accepted by topic author Pelicar

Hi Pelicar,

 

Thanks for your reply - sorry for any confusion. 

 

There is an advanced installer setting Hardware Configuration—Includes the hardware configuration information configured in Measurement & Automation Explorer in the installer. Click the Configure button to launch the Measurement & Automation Explorer Export Wizard to create a hardware configuration file. This allows you to move your hardware configuratin on the deveopment machine onto the deployment machine. 

 

For more information on MAX configuration files please see this Knowledgebase article:

MAX Does Not Save or Apply VISA Port Settings

http://digital.ni.com/public.nsf/allkb/8EBAEC8A57BB48BE862574F90072D3DD?OpenDocument

 

Hope this helps, 

 

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 4 of 6
(3,065 Views)

Hi Hillman, thanks for all, I think it works ok after your suggestion.

 

I hope to read you again in the forum.

 

0 Kudos
Message 5 of 6
(3,036 Views)

Hi Pelicar,

 

Thanks for your reply.


I am glad it seems to be working for your. 

 

Thanks for your kind words.

 

I am normally around.

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 6 of 6
(3,021 Views)