mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2025-12-28 07:06:04 +00:00
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:
parent
e2082caa0a
commit
49df4ab19a
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user