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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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.
Answered 10/23/2009 by: VBScab
Red Belt

Please log in to comment
0
get typing on the search box there is a script that can help you loads [:D]
Answered 10/23/2009 by: cygan
Fifth Degree Brown Belt

Please log in to comment
0
Using RegSvr32 or MSIExec to register DLLs in an MSI is The Work Of Satan.

Satan would never do something that evil.
Answered 10/26/2009 by: Jsaylor
Second Degree Blue Belt

Please log in to comment
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.
Answered 10/27/2009 by: dreyer
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity