The uninstaller/unloader leaves leftovers

WinCDEmu - Report bugs, discuss features, etc.

The uninstaller/unloader leaves leftovers

Postby lwc » Fri Nov 27, 2009 12:30 pm

I ran the program through InCtrl5 and the uninstaller (after the boot which isn't officially requested but is needed) is very partial. Here are the things that get left behind forever:

Code: Select all
name=WinCDEmu-3.0

**** reg list - start ****
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ccd
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.cue
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.img
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.iso\OpenWithProgids
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.mds
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.nrg
HKCR\.ccd
HKCR\.cue
HKCR\.img
HKCR\.iso
HKCR\.mds
HKCR\.nrg
HKCR\BazisVirtualCD.Ccd
HKCR\BazisVirtualCD.Cue
HKCR\BazisVirtualCD.Img
HKCR\BazisVirtualCD.Iso
HKCR\BazisVirtualCD.Mds
HKCR\BazisVirtualCD.Nrg
HKLM\SOFTWARE\SysProgs
HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E965-E325-11CE-BFC1-08002BE10318}\0001
HKLM\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\root#bazisvirtualcdbus
HKLM\SYSTEM\CurrentControlSet\Control\DeviceClasses\{53f56308-b6bf-11d0-94f2-00a0c91efb8b}\##?#BazisVirtualCDBus#StandardDevice#Random_DVD_iso#{53f56308-b6bf-11d0-94f2-00a0c91efb8b}
HKLM\SYSTEM\CurrentControlSet\Control\DeviceClasses\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}\##?#BazisVirtualCDBus#StandardDevice#Random_DVD_iso#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
HKLM\SYSTEM\CurrentControlSet\Control\DeviceClasses\{6e1ec3ac-d9cc-423e-8862-bade124324c8}
HKLM\SYSTEM\CurrentControlSet\Enum\BazisVirtualCDBus
HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_UDFS
HKLM\SYSTEM\CurrentControlSet\Services\BazisVirtualCDBus
HKLM\SYSTEM\CurrentControlSet\Services\Udfs\Enum
**** reg list - end ****

**** folders list - start ****
%ProgramFiles%\WinCDEmu
**** folders list - end ****

**** files list - start ****
%SystemRoot%\inf\oem25.inf
%SystemRoot%\inf\oem25.PNF
%SystemRoot%\system32\drivers\BazisVirtualCDBus.sys
**** files list - end ****


Notes:
  1. Random_DVD_iso is the ISO I ran through the program. If something should be deleted it's this. That list could be endless.
  2. What's left in %ProgramFiles%\WinCDEmu is %ProgramFiles%\WinCDEmu\langfiles
  3. %SystemRoot%\inf\oem25.* is of course just in my own case. The formula is %SystemRoot%\inf\oemX.inf - the installer should store the X for the uninstaller.

BTW, this is an awesome program. I realize it isn't portable, but please complete the uninstaller. :P
Last edited by lwc on Sun Jul 18, 2010 12:19 pm, edited 1 time in total.
lwc
 
Posts: 6
Joined: Fri Nov 27, 2009 12:19 pm

Re: The uninstaller leaves leftovers

Postby bazis » Sat Dec 05, 2009 5:57 pm

Ok, the "langfiles" is now removed.
Regarding most of the registry traces, it's related to Windows architecture. Every time you connect a new device (e.g. a USB FLASH stick or a virtual CD-ROM), Windows creates an entry in the registry. This behavior is normal to Windows and should not create any problems to the user.
On the other hand, if you are continuously installing/uninstalling lots of programs (especially system ones) on the same PC, rather use some commercial "precise uninstaller", or a VM with snapshots.

The purpose of the uninstaller is to remove any components potentially using system resources (e.g. the driver) and the files occupying disk space. Forcing Vista/Win7 to purge device entries would be against its design. The registry keys describing the file extensions will be overwritten as soon as you install another image mounting tool (just reverting them to old values won't be an option, as the user could remove the previously active tool before uninstalling WinCDEmu).

after the boot which isn't officially requested but is needed

After the uninstaller has completed, no components are left in memory and no interference with other product installation can happen. Asking the user to restart just to have the last files removed "here and now" (provided that they do not interfere with anything) would be unreasonable.
bazis
Site Admin
 
Posts: 182
Joined: Sat Apr 04, 2009 10:15 pm

Re: The uninstaller/unloader leaves leftovers

Postby lwc » Fri Dec 18, 2009 5:46 pm

bazis wrote:just reverting them to old values won't be an option.

Nor should it be. What should be done is deleting those keys and, like you said, other programs in the future could re-register them.

Asking the user to restart just to have the last files removed "here and now"...would be unreasonable.

But you control the message. You can write something like "a restart is needed but only to remove some leftovers. You can continue working safely without an immediiate restart. Do you still wish to restart right now? Yes/No" (you can even put the default on "no").
Last edited by lwc on Sun Jul 18, 2010 12:19 pm, edited 1 time in total.
lwc
 
Posts: 6
Joined: Fri Nov 27, 2009 12:19 pm

Re: The uninstaller/unloader leaves leftovers

Postby lwc » Sun Jul 18, 2010 12:18 pm

The new portable version leaves leftovers too. Here's a reg file to delete them:
Code: Select all
Windows Registry Editor Version 5.00

[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E965-E325-11CE-BFC1-08002BE10318}\0003]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses\{53f56308-b6bf-11d0-94f2-00a0c91efb8b}\##?#BazisVirtualCDBus#StandardDevice#PortableVirtualCD_0000#{53f56308-b6bf-11d0-94f2-00a0c91efb8b}]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}\##?#BazisVirtualCDBus#StandardDevice#PortableVirtualCD_0000#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\BazisVirtualCDBus\StandardDevice\PortableVirtualCD_0000]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_BAZISPORTABLECDBUS]
lwc
 
Posts: 6
Joined: Fri Nov 27, 2009 12:19 pm

Re: The uninstaller/unloader leaves leftovers

Postby bazis » Sun Jul 18, 2010 12:24 pm

These 'leftovers' is the way Windows stores the information about devices. Any USB flash drive will leave exactly the same "leftovers" in any system. I would NOT recommend deleting these keys manually, as it can damage some internal dependencies maintained by Windows.
bazis
Site Admin
 
Posts: 182
Joined: Sat Apr 04, 2009 10:15 pm

Re: The uninstaller/unloader leaves leftovers

Postby lwc » Sun Jul 18, 2010 3:26 pm

bazis wrote:Any USB flash drive will leave exactly the same "leftovers" in any system.

Yes, but USB devices can be easily removed with a software like USBDeview.
lwc
 
Posts: 6
Joined: Fri Nov 27, 2009 12:19 pm

Re: The uninstaller/unloader leaves leftovers

Postby bazis » Sun Jul 18, 2010 3:35 pm

I guess, you can use devcon or other Microsoft tools to cleanup drive information as well. Anyway, do such leftovers cause any real inconvenience to anyone? Windows is designed to keep history of all previously connected devices, this information does not occupy any considerable amount of your disk space or RAM and does not slow your system...
bazis
Site Admin
 
Posts: 182
Joined: Sat Apr 04, 2009 10:15 pm

Re: The uninstaller/unloader leaves leftovers

Postby rndUser » Fri Sep 03, 2010 6:23 pm

i mean really, the uninstaller should work , what reason to include one if it doesnt work

ive just tried wincdemu again in hope to be able to replace daemon tools - however it didnt correctly emulate, and i wasnt able to play BR-Disc from a virtual drive. (with daemon it worked)

so i wanted to uninstall it, and it leaves all image-files with some context menu entry which i had to remove by modifiying the registry

just giving feedback, this is one of the things i didnt like at all, or at least include an instruction how to remove ALL parts of it.

however good work, and gratulations to the signing of the driver
rndUser
 


Return to WinCDEmu

Who is online

Users browsing this forum: No registered users and 2 guests