cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Christopher_Pai
Level 16

COM Extraction Question

I'm working on a project where I've been supplied with an ActiveX control and a batch file that calls regsvr32 with a /i parameter to pass (licensing) data to DllInstall.

Obviously I don't a custom action like this in my customer's install, does InstallShields COM extraction have a techniquie to mimic this and extract the data?
Labels (1)
0 Kudos
(3) Replies
SMadden
Level 6

what about using an InstallScript CA to call dllInstall directly?

We had to do something similar for an InstallScript project years ago, to make sure a dll got registered at a specific time. It worked ok.

You'd probably need something like:


prototype INT dllname.DllInstall( BYVAL BOOL, BYVAL WSTRING );
....
if ( UseDLL(INSTALLDIR ^ "dllname.dll") == 0) then
DllInstall(TRUE, szCmdLine);
UnUseDLL("dllname.dll");
endif;



Sandra
0 Kudos
Christopher_Pai
Level 16

I want to avoid any custom action. I've figured this out by profiling the regsvr32 call and authoring the additional rows into the Registry table, but it would be nice if COMExtract could accomodate this.
0 Kudos
MichaelU
Level 12 Flexeran
Level 12 Flexeran

I'm not aware of any support for this. The closest I can think of is the ability to specify a command line for self-registration via the ISSelfReg table, and I think that only applies to .exe files.
0 Kudos