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 ; Attributes
Name "${PRODUCT_NAME}" Name "${PRODUCT_NAME}"
OutFile "build\t7xInstaller.exe" 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 RequestExecutionLevel admin ; Request user-level execution, not admin
; Version Info ; Version Info
@ -115,6 +115,6 @@ SectionEnd
Function .onInstSuccess Function .onInstSuccess
${If} $Checkbox == 1 ${If} $Checkbox == 1
SetOutPath "$INSTDIR" SetOutPath "$INSTDIR"
CreateShortcut "$DESKTOP\${PRODUCT_NAME}.lnk" "$INSTDIR\t7x.exe" "" "$INSTDIR" CreateShortcut "$DESKTOP\${PRODUCT_NAME}.lnk" "$INSTDIR\t7x.exe" "" "$INSTDIR\t7x.exe"
${EndIf} ${EndIf}
FunctionEnd FunctionEnd