Browse Source

Add desktop icon to Windows installer.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
09bdf763a8
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      installer.nsi

+ 2
- 1
installer.nsi View File

@@ -86,7 +86,7 @@ Section "VCV Rack" VCV_RACK_SECTION
WriteRegStr HKLM "Software\Classes\VCVRack.Patch\shell\open\command" "" '"$INSTDIR\Rack.exe" "%1"'

; Create shortcuts
CreateDirectory "$SMPROGRAMS"
CreateShortcut "$DESKTOP\VCV Rack.lnk" "$INSTDIR\Rack.exe"
CreateShortcut "$SMPROGRAMS\VCV Rack.lnk" "$INSTDIR\Rack.exe"
SectionEnd

@@ -97,6 +97,7 @@ Section "Uninstall"
; Attempt to remove C:\Program Files\VCV if empty
RMDir "$INSTDIR\.."

Delete "$DESKTOP\VCV Rack.lnk"
Delete "$SMPROGRAMS\VCV Rack.lnk"

DeleteRegKey HKLM "Software\VCV\Rack"


Loading…
Cancel
Save