"HKEY_CURRENT_USER\Software\The Wireshark developer community, http://www.wireshark.org/\Wireshark\WinSparkle" isn't the prettiest registry path.

svn path=/trunk/; revision=48089
This commit is contained in:
Gerald Combs 2013-03-05 18:46:50 +00:00
parent 177b69dc23
commit 75847e552a
2 changed files with 2 additions and 0 deletions

View File

@ -259,6 +259,7 @@ SectionIn 2
SetShellVarContext current
Delete "$APPDATA\${PROGRAM_NAME}\*.*"
RMDir "$APPDATA\${PROGRAM_NAME}"
DeleteRegKey HKCU "Software\${PROGRAM_NAME}"
SectionEnd
;VAR un.WINPCAP_UNINSTALL

View File

@ -96,6 +96,7 @@ void
software_update_init(void) {
const char *update_url = get_appcast_update_url(prefs.gui_update_channel);
win_sparkle_set_registry_path("Software\\Wireshark\\WinSparkle Settings");
win_sparkle_set_appcast_url(update_url);
win_sparkle_set_automatic_check_for_updates(prefs.gui_update_enabled ? 1 : 0);
win_sparkle_set_update_check_interval(prefs.gui_update_interval);