#15 "1001" errors at install/repair/uninstall 1.7 WIN

closed
nobody
None
1
2013-02-14
2011-09-09
Anonymous
No

A repair, re-install or de-install of SEB winsows 1.7 frequently leaves the PC in a state where the installer cannot uninstall SEB anymore, but cannot repair or re-install either. Error "1001" exception occurs.
Workaround is to regedit, find SEBWINDOWS values, remove those keys and then a re-install will work.

First time install usually works fine.

Discussion

  • Dirk Bauer

    Dirk Bauer - 2011-09-10

    Unfortutunately, deinstallation often does not remove every file and directory, due to a Windows OS system bug claiming that an empty directory or a file "cannot be deleted since it is still in use by an application" (which is not true). Usually, it is best to run the deinstallation, then reboot the machine and then remove the remaining stuff in Program Files. We are still working on better solutions (scripts or something). Regards, Dirk

     
  • JDerriks

    JDerriks - 2011-10-12

    Just had a student with the same problem and we found the fix!

    Run "SC DELETE SebWindowsServoce" from a command line (as administrator) and the re-install will be fine. The problem was that sometimes the Sebwindows service is not stopped/deleted.

     
  • Dirk Bauer

    Dirk Bauer - 2011-10-12

    Yes, I had the same problem when testing several installation and uninstallation issues. Solved it similar to Jan by manually restarting the SebWindows service: used the tool InstallUtilExe, located (at least on my machine) in "C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe", and then called InstallUtil.exe on the "SebWindowsService.exe" file. Wrote a .bat script to easen that, and will probably include this script (plus some more helpful tools for fixing such trouble) in the next SEB release.

     
  • Nobody/Anonymous

    Hi. I'm also having the same problems with 1.8.2. I tried deleting sebwindows values or deleting the sebwindowsservice.exe file but it didn't work. Does anyone else have a solution for this?

     
  • Dirk Bauer

    Dirk Bauer - 2012-02-28

    Hello,

    what do you mean with "sebwindows values"? Registry values? Normally, you do not have to change anything in the registry itself. And regarding the installation: for a deinstallation, the SebWindowsService must run, so by no means "deleting the sebwindowsservice.exe" is useful, au contraire! If you delete any of the installed files (e.g. in Program Files or ProgramData), the installation is corrupt. This not only holds for SEB, but for any moderen Windows program which uses an installer. In the worst case (if you deleted such files, which is not recommended anywhere in the SEB documentation), you must install SEB on another machine and manually copy the directories and files lying in

    C:\Program Files\ETH Zuerich\Safe Exam Browser 1.8.2\... and
    C:\ProgramData\ETH Zuerich\Safe Exam Browser 1.8.2\...

    or whereever your files are located after installation.

    Regards,
    Dirk

     
  • Nobody/Anonymous

    thank you for the reply. I have simply followed the suggestions in this thread. I did the latest advice from your comments but i just went back to square one, meaning its able to remove all files except sebwindowsservice. i tried to execute a batch file to run installutilexe on the sebwindowservice but it still displays an exception error. Examining the log files, there is a cant access file error when it tries to access the exe file. i am using windows 7 and have admin rights on my laptop. i also tried to use windows > control panel > uninstall program but it also throws 1001 error. please let me know if there are any other ways to fix this issue.

     
  • Dirk Bauer

    Dirk Bauer - 2012-03-01

    Sorry, we have to clarify a few points:

    1.) "meaning its able to remove all files except sebwindowsservice."
    Who is able to remove? The SEB 1.8.2 Uninstall routine called via Control Panel?

    So did it ever run through, or does it alway get stuck with 1001 error?
    2.) "i tried to execute a batch file to run installutilexe on the sebwindowservice but it still displays an exception error." So was the SebWindowsService directory still in your C:\Program Files, or did you delete it, or was it partially deleted?
    It must be fully present, especially the SebWindowsService.exe, for the script can install and start the Service again. Again, if you manually deleted parts of your installed SEB, it won't work, and you will have to make a new proper installation on another Windows 7 machine and manually copy all Program Files and ProgramData stuff related to SEB to you damaged installation machine (after deleteing all of the crap there). If you cannot delete all crap there, a reboot often is necessary and then Windows will finally recognise that you have the right to delete the crap (as an adminstrator, of course).

    Regards,
    Dirk

     
  • Nobody/Anonymous

    Hi Dirk,

    I was able to resolve the issue on uninstalling the app by completely turning off my win7 firewall. This removed the issue on the exception error. After being able to remove all files, I still needed to manually delete some of the entries in the registry to completely uninstall the app. I still encountered another issue ("the connection was refused when attempting to contact _____") but this is not the right thread for it now. I have raised the issue to the exam admin and hopefully they can help me out. Thank you for all your replies.

     
  • Anonymous - 2012-09-07

    There are no files in c:/program files of seb but it is listed in control panel
    and in the control panel remove button also missing , now how i uninstall it
    Please tell me early
    thanx

     
  • Anonymous - 2012-09-07

    There are no files in c:/program files of seb but it is listed in control
    panel
    and in the control panel remove button also missing , now how i uninstall
    it
    Please tell me early
    thanx

     
  • Dirk Bauer

    Dirk Bauer - 2012-09-10

    This is true, even in the newer version SEB Windows 1.8.2,
    that the installer is not stable enough. We are currently working mainly on this
    and preparing a new release with a reliable installer. Sorry for the inconveniences.

     
  • Dirk Bauer

    Dirk Bauer - 2012-09-10

    As was suggested, a workaround is to manually edit the Windows Registry. Start "regedit" as an administrator: type "regedit" into the search mask in the Start menu or open a Comman Prompt using "Run as administrator". In the regedit window, search for all "SEBWINDOWS" values (maybe also search for "SEB Windows", "SebWindowsService" and "ETH Zuerich"), remove those registry keys and then a re-install should work. Sorry for the inconveniences, currently working on a more reliable installer.

     
  • Daniel Schneider

    • priority: 5 --> 1
    • status: open --> closed
     
  • Daniel Schneider

    This error should be solved in SEB 1.9.x

     

Log in to post a comment.