nsis: set HKCU "Software\spice-space.org\spicex\client"

With recent RHEV portal plugin, the Spice client is chosen according
to this key.
This commit is contained in:
Marc-André Lureau 2012-02-23 16:46:20 +01:00
parent e2082caa0a
commit 49df4ab19a

View File

@ -153,6 +153,8 @@ Section "virt-viewer"
nsExec::ExecToLog '$0 /C bin\pango-querymodules.exe > etc\pango\pango.modules'
nsExec::ExecToLog 'echo gtk-theme-name = "MS-Windows" > etc\gtk-2.0\gtkrc'
WriteRegStr HKCU "Software\spice-space.org\spicex" "client" "$INSTDIR\bin\remote-viewer.exe --spice-controller"
SectionEnd
Section "Start Menu Shortcuts"
@ -171,6 +173,8 @@ Section "Uninstall"
Delete /rebootok "$SMPROGRAMS\virt-viewer\Uninstall virt-viewer.lnk"
RMDir "$SMPROGRAMS\virt-viewer"
DeleteRegKey HKCU "Software\spice-space.org\spicex\client"
RMDir /r "$INSTDIR\lib\pango"
RMDir /r "$INSTDIR\lib\gtk-2.0"