Menu

Windows XP - Uninstalling

Help
dlucky1
2007-10-25
2013-05-20
  • dlucky1

    dlucky1 - 2007-10-25

    Hi,

    I am able to install, and use two HyperTerminal windows assigned to CNCA0 and CNCB0.  When I uninstall using XP's 'Add or Remove Programs', it does remove the C:\Program Files\com0com subdirectory and its contents, but, I am still able to use CNCA0 and CNCB0.  I need to use XP's 'Device Manager' to uninstall these two ports.

    Is this normal, or these two ports should be uninstalled when I use the 'Add or Remove Programs'?

    Thank you for your help.

    dlucky1

     
    • Vyacheslav Frolov

      No, normaly these two ports should be uninstalled.
      To uninstall all ports and the driver the uninstaller
      at first execute "RunDll32 setup,RunDll ... uninstall".
      Take a look at the details box of uninstaller.
      It should contain something like this:

      Execute: RunDll32 setup,RunDll --output E:\DOCUME~1\root\LOCALS~1\Temp\nspA.tmp uninstall
      Disabled CNCA0 com0com\port \Device\com0com10
      Disabled CNCB0 com0com\port \Device\com0com20
      Removed  root\com0com \Device\00000054
      Removed CNCA0 com0com\port
      Removed CNCB0 com0com\port
      Deleted Service com0com
      Deleted EventLog com0com
      Deleted Class {df799e12-3c56-421b-b298-b6d3642bc878}
      Deleted File E:\WINDOWS\INF\oem6.inf
      Deleted File E:\WINDOWS\INF\oem6.pnf
      Deleted File E:\WINDOWS\system32\DRIVERS\com0com.sys
      Scan INF files ........ done.
      Delete file: E:\DOCUME~1\root\LOCALS~1\Temp\nspA.tmp
      Delete file: E:\Program Files\com0com\ReadMe.txt
      Delete file: E:\Program Files\com0com\com0com.inf
      Delete file: E:\Program Files\com0com\com0com.sys
      Delete file: E:\Program Files\com0com\setup.dll
      Delete file: E:\Program Files\com0com\setup.bat
      Delete file: E:\Program Files\com0com\uninstall.exe
      Delete file: E:\Documents and Settings\root\Main menu\Programs\com0com\ReadMe.lnk
      Delete file: E:\Documents and Settings\root\Main menu\Programs\com0com\Setup Command Prompt.lnk
      Delete file: E:\Documents and Settings\root\Main menu\Programs\com0com\Uninstall.lnk
      Remove folder: E:\Documents and Settings\root\Main menu\Programs\com0com\ Remove folder: E:\Program Files\com0com\ Completed

       
    • dlucky1

      dlucky1 - 2007-10-26

      Hello Vyacheslav,

      Thank you for your response.  Actually, I did not state my question in full.  When I do click on the 'Uninstall' icon, the Null-modem emulator (com0com) Uninstall' window opens.  But, after displaying

      "Execute: RunDll32......."

      line, RUNDLL error message pops up;

      Error loading setup
      The specified module could not be found.

      When I check my subdirectory \com0com, I have six(6) files;

      com0com - setup information
      com0com - system file
      readme  - text documents
      setup   - ms-dos batch file
      setup   - application extension
      uninstall - application

      What 'specified module' do I miss?

      Thank you again for your help.

      dlucky1

       
    • Vyacheslav Frolov

      > Error loading setup
      > The specified module could not be found.

      Did you use com0com-1.8.0.0-i386-chk.zip or build it yourself?
      In last case you need to use NSIS v2.17 or get com0com source from CVS.

       
      • dlucky1

        dlucky1 - 2007-10-30

        Hi Vyacheslav,

        I used Windows DDK to compile/link COM0COM, and used MakeNSISW2.3 to build SETUP.EXE myself.

        After your advice, I did the following;

        First, I tried the com0com-1.8.0.0-i386-chk.zip version, and it works fine.  But, when I 'uninstall', it leaves the \Program Files\com0com subdirectory with setup.dll file in it.  Maybe it is normal, I don't know.  The \Start Menu\com0com subdirectory is fully removed upon 'uninstall'.

        Second, I downloaded com0com from CVS, and try to use DDK again.  But, I got link errors.

        =============================================
        The following is the error output from above DDK build
        =============================================

        errors in directory e:\cvs_oct29\com0com\setupc
        link : error LNK2001: unresolved external symbol _mainCRTStartup
        e:\cvs_oct29\com0com\setupc\setup.obj : error LNK2019: unresolved external symbol _memset referenced in function _main
        e:\cvs_oct29\com0com\i386\setupc.exe : error LNK1120: 2 unresolved externals

        I do have to tell you here that I have NEVER used CVS program before until  now.  So, I maybe doing something not right.  I will try to repeat my process one more time.  But, I would appreciate it, if you think I am doing something wrong, then, please let me know.

        Lucky

         
    • Vyacheslav Frolov

      > But, when I 'uninstall', it leaves the \Program Files\com0com subdirectory with
      > setup.dll file in it.  Maybe it is normal, I don't know.

      It's normal if setup.dll was in use when you run uninstall.

      > Second, I downloaded com0com from CVS, and try to use DDK again.  But, I got
      > link errors.

      OK. It's fixed in CVS.

       
      • dlucky1

        dlucky1 - 2007-10-30

        Hi Vyacheslav,

        I downladed the latest CVS com0com, and it works fine; I can build, install, and uninstall without any problems.

        Thank you for the update.

        Lucky

         

Log in to post a comment.