11/30/2009 2269 views

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


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

All Answers

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.
Answered 11/30/2009 by: AngelD
Red Belt

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

Hi AngelD/VBScab,

Thanks for the response. I am all set now.

Answered 12/01/2009 by: WSPPackager
Senior Purple Belt

So, would you mind sharing what was wrong and the solution?
Answered 12/01/2009 by: AngelD
Red Belt