API Support Forum
OEC API > API Support > GAIN API COM installation and version query
Author Topic: GAIN API COM installation and version query
(4 messages, Page 1 of 1)
Moderators: VPfau
Posts: 38
Joined: May 03, 2018

Posted: Dec 30, 2020 @ 10:13 AM             Msg. 1 of 4
1) If we choose to use the supplied .exe to install the GAIN API COM components, is there a command line argument we can supply from our installer that will operate the GAIN API COM installer in "silent" mode (not requiring any user interaction)?

2) Must GAIN API COM components be installed to the C:\Program Files\GAIN folder (or its 32-bit equivalent) or can we install it to a folder of our own designation?

3) Is there an API call or other mechanism to see what version of the GAIN API COM components are currently installed? We issue a lot of updates and would rather not reinstall/re-register these components every time if the latest version is already installed.

Thanks for your replies!
Posts: 48
Joined: Aug 24, 2017

Posted: Jan 06, 2021 @ 09:47 AM             Msg. 2 of 4

1) No, there is currently no silent install option.

2) There is also no way to specify a different directory.

3) The version is in the dll File Version metadata, so you could programmatically inspect that.

We will keep these in mind for future development.
Posts: 48
Joined: Aug 24, 2017

Posted: Jan 06, 2021 @ 12:50 PM             Msg. 3 of 4
Sorry, I was mistaken about item 1. You can use the "/verysilent" argument for this.
Posts: 180
Joined: Feb 11, 2020

Posted: Jan 18, 2021 @ 05:01 PM             Msg. 4 of 4
Is there a way that we can include the dll files in our installer and then register the required items through the registry instead of including the whole executable file with our installer?