LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to add command line arguments to shortcuts in the LV8.5.1 installer

I want to create multiple shortcuts to my LV program, each with different command line arguments.
I can do this manually.
I want the installer to generate these shortcuts.
I can add different shortcuts in de installer build specification, but I cannot add commandline arguments in the shortcuts.
Does anyone know how to do this?
 
Rindert 
0 Kudos
Message 1 of 4
(3,187 Views)
You could have your application at first run do this for you. Create an ini-file parameter that gets deleted on first run.
Regards,
André (CLA, CLED)
0 Kudos
Message 2 of 4
(3,182 Views)

You can add several *.bat files into your distribution. Each one will call your application with different arguments. So, you can put shortcuts to *bat files instead of executable. I haven't tried this, but it should work.

Andrey.

 

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

Hello Forum,

 

Does anyone have any better data for this?  I would also like to create an installer using Labview Project Explorer tool (Build Specification->Installer), and I have a need to create some shortcuts to some EXE's (VS.NET built, not LV) which need to have some arguments passed.  I just verified that LV8.6 still does not seem to offer the option of passing arguments when creating shortcuts.  Is this correct?   Creating stub EXE's or batch files isn't a good option for my project, so I'd like to have someone confirm if LV installer tool can't create shortcuts w/ arguments before I fire up InstallShield.

 

Regards!

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