I'm trying to translate PDW setup file (that's the VB deployment tool output file) code lines into NSIS code. Here is what i'm after:
File2=@COMCAT.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,5/31/98 11:00:00 PM,22288,4.71.1460.1
According to Micosoft MSDN, DllSelfRegister means
self registering file containing DllRegisterServer and UnregServer functions.... The macro
WinSysPathSysFileinstalls files to the system subdirectory, but the file is installed as a shared component (MS source http://support.microsoft.com/default...NoWebContent=1 ).
I just want to know what this actually does. Does it copy the dll file in the system directory and then register it again, or does it only increment the reference count?
The same question for the following line of code gained from Setup.lst:
File14=@COMCT332.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),6/23/98 11:00:00 PM,369696,6.0.0.8169
$(shared) indicates if the file is a shared system file and will be registered as such in the system registry... so why do they not use directly the WinSysPathSysFile macro instead since this could do the same job?
Thanks