DllInstall is used only for application installation and setup. It should not be called by an application. It is similar in purpose to DllRegisterServer or DllUnregisterServer. Unlike these functions, DllInstall takes an input string which can be used to specify a variety of different actions. This allows a DLL to be installed in more than one way, based on any criteria that is appropriate.
你的意思是不是说,DllInstall的功能应该涵盖DllRegister里实现的内容?regsvr32注册一个com组件的时候,调用的是DllRegister吧? 那么什么时候DllInstall函数会被外部调用呢? regsvr32的不同参数?