!define WS_UNPACK "naja-${WS_VERSION}"
!define DIST_FOLDER "../dist"
- Name "Robolock"
+ Name "Robolock II"
OutFile "${DIST_FOLDER}\naja-${WS_VERSION}.exe"
- InstallDir "$PROGRAMFILES\Robolock-${WS_VERSION}"
+ InstallDir "$PROGRAMFILES\Robolock_II-${WS_VERSION}"
; Interface Settings
SectionEnd
-Section "Robolock"
+Section "Robolock II"
SetOutPath "$INSTDIR"
WriteUninstaller "$INSTDIR\${UNINSTALLER}"
ZipDLL::extractall "$INSTDIR\${WS_PY2EXE_ZIP}" "$INSTDIR"
Delete "$INSTDIR\${WS_PY2EXE_ZIP}"
- CreateDirectory "$SMPROGRAMS\Robolock"
+ CreateDirectory "$SMPROGRAMS\Robolock II"
# link.lnk target.exe
# parameters icon.file icon_index_number start_options
# keyboard_shortcut description
- CreateShortCut "$SMPROGRAMS\Robolock\Robolock ${WS_VERSION}.lnk" "$INSTDIR\${WS_UNPACK}\naja.exe" \
+ CreateShortCut "$SMPROGRAMS\Robolock II\Robolock II ${WS_VERSION}.lnk" "$INSTDIR\${WS_UNPACK}\naja.exe" \
"" "$INSTDIR\${WS_UNPACK}\${WS_WINDOWS_ICON}" "" SW_SHOWNORMAL \
- "" "Robolock"
+ "" "Robolock II"
- CreateShortCut "$SMPROGRAMS\Robolock\Uninstall Robolock ${WS_VERSION}.lnk" "$INSTDIR\${UNINSTALLER}" \
+ CreateShortCut "$SMPROGRAMS\Robolock II\Uninstall Robolock II ${WS_VERSION}.lnk" "$INSTDIR\${UNINSTALLER}" \
"" "" "" SW_SHOWNORMAL \
- "" "Uninstall Robolock"
+ "" "Uninstall Robolock II"
SectionEnd
-UninstallText "This will uninstall Robolock ${WS_VERSION}."
+UninstallText "This will uninstall Robolock II ${WS_VERSION}."
UninstallIcon "${WS_ICON}"
Section "Uninstall"
RMDir /r /REBOOTOK "$INSTDIR\${WS_UNPACK}"
; Remove shortcut links
- Delete "$SMPROGRAMS\Robolock\Robolock ${WS_VERSION}.lnk"
- Delete "$SMPROGRAMS\Robolock\Uninstall Robolock ${WS_VERSION}.lnk"
+ Delete "$SMPROGRAMS\Robolock II\Robolock II ${WS_VERSION}.lnk"
+ Delete "$SMPROGRAMS\Robolock II\Uninstall Robolock II ${WS_VERSION}.lnk"
; Remove shortcut folder if no links left
- IfFileExists "$SMPROGRAMS\Robolock\*.lnk" shortcuts_exist 0
- RMDir /REBOOTOK "$SMPROGRAMS\Robolock"
+ IfFileExists "$SMPROGRAMS\Robolock II\*.lnk" shortcuts_exist 0
+ RMDir /REBOOTOK "$SMPROGRAMS\Robolock II"
shortcuts_exist:
; Final Clean up (no point doing this while the uninstall is incomplete)