How to register a dll using Msiexec.exe /y and Msiexec.exe /z
1. Go to File Section where the file is present
2. Double click the file
3. Goto Self registration tab
4. Selct the registration Method as "Use order Specified below"
5. Hit ok
Goto MSi Script section and you can find corresponding custom action for registeration .
Why we do this type of dll\ocx registration Compared to self reg table is ?
If the dll registration gets wrongly captured in the self reg table then it will throw error upon installation . When we install using the above suggested method then it wont throw any error if dll is not getting registered.