@@ -46,7 +46,7 @@ ShowInstDetails show
4646
4747Section " MainSection"
4848 ; Check if CrossDesk is running
49- StrCpy $1 " crossdesk .exe"
49+ StrCpy $1 " CrossDesk .exe"
5050
5151 nsProcess::_FindProcess " $1"
5252 Pop $R0
@@ -72,7 +72,7 @@ installApp:
7272 SetOverwrite ifnewer
7373
7474 ; Main application executable path
75- File /oname= crossdesk .exe " ..\..\build\windows\x64\release\crossdesk.exe"
75+ File /oname= CrossDesk .exe " ..\..\build\windows\x64\release\crossdesk.exe"
7676
7777 ; Write uninstall information
7878 WriteUninstaller " $INSTDIR\uninstall.exe"
@@ -82,23 +82,23 @@ installApp:
8282 WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\${UNINSTALL_REG_KEY}" " DisplayVersion" " ${PRODUCT_VERSION}"
8383 WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\${UNINSTALL_REG_KEY}" " Publisher" " ${PRODUCT_PUBLISHER}"
8484 WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\${UNINSTALL_REG_KEY}" " URLInfoAbout" " ${PRODUCT_WEB_SITE}"
85- WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\${UNINSTALL_REG_KEY}" " DisplayIcon" " $INSTDIR\crossdesk .exe"
85+ WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\${UNINSTALL_REG_KEY}" " DisplayIcon" " $INSTDIR\CrossDesk .exe"
8686 WriteRegDWORD HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\${UNINSTALL_REG_KEY}" " NoModify" 1
8787 WriteRegDWORD HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\${UNINSTALL_REG_KEY}" " NoRepair" 1
8888 WriteRegStr HKCU " Software\${PRODUCT_NAME}" " InstallDir" " $INSTDIR"
8989SectionEnd
9090
9191Section -AdditionalIcons
9292 ; Desktop shortcut
93- CreateShortCut " $DESKTOP\${PRODUCT_NAME}.lnk" " $INSTDIR\crossdesk .exe" " " " $INSTDIR\crossdesk .exe"
93+ CreateShortCut " $DESKTOP\${PRODUCT_NAME}.lnk" " $INSTDIR\CrossDesk .exe" " " " $INSTDIR\CrossDesk .exe"
9494
9595 ; Start menu shortcut
96- CreateShortCut " $SMPROGRAMS\${PRODUCT_NAME}.lnk" " $INSTDIR\crossdesk .exe" " " " $INSTDIR\crossdesk .exe"
96+ CreateShortCut " $SMPROGRAMS\${PRODUCT_NAME}.lnk" " $INSTDIR\CrossDesk .exe" " " " $INSTDIR\CrossDesk .exe"
9797SectionEnd
9898
9999Section " Uninstall"
100100 ; Check if CrossDesk is running
101- StrCpy $1 " crossdesk .exe"
101+ StrCpy $1 " CrossDesk .exe"
102102
103103 nsProcess::_FindProcess " $1"
104104 Pop $R0
@@ -121,7 +121,7 @@ cancelUninstall:
121121
122122uninstallApp:
123123 ; Delete main executable and uninstaller
124- Delete " $INSTDIR\crossdesk .exe"
124+ Delete " $INSTDIR\CrossDesk .exe"
125125 Delete " $INSTDIR\uninstall.exe"
126126
127127 ; Recursively delete installation directory
@@ -144,5 +144,5 @@ SectionEnd
144144
145145; ------ Functions ------
146146Function LaunchApp
147- Exec " $INSTDIR\crossdesk .exe"
147+ Exec " $INSTDIR\CrossDesk .exe"
148148FunctionEnd
0 commit comments