Rev 144 | Rev 162 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 144 | Rev 147 | ||
|---|---|---|---|
| Line 4... | Line 4... | ||
| 4 | !define PRODUCT_NAME "Chess Giants" | 4 | !define PRODUCT_NAME "Chess Giants" | 
| 5 | !define PUBLISHER "Pierre-Marie Baty" | - | |
| 6 | !define PUBLISHER_WEBSITE "http://www.pmbaty.com/chess/" | 5 | !define PUBLISHER_WEBSITE "http://www.pmbaty.com/chess/" | 
| 7 | !define INSTALLER_SRC "C:\Users\Pierre-Marie Baty\Documents\Mes projets\Chess Giants" | 6 | !define INSTALLER_SRC "C:\Users\Pierre-Marie Baty\Documents\Mes projets\Chess Giants" | 
| 8 | 7 | ||
| 9 | Name "${PRODUCT_NAME}" | 8 | Name "${PRODUCT_NAME}" | 
| 10 | BrandingText "${PRODUCT_NAME | 9 | BrandingText "${PRODUCT_NAME} - ${PUBLISHER_WEBSITE}" | 
| 11 | 10 | ||
| 12 | SetCompressor lzma | 11 | SetCompressor lzma | 
| 13 | RequestExecutionLevel user | 12 | RequestExecutionLevel user | 
| 14 | 13 | ||
| 15 | AllowRootDirInstall true | 14 | AllowRootDirInstall true | 
| Line 176... | Line 175... | ||
| 176 | WriteUninstaller $INSTDIR\uninstall.exe | 175 | WriteUninstaller $INSTDIR\uninstall.exe | 
| 177 | 	WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" "DisplayName" "${PRODUCT_NAME}" | 176 | 	WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" "DisplayName" "${PRODUCT_NAME}" | 
| 178 | 	WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" "DisplayIcon" "$INSTDIR\${PRODUCT_NAME}.exe,0" | 177 | 	WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" "DisplayIcon" "$INSTDIR\${PRODUCT_NAME}.exe,0" | 
| 179 | 	WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" "UninstallString" "$\"$INSTDIR\uninstall.exe$\"" | 178 | 	WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" "UninstallString" "$\"$INSTDIR\uninstall.exe$\"" | 
| 180 | 	WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" "QuietUninstallString" "$\"$INSTDIR\uninstall.exe$\" /S" | 179 | 	WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" "QuietUninstallString" "$\"$INSTDIR\uninstall.exe$\" /S" | 
| 181 | 	WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" "Publisher" "${ | 180 | 	WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" "Publisher" "${PRODUCT_NAME}" | 
| 182 | 	WriteRegDWORD HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" "NoModify" 1 | 181 | 	WriteRegDWORD HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" "NoModify" 1 | 
| 183 | 	WriteRegDWORD HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" "NoRepair" 1 | 182 | 	WriteRegDWORD HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" "NoRepair" 1 | 
| 184 | 	${GetSize} "$INSTDIR" "/S=0K" $0 $1 $2 | 183 | 	${GetSize} "$INSTDIR" "/S=0K" $0 $1 $2 | 
| 185 | IntFmt $0 "0x%08X" $0 | 184 | IntFmt $0 "0x%08X" $0 | 
| 186 | 	WriteRegDWORD HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" "EstimatedSize" "$0" | 185 | 	WriteRegDWORD HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" "EstimatedSize" "$0" |