RegServer on CATIA start (without privileges)

651 Views Asked by At

We have CATIA R18-R24 available on a network drive, where every designer can start it. The problem is, that the VB.Net COM interface does not know the Type Libraries of the started version. To run the RegServer (to register the tlb for the correct version) privileged rights are needed.

Is there any way to register the tlb on startup of CATIA? Or any other solution?

1

There are 1 best solutions below

0
Andreas Freitag On BEST ANSWER

Ok, found a solution. I have created a encrypted call to the CATIA Regserver with RunsAsSPC . It is stored alongside with an privileged account. The encryption ensures, that no user can see the credentials and change to command. This RunAsSPC call is started within the CATIA start-batch file.