|
@@ -54,10 +54,10 @@ Section "VCV Rack" VCV_RACK_SECTION |
|
|
|
|
|
|
|
|
; Write uninstaller info |
|
|
; Write uninstaller info |
|
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" "DisplayName" "VCV Rack" |
|
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" "DisplayName" "VCV Rack" |
|
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" "DisplayIcon" "$\"$INSTDIR\Rack.exe$\"" |
|
|
|
|
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" "UninstallString" "$\"$INSTDIR\Uninstall.exe$\"" |
|
|
|
|
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" "QuietUninstallString" "$\"$INSTDIR\Uninstall.exe$\" \S" |
|
|
|
|
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" "InstallLocation" "$\"$INSTDIR$\"" |
|
|
|
|
|
|
|
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" "DisplayIcon" '"$INSTDIR\Rack.exe"' |
|
|
|
|
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" "UninstallString" '"$INSTDIR\Uninstall.exe"' |
|
|
|
|
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" "QuietUninstallString" '"$INSTDIR\Uninstall.exe" /S' |
|
|
|
|
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" "InstallLocation" '"$INSTDIR"' |
|
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" "Publisher" "VCV" |
|
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" "Publisher" "VCV" |
|
|
SectionGetSize ${VCV_RACK_SECTION} $0 |
|
|
SectionGetSize ${VCV_RACK_SECTION} $0 |
|
|
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" "EstimatedSize" $0 |
|
|
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" "EstimatedSize" $0 |
|
@@ -65,6 +65,11 @@ Section "VCV Rack" VCV_RACK_SECTION |
|
|
; Create uninstaller |
|
|
; Create uninstaller |
|
|
WriteUninstaller "$INSTDIR\Uninstall.exe" |
|
|
WriteUninstaller "$INSTDIR\Uninstall.exe" |
|
|
|
|
|
|
|
|
|
|
|
; Associate file type |
|
|
|
|
|
WriteRegStr HKLM "Software\Classes\.vcv" "" "VCVRack.Patch" |
|
|
|
|
|
WriteRegStr HKLM "Software\Classes\VCVRack.Patch" "" "VCV Rack Patch" |
|
|
|
|
|
WriteRegStr HKLM "Software\Classes\VCVRack.Patch\shell\open\command" "" '"$INSTDIR\Rack.exe" "%1"' |
|
|
|
|
|
|
|
|
; Create shortcuts |
|
|
; Create shortcuts |
|
|
CreateDirectory "$SMPROGRAMS" |
|
|
CreateDirectory "$SMPROGRAMS" |
|
|
CreateShortcut "$SMPROGRAMS\VCV Rack.lnk" "$INSTDIR\Rack.exe" |
|
|
CreateShortcut "$SMPROGRAMS\VCV Rack.lnk" "$INSTDIR\Rack.exe" |
|
@@ -83,6 +88,8 @@ Section "Uninstall" |
|
|
DeleteRegKey HKLM "Software\VCV\Rack" |
|
|
DeleteRegKey HKLM "Software\VCV\Rack" |
|
|
DeleteRegKey /ifempty HKLM "Software\VCV" |
|
|
DeleteRegKey /ifempty HKLM "Software\VCV" |
|
|
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" |
|
|
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" |
|
|
|
|
|
DeleteRegKey HKLM "Software\Classes\.vcv" |
|
|
|
|
|
DeleteRegKey HKLM "Software\Classes\VCVRack.Patch" |
|
|
SectionEnd |
|
|
SectionEnd |
|
|
|
|
|
|
|
|
|
|
|
|
|
|