/build/static/layout/Breadcrumb_cap_w.png

Register DLL using custom action

hi All,

can anyone help me understand the difference b\w Regsvr32 & Msiexec /y method to register the DLL. I have a DLL for which registration only works using Msiexec /y for the first install. Afterwards if I uninstall & re-install the MSI, DLL wont register using Msiexec /y. (I have checked the custom action conditions properly).

When I use regsvr32 to register DLL, it works in install\reinstall . Is there any difference in type of registration metod used by these two.

thanks,

0 Comments   [ + ] Show comments

Answers (4)

Posted by: anonymous_9363 14 years ago
Red Belt
0
Using RegSvr32 or MSIExec to register DLLs in an MSI is The Work Of Satan. If for no other reason, you should avoid those methods purely because they will fail if the DLL/OCX has any dependencies which target machine doesn't have.

You should use the various advertising tables for registration. There's lots and lots of information here on AppDeploy on the subject.

IIRC, you use Wise Package Studio? That makes it easier. You should use the WiseComCapture tool to create .REGs for the files, import the .REGs into your project and select 'Yes' when WPS asks if you want to use the advertising tables. Remember to turn off WPS's self-registration first, though.
Posted by: cygan 14 years ago
Fifth Degree Brown Belt
0
get typing on the search box there is a script that can help you loads [:D]
Posted by: Jsaylor 14 years ago
Second Degree Blue Belt
0
Using RegSvr32 or MSIExec to register DLLs in an MSI is The Work Of Satan.

Satan would never do something that evil.
Posted by: dreyer 14 years ago
Purple Belt
0
ORIGINAL: VBScab
IIRC, you use Wise Package Studio? That makes it easier. You should use the WiseComCapture tool to create .REGs for the files, import the .REGs into your project and select 'Yes' when WPS asks if you want to use the advertising tables. Remember to turn off WPS's self-registration first, though.


Lillude, I recommend that you select 'No' (just use registry table instead of advertising tables) if you don't know what you're doing though.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ