LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
pRoFiT

Add shortcut option "arguments" to installer

Status: New

I would like to include arguments for any/all shortcuts from the installer. Currently you can build a labview installer to put shortcuts on desktop and to the "Program Files" menu. But there is no option to include arguments. See attached image of how it would look in labview.

 

InstallerShortcutArguments.png

 

This would allow for the installer application to include file path arguments into any executable. Example: You want to include a tftp server application for the installer and embed the tftp path in the shortcut.

 

It could also be usefull to run the same labview app with many startup arguments. Like if you have a debug mode and normal mode. If you want to include both options on the desktop you could use a -debug as the argument. And include it in the shortcut from the installer. Both shortcuts would point to <application> but one would also say "<application> -debug"

 

Thanks.

 

-Corey

- A minute saved is a Minute earned!
1 Comment
McQuillan
Active Participant

I need to implement this functionality also, I feel like this should be a "quick win" for NI.

 

For right now, I think I will end up making a stub application to then create the arguments I need (I could do this directly in a batch file, but I want greater control over how it works)