dcoons Posted May 20, 2020 Report Share Posted May 20, 2020 Has anyone used the functions located in vi.lib to programmatically edit Installer build specifications? I have used the functions in AB_API to edit Packed Project Library build specifications (in PPL subfolder) but cannot find anything equivalent for Installers. The classes in this hierarchy inherit from NI_AB_API_Build.lvclass which has a generic open method, but installer is not in the list of selectable build types to open. I also found IB_Classes subfolder which has functions for interacting with Installers maybe, but there's no clear function to open an Installer build specification to start editing. I have a template project where I need to change three parameters for the Installer when the template is copied/edited: destination.name for one specific destination, INST_bldLocation, and INST_productName. This is an example of updating a few of the build specification items for a PPL (just need the equivalent for installers): Quote Link to comment
dcoons Posted May 21, 2020 Author Report Share Posted May 21, 2020 Here is an example project to entice you more. Template gets copied, library gets renamed, a few edits to the PPL build, and then I need to edit the installer. I am pretty sure I can use the tags like below - but I know that isn't the best way to do this. Example Project.zip Quote Link to comment
Darren Posted May 21, 2020 Report Share Posted May 21, 2020 There is a different API for Installer Builder. It is also not officially supported by NI, but there are a couple of examples that ship with the API to help you learn how to use it: [LabVIEW 20xx]\vi.lib\InstallerBuilder\examples 1 Quote Link to comment
dcoons Posted May 21, 2020 Author Report Share Posted May 21, 2020 Looks like this is what I need - here is updated project with some implementation to prove it out. Thanks @Darren Example Project.zip Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.