DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How to register an exe dataplugin via a vbs script?

Solved!
Go to solution

Hello Russel,

 

Glad you got it working! Thanks for the note.

 

Regards,

Camilo V.
National Instruments
0 Kudos
Message 11 of 15
(1,424 Views)

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. 

0 Kudos
Message 12 of 15
(1,422 Views)

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,

Camilo V.
National Instruments
0 Kudos
Message 13 of 15
(1,412 Views)

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. 

0 Kudos
Message 14 of 15
(1,410 Views)

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

 

0 Kudos
Message 15 of 15
(730 Views)