History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IZPACK-57
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Julien Ponge
Reporter: Benjamin Bentmann
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IzPack

User installation fails with enabled registry support

Created: 12/Apr/08 05:50 PM   Updated: 23/Apr/08 02:02 PM
Component/s: Installer
Affects Version/s: 3.11.0
Fix Version/s: 4.0.0

Time Tracking:
Not Specified

File Attachments: 1. Text File registry-uninstall.patch (2 kb)

Environment: Windows

Patch Submitted: Yes


 Description  « Hide
On Windows, a non-admin user can still install applications for his personal usage. When the registry uninstall support has been enabled for IzPack, such a user installation fails: IzPack will abort the entire installation when the registry write access to HKLM\..\Uninstall is rejected due to the missing admin rights.

The attached patch falls back to HKCU\..\Uninstall in those cases, allowing the installation to succeed and register the uninstaller in the "Add/Remove programs" control panel for the current user.

Furthermore, the patch writes the additiional key "DisplayVersion" and "HelpLink" to the registry to improve user experience. See also Uninstall Registry Key.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Benjamin Bentmann - 12/Apr/08 05:54 PM
The patch uses hard-coded string literals to access installer data like demonstrated by other code in the class. If there is no particular reason for using string literals, it might be advisiable to reuse the string constants from ScriptParser.

Julien Ponge - 13/Apr/08 02:41 PM
Will be reviewed for inclusion in 4.0.0

Julien Ponge - 19/Apr/08 03:19 PM
Just merged, thanks for the patch!

Julien Ponge - 23/Apr/08 02:02 PM
The issue is confirmed to be closed.