10-03-2016 12:13 PM
Hello Russel,
Glad you got it working! Thanks for the note.
Regards,
10-03-2016 12:17 PM
So... I did get it working, but the synchronous installation doesn't work correclty, as I originally thought it was. Since Diadem is calling the self-extractor exe file, once the files are extracted, the self-extractor closes, which signals Diadem to continue. I could sit in a loop waiting for Diadem to report the plugin is installed, but I'm just going to have my end user install them individually. Sorry, I didn't update that when I found it yesterday. Anway, it still works well, just not synchronously.
Thanks.
10-03-2016 06:56 PM
Hello Russell,
I missed the synchronously part (sorry about that), but I don't fully grasp what exactly you mean by synchronously. Is it by any chance that you want the installations to be "silent", not requiring user interaction at all?
Is the current behavior good enough for your application?
Regards,
10-03-2016 08:17 PM
So, my goal is to send a list of plugins to a script and have them installed. By synchronously, I mean that I want to install them one after the other. Unfortunately, Diadem tries to install them almost all at once. This is becuase Diadem can't directly know when the installer is complete.
Yes, it will work. Thanks again.
03-07-2021 05:35 PM
Brad,
I tried using this script and it seems to work well for PlugIns that I can find within Settings>Extensions>DataPlugins>Update. However, this script does not work when trying to install the following two Plugins:
- SIF: nCode Data Plugin for SIF
- SIE: HBM DataPlugin for SoMat-SIE
When I downloaded the exe for these two Plugins off the website initially to install manually, I had to perform one additional step after. I had to go back into Settings>Extensions>DataPlugins>Import DataPlugin and double click on the uri to register it.
I'm not sure what the issue is, but when I go to run your script it does not install the uri for SIF or SIE. I think it may be related to the issue described above. I am writing a script that uses data needing these two plugins and I don't want the user to have to waste time installing these plugins manually.
Thanks,
Nick