cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
eran_brenner
Level 2

DLL self registration problem

Hi,

I am using installshiled 2008, and creating a "Basic MSI project".

My problem is each time I am adding an external file to the "Files and Folders" view and saving the project, I see a few entries regarding "ISSELFREG.DLL" which are being added to the ISM file, eventhough I have set the Options->Preferences->Self-Registration to "Windows installer self-registration table", and NOT to "InstallShielf Self-registration table".


These are some of the entries that are being added to the ISM after adding the file:





table name="CustomAction">


ISSELFREG.DLL<ISProductFolder>\redist\language independent\i386\isregsvr.dll
ISSelfRegisterCosting1ISSELFREG.DLLISSelfRegisterCosting
ISSelfRegisterFiles3073

ISSELFREG.DLLISSelfRegisterFiles
ISSelfRegisterFinalize1

ISSELFREG.DLLISSelfRegisterFinalize
Labels (1)
0 Kudos
(2) Replies
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

The InstallShield self registration custom actions are added to a project when a file is added to the project. If the ISSelfReg table is empty when you build the project, these custom actions are dropped from the built MSI package.
0 Kudos
Reddy611
Level 6

I think this installscript is help to ful.

nResult = LaunchAppAndWait(SUPPORTDIR^"regsvr32.exe", WINSYSDIR^DLLNAME+ " \/u /\s",WAIT);
if (nResult < 0) then
ListAddString(listLog,"Failed to register "+ ETACTIVATION_DLL,AFTER);
ListAddString(listErrors,"Failed to register "+ ETACTIVATION_DLL,AFTER);
bSeriousError = TRUE;
endif;
0 Kudos