LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Register activeX in "create installer"

Hi
Dose anybody knows how to register an activeX during setup
with the installer that has been created with the "application builder of Labveiw".

Best regards
Behzad
0 Kudos
Message 1 of 5
(3,222 Views)
The Application Builder allows to enable and register your exe as an ActiveX server, e.g the ActiveX VI Server.
To register your own ActiveX components, you'll have to either have your application to register them on first launch or include a separate application or batch file that can be run at install time using the installer advanced setting "Run executable after installation"


LabVIEW, C'est LabVIEW

Message 2 of 5
(3,216 Views)
If you have activex controls that you need registered after an install, do as Jean-Pierre suggested and use the 'run executable after install' option in the installer. Create an executable that registers the activex controls. I'm attaching code I use to register controls.
Message 3 of 5
(3,216 Views)
Hi
thanks for your answer and your code , what's your opinion about using a simple batch file or writing a program like yours.

Thanks
0 Kudos
Message 4 of 5
(3,183 Views)
I'm not sure it matters whether you use a batch file or executable. In my case, I used an executable so that it was invisible to the user. It would run after installation silently. This generally isn't a big deal because it will run the batch quickly and likely won't even see it. Maybe somebody else has good reasons for or against batch files, but for me, I just prefer the executable approach.
0 Kudos
Message 5 of 5
(3,178 Views)