01-22-2018
02:04 AM
- last edited on
03-14-2019
02:18 PM
by
NIadmin
Hi All,
I have been exploring the option to build NI File Packages using Command Prompt as mentioned here. I also went through the method to create "control" file to customize the Package here. Please find the questions that I have below,
1) I am not able to find the option to add the license that can be shown before installing the package. Please let me know if I missed something and if there is an option to show license document before installing the file packages that are created using Command Prompt.
2) I am also not able to find an option to run pre or post-install code/script (similar to NI Package Builder). Please let me know if this can be done when building packages using Command Line.
Thanks,
Sree
Solved! Go to Solution.
01-22-2018 09:21 AM
At the moment, we don't have the option to activate software on package installation but pre/post install custom actions can be done using an instructions file as is documented here.
01-22-2018 09:53 AM
Thank You GreyGrey,
In the document here, there is the option to run only an exe on pre/post install. Is there any option to run a cmd or bat file similar to the NI Package Builder in LabVIEW.
Thanks,
Sree
01-30-2018 04:20 PM
The way that you would call a batch script would be to call the cmd.exe and have it run the batch script by passing the path as an argument. Documentation for passing arguments is on the page that we have been discussing.