Standard programs are gone after deinstalling 1.95

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

Moderators: helmut, XnTriq, xnview

Post Reply
Ralf Kerkhoff

Standard programs are gone after deinstalling 1.95

Post by Ralf Kerkhoff »

Hi,

I got a reproducable bug, when unintalling Version 1.95
Just done this because I wanted to install Version 1.95.

After uninstalling 1.59 in Vista's system control, all standard programs are gone.
The whole list is just empty.

It seems, that uninstalling deletes all entrys in the following registry key:
HKEY_LOcal_Machine
Software
RegisteredApplications

Fortunally I have ha system backup handy :-)

If tested it two times, each of the uninstall emptys the registered apps.

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

Re: Deinstallation of 1.59

Post by xnview »

Strange, someone with the same problem??
RegisteredApplications is not changed
Pierre.
User avatar
ckv
Posts: 786
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

Re: Deinstallation of 1.59

Post by ckv »

xnview wrote:Strange, someone with the same problem??
RegisteredApplications is not changed
I extracted the installer with Inno Setup Unpacker and looks like the Inno script has a bug...
Root: HKLM; Subkey: "Software\RegisteredApplications"; ValueName: "XnView"; ValueType: String; ValueData: "Software\XnView\Capabilities"; Flags: uninsdeletekey
Should be...
Root: HKLM; Subkey: "Software\RegisteredApplications"; ValueName: "XnView"; ValueType: String; ValueData: "Software\XnView\Capabilities"; Flags: uninsdeletevalue
ckit
XnThusiast
Posts: 2586
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia
Contact:

Post by ckit »

If the EXE package gets updated, please let us know!
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Win11 x64 24H2, Hard Disk Sentinel Pro, MS PowerToys, Process Lasso Pro and Wintoys
User avatar
xnview
Author of XnView
Posts: 46616
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Deinstallation of 1.59

Post by xnview »

ckv wrote:
xnview wrote:Strange, someone with the same problem??
RegisteredApplications is not changed
I extracted the installer with Inno Setup Unpacker and looks like the Inno script has a bug...
Root: HKLM; Subkey: "Software\RegisteredApplications"; ValueName: "XnView"; ValueType: String; ValueData: "Software\XnView\Capabilities"; Flags: uninsdeletekey
Should be...
Root: HKLM; Subkey: "Software\RegisteredApplications"; ValueName: "XnView"; ValueType: String; ValueData: "Software\XnView\Capabilities"; Flags: uninsdeletevalue
So with 1.96, i change the setup
Pierre.
User avatar
ckv
Posts: 786
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

Re: Standard programs are gone after deinstalling 1.95

Post by ckv »

XnView standard english setup (XnView-win-en.exe) still has this problem.

I checked Inno script and noticed that the all the "default programs" related registry lines are twice in the script.

Code: Select all

Root: HKLM; Subkey: "Software\RegisteredApplications"; ValueName: "XnView"; ValueType: String; ValueData: "Software\XnView\Capabilities"; Flags: uninsdeletevalue 
Root: HKLM; Subkey: "Software\XnView\Capabilities"; ValueName: "ApplicationDescription"; ValueType: String; ValueData: "XnView is a fast multi-format graphics browser, viewer, and converter. It reads more than 400 file formats."; Flags: uninsdeletekey 
Root: HKLM; Subkey: "Software\XnView\Capabilities"; ValueName: "ApplicationName"; ValueType: String; ValueData: "XnView for Windows"; Flags: uninsdeletekey 
Root: HKLM; Subkey: "Software\XnView\Capabilities\FileAssociations"; ValueName: ".bmp"; ValueType: String; ValueData: "XnView.bmp"; Flags: uninsdeletekey 
Root: HKLM; Subkey: "Software\XnView\Capabilities\FileAssociations"; ValueName: ".gif"; ValueType: String; ValueData: "XnView.gif"; Flags: uninsdeletekey 
Root: HKLM; Subkey: "Software\XnView\Capabilities\FileAssociations"; ValueName: ".iff"; ValueType: String; ValueData: "XnView.iff"; Flags: uninsdeletekey 
Root: HKLM; Subkey: "Software\XnView\Capabilities\FileAssociations"; ValueName: ".jpg"; ValueType: String; ValueData: "XnView.jpg"; Flags: uninsdeletekey 
Root: HKLM; Subkey: "Software\XnView\Capabilities\FileAssociations"; ValueName: ".pcx"; ValueType: String; ValueData: "XnView.pcx"; Flags: uninsdeletekey 
Root: HKLM; Subkey: "Software\XnView\Capabilities\FileAssociations"; ValueName: ".pic"; ValueType: String; ValueData: "XnView.pic"; Flags: uninsdeletekey 
Root: HKLM; Subkey: "Software\XnView\Capabilities\FileAssociations"; ValueName: ".png"; ValueType: String; ValueData: "XnView.png"; Flags: uninsdeletekey 
Root: HKLM; Subkey: "Software\XnView\Capabilities\FileAssociations"; ValueName: ".tga"; ValueType: String; ValueData: "XnView.tga"; Flags: uninsdeletekey 
Root: HKLM; Subkey: "Software\XnView\Capabilities\FileAssociations"; ValueName: ".tif"; ValueType: String; ValueData: "XnView.tif"; Flags: uninsdeletekey 
Root: HKLM; Subkey: "Software\RegisteredApplications"; ValueName: "XnView"; ValueType: String; ValueData: "Software\XnView\Capabilities"; Flags: uninsdeletekey 
Root: HKLM; Subkey: "Software\XnView\Capabilities"; ValueName: "ApplicationDescription"; ValueType: String; ValueData: "XnView is a fast multi-format graphics browser, viewer, and converter. It reads more than 400 file formats."; Flags: uninsdeletekey 
Root: HKLM; Subkey: "Software\XnView\Capabilities"; ValueName: "ApplicationName"; ValueType: String; ValueData: "XnView for Windows"; Flags: uninsdeletekey 
Root: HKLM; Subkey: "Software\XnView\Capabilities\FileAssociations"; ValueName: ".bmp"; ValueType: String; ValueData: "XnView.bmp"; Flags: uninsdeletekey 
Root: HKLM; Subkey: "Software\XnView\Capabilities\FileAssociations"; ValueName: ".gif"; ValueType: String; ValueData: "XnView.gif"; Flags: uninsdeletekey 
Root: HKLM; Subkey: "Software\XnView\Capabilities\FileAssociations"; ValueName: ".iff"; ValueType: String; ValueData: "XnView.iff"; Flags: uninsdeletekey 
Root: HKLM; Subkey: "Software\XnView\Capabilities\FileAssociations"; ValueName: ".jpg"; ValueType: String; ValueData: "XnView.jpg"; Flags: uninsdeletekey 
Root: HKLM; Subkey: "Software\XnView\Capabilities\FileAssociations"; ValueName: ".pcx"; ValueType: String; ValueData: "XnView.pcx"; Flags: uninsdeletekey 
Root: HKLM; Subkey: "Software\XnView\Capabilities\FileAssociations"; ValueName: ".pic"; ValueType: String; ValueData: "XnView.pic"; Flags: uninsdeletekey 
Root: HKLM; Subkey: "Software\XnView\Capabilities\FileAssociations"; ValueName: ".png"; ValueType: String; ValueData: "XnView.png"; Flags: uninsdeletekey 
Root: HKLM; Subkey: "Software\XnView\Capabilities\FileAssociations"; ValueName: ".tga"; ValueType: String; ValueData: "XnView.tga"; Flags: uninsdeletekey 
Root: HKLM; Subkey: "Software\XnView\Capabilities\FileAssociations"; ValueName: ".tif"; ValueType: String; ValueData: "XnView.tif"; Flags: uninsdeletekey 
First there is the correct line with the uninsdeletevalue flag, then later in the script there is another line with uninsdeletekey flag. XnView standard english setup is the only setup with this problem.
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
User avatar
xnview
Author of XnView
Posts: 46616
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Standard programs are gone after deinstalling 1.95

Post by xnview »

ok, right
Pierre.
Post Reply