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?
Uninstall ActiveX
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- Site Admin
- Posts: 5223
- Joined: Tue Jun 29, 2004 10:34 am
Re: Uninstall ActiveX
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
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
Best regards
Tracker Support
http://www.tracker-software.com
-
- User
- Posts: 3
- Joined: Wed Jun 21, 2006 6:25 pm
Re: Uninstall ActiveX
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.
"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
-
- Site Admin
- Posts: 5223
- Joined: Tue Jun 29, 2004 10:34 am
Re: Uninstall ActiveX
Hi,
No need to be concerned - as a 'common object' the old old entry would be overwritten in the event it already exists.
HTH
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
Best regards
Tracker Support
http://www.tracker-software.com
-
- User
- Posts: 3
- Joined: Wed Jun 21, 2006 6:25 pm
-
- Site Admin
- Posts: 5223
- Joined: Tue Jun 29, 2004 10:34 am
Re: Uninstall ActiveX
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
Best regards
Tracker Support
http://www.tracker-software.com