Category Archives: how to register dll

Command to register DLL using MSIEXEC

The following example shows how you can use the msiexec /y command:


msiexec /y my_file.dll


/y   Calls the system API DllRegisterServer to self-register modules passed on the command line.



The following example shows how you can use the msiexec /z command:

msiexec /z my_file.dll


/z   Calls the system API DllUnRegisterServer to unregister modules passed on the command line.