1.90: if Shell Extension is already in use, it can't be

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, xnview

Post Reply
klumy
Posts: 229
Joined: Sat Jun 18, 2005 9:33 am

1.90: if Shell Extension is already in use, it can't be

Post by klumy » Fri Feb 02, 2007 9:21 pm

Bug 1.90: if Shell Extension is already in use from earlier version of xnview, it can't be installed during the normal installation process.
XNView 1.91.5
Windows XP SP3

User avatar
xnview
Author of XnView
Posts: 31737
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Bug 1.90: if Shell Extension is already in use, it can't

Post by xnview » Sat Feb 03, 2007 8:22 am

klumy wrote:Bug 1.90: if Shell Extension is already in use from earlier version of xnview, it can't be installed during the normal installation process.
You uninstall it berfore installing last version...
Pierre.

klumy
Posts: 229
Joined: Sat Jun 18, 2005 9:33 am

Post by klumy » Sat Feb 03, 2007 12:32 pm

I see
maybe there could be a feature to auto. deinstall it during the setup routine

would be much more comfortable for the user
XNView 1.91.5
Windows XP SP3

User avatar
foxyshadis
Posts: 384
Joined: Sat Nov 18, 2006 8:57 am

Post by foxyshadis » Sat Feb 03, 2007 9:54 pm

In the installer, you can always add these steps to the script:

taskkill /f /fi explorer.exe
<unregister>
explorer.exe

Taskkill only exists on xp by default though, so it'd have to be an xp-only segment. Alternately, you could just stuff the HKLM\...\RunOnce key with a batch file to do the copy/register, like most installers do, and tell the user the new shell extension will be finished after a reboot.

(Or you could always bundle a tool to search all processes for references to the file, and forcibly close that file handle; less intrusive on the user, if a bit less stable.)

Post Reply