Add icon and correct paths

This commit is contained in:
Rim 2023-12-16 17:12:37 -05:00
parent 7b735f1288
commit 24e0d64bc0

View File

@ -12,7 +12,7 @@
; Attributes
Name "${PRODUCT_NAME}"
OutFile "build\t7xInstaller.exe"
InstallDir "$PROGRAMFILES\${PRODUCT_NAME}"
InstallDir "C:\Program Files (x86)\Steam\common\Call of Duty Black Ops III"
RequestExecutionLevel admin ; Request user-level execution, not admin
; Version Info
@ -115,6 +115,6 @@ SectionEnd
Function .onInstSuccess
${If} $Checkbox == 1
SetOutPath "$INSTDIR"
CreateShortcut "$DESKTOP\${PRODUCT_NAME}.lnk" "$INSTDIR\t7x.exe" "" "$INSTDIR"
CreateShortcut "$DESKTOP\${PRODUCT_NAME}.lnk" "$INSTDIR\t7x.exe" "" "$INSTDIR\t7x.exe"
${EndIf}
FunctionEnd