Page 1 of 1
1.90: if Shell Extension is already in use, it can't be
Posted: Fri Feb 02, 2007 9:21 pm
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.
Re: Bug 1.90: if Shell Extension is already in use, it can't
Posted: Sat Feb 03, 2007 8:22 am
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...
Posted: Sat Feb 03, 2007 12:32 pm
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
Posted: Sat Feb 03, 2007 9:54 pm
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.)