/build/static/layout/Breadcrumb_cap_w.png

DLL Registration during Uninstallation process

Hi

I need to register dll during uninstallation.

I am trying thru VBSript custom action in Execute Deferred.
Command line "c:\winnt\system32\regsvr32.exe c:\winnt\system32\xyz.dll"
Application is getting installed and uninstalled without any problem but the DLL is not getting registered.

Your help would be highly appreciated!!!.

0 Comments   [ + ] Show comments

Answers (4)

Posted by: AngelD 14 years ago
Red Belt
0
Is the DLL part of the installation?
Are you sequencing the CA prior to the RemoveFiles action.

Are you not using the silent switch? as otherwise the messagebox will sit there and wait for interaction to proceed or cancel.
Posted by: anonymous_9363 14 years ago
Red Belt
0
You will want to change the hard-coded path in your command line to use built-in properties, e.g.[SystemFolder]REGSVR32 /S [SystemFolder]XYZ.DLL. In fact, I'd go further and say that the paths are unnecessary anyway, since SYSTEM32 ought to be in the PATH.
Posted by: WSPPackager 14 years ago
Senior Purple Belt
0
Hi AngelD/VBScab,

Thanks for the response. I am all set now.

Regards,
Posted by: AngelD 14 years ago
Red Belt
0
So, would you mind sharing what was wrong and the solution?
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