G
Guest
I have an COM server in an assembly. When it is deployed on a target computer
it needs to be registred with RegAsm. I created a custom action in the deploy
project, starting RegAsm with the assembly DLL as command argument. It all
works as expected.
To make RegAsm available I installed it from the framework bin directory to
the componentes application folder on the target machine. An custom action
can only refer executables in application folder, user app data folder etc.
It can not refer executables in Windows or in other places then the ones
defined in the deploy project.
The is not well when I installed an framework 1.1 version of RegAsm, but the
target contaings framework 2.0 only! It failes to register the component.
Q1: is there a way to locate the active framework (perhaps the latest) on
the target computer?
Q2: Should I create a BAT-script to do the registration?
Q3: What would it look like, to adress the latest available RegAsm on the
target computer?
Regards,
Kenneth Jonsson
it needs to be registred with RegAsm. I created a custom action in the deploy
project, starting RegAsm with the assembly DLL as command argument. It all
works as expected.
To make RegAsm available I installed it from the framework bin directory to
the componentes application folder on the target machine. An custom action
can only refer executables in application folder, user app data folder etc.
It can not refer executables in Windows or in other places then the ones
defined in the deploy project.
The is not well when I installed an framework 1.1 version of RegAsm, but the
target contaings framework 2.0 only! It failes to register the component.
Q1: is there a way to locate the active framework (perhaps the latest) on
the target computer?
Q2: Should I create a BAT-script to do the registration?
Q3: What would it look like, to adress the latest available RegAsm on the
target computer?
Regards,
Kenneth Jonsson