|
#1
|
|||
|
|||
How are .exe files registered?
I am compiling a file using 'Make VB6' action step, which would create an .exe file. I would then need to register it, but how? Currently, I am registering .dll files with a 'Run Program' action step with the following line:
%DOSCMD% regsvr32 /s "%WINSYSDIR%\filename.dll" I don't think I repeat this for an .exe file. I'm supposed to use the /regserver and /unregserver options, but how would I do that with a 'Run Program' step, or would I use another? P.S.: I pressed the enter key accidentally, which posted my message without me finishing. Sorry. Last edited by ambalboa; 07-02-2007 at 04:56 PM. |
#2
|
|||
|
|||
If it's an out-of-process COM server, use the COM Register action.
|
#3
|
|||
|
|||
Thank you. I think I got it working with the 'COM Register' action step. I just placed the filename in the appropriate textbox, checked the 'Unregister the component, assembly, type library, or action' to use the /unregserver flag (to unregister), and then unchecked it for /regserver (to register). Nothing else needed, it seems.
|
#4
|
|||
|
|||
You can also use the COM Register action for COM DLLs and OCXs. See the VStudio.bld sample. And when calling regsvr32, you don't have to prefix with %DOSCMD%.
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|