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

Moderators: helmut, 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 »

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: 46235
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 »

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 »

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: 395
Joined: Sat Nov 18, 2006 8:57 am

Post by foxyshadis »

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