Share

NAntContrib

Tracker: Bugs

5 MSM task sets DLL's to self register but not OCX's - ID: 1165416
Last Update: Comment added ( drieseng )

There is a section in InstallerCreatonCommand.cs that
has the code to self register DLL's

if (filePath.EndsWith(".dll")) {
int hmod = LoadLibrary(filePath);
if (hmod != 0) {
int regSvr =
GetProcAddress(hmod, "DllRegisterServer");
if (regSvr != 0) {
Log(Level.Info,
"Configuring '{0}' for COM Self Registration...",

Path.GetFileName(filePath));

// Add a record for a new
Component

selfRegTable.InsertRecord(fileId, null);
}
FreeLibrary(hmod);
}

This should check for files ending in .ocx and mark
those as self register as well.


John Cole ( johnwebbcole ) - 2005-03-17 17:13

5

Closed

Fixed

Gert Driesen

Tasks

cvs

Public


Comment ( 1 )

Date: 2005-04-08 16:58
Sender: driesengProject AdminAccepting Donations

Logged In: YES
user_id=707851

This is now fixed in cvs.

Thanks for the report (and the patch) !


Attached File ( 1 )

Filename Description Download
InstallerCreationCommand.cs.patch Patch to add .ocx files to self register Download

Changes ( 7 )

Field Old Value Date By
close_date - 2005-04-08 16:58 drieseng
resolution_id None 2005-04-08 16:58 drieseng
assigned_to nobody 2005-04-08 16:58 drieseng
status_id Open 2005-04-08 16:58 drieseng
File Added 128789: InstallerCreationCommand.cs.patch 2005-04-06 18:53 johnwebbcole
File Deleted 128787: 2005-04-06 18:52 johnwebbcole
File Added 128787: MsiCreationCommand.cs.patch 2005-04-06 18:52 johnwebbcole