Uninstall ActiveX

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

lanmicro
User
Posts: 3
Joined: Wed Jun 21, 2006 6:25 pm

Uninstall ActiveX

Post by lanmicro »

Hi Guys,

My customer is having a problem with the ActiveX being uninstalled by something. I'm guessing its the Microsoft updates.

So that they don't have any problems, I want to create a batch file that uninstalls (if it is there ) and then reinstalls the ActiveX.

I cannot find any documentation that outlines how to do an uninstall. Any clues?
Gregory C. Bailey
User avatar
John - Tracker Supp
Site Admin
Posts: 5223
Joined: Tue Jun 29, 2004 10:34 am

Re: Uninstall ActiveX

Post by John - Tracker Supp »

Hi,

Assuming you are using the installer we supply (PDFXV_dev.exe) for you to distribute to your end users (and we strongly reccomened you do!) then there will b e an uninstall exe located in the installation folder - usually named something like : unins000.exe

You can call this (using the /SILENT or /VERYSILENT switch if preferred) and that should be enough - or perhaps you mean you need to re-register the ActiveX''' ?

In this case - there is no need to uninstall - you can simply re-register the ActiveX - for example ..

For a 32 bit system :
"c:\Program Files\Tracker Software\PDF Viewer\PDFXCview.exe" /RegSever regsvr32 "c:\Program Files\Tracker Software\PDF Viewer\PDFXCviewAx.dll"

Or on a 64 bit system :
....regsvr32 "c:\Program Files\Tracker Software\PDF Viewer\win32\PDFXCviewAx.dll"


In most circumstances - the latter 2 command line options should be enough for your needs :)

HTH
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com
lanmicro
User
Posts: 3
Joined: Wed Jun 21, 2006 6:25 pm

Re: Uninstall ActiveX

Post by lanmicro »

My only concern with

"c:\Program Files\Tracker Software\PDF Viewer\PDFXCview.exe" /RegSever regsvr32 "c:\Program Files\Tracker Software\PDF Viewer\PDFXCviewAx.dll"

is does it create entries in the registry? Will re-registering it like this create duplicate entries?

I don't want problems with multiple entries being create wherever regsvr32 is saving it's information.
Gregory C. Bailey
User avatar
John - Tracker Supp
Site Admin
Posts: 5223
Joined: Tue Jun 29, 2004 10:34 am

Re: Uninstall ActiveX

Post by John - Tracker Supp »

Hi,

No need to be concerned - as a 'common object' the old old entry would be overwritten in the event it already exists.

HTH
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com
lanmicro
User
Posts: 3
Joined: Wed Jun 21, 2006 6:25 pm

Re: Uninstall ActiveX

Post by lanmicro »

Thanks
Gregory C. Bailey
User avatar
John - Tracker Supp
Site Admin
Posts: 5223
Joined: Tue Jun 29, 2004 10:34 am

Re: Uninstall ActiveX

Post by John - Tracker Supp »

Pleasure :)
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com