1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-18 08:54:15 +01:00

Windows installer: remove trailing whitespaces in script file

This commit is contained in:
Oleg Semyonov 2011-05-08 18:21:58 +03:00
parent 3e0bb8a876
commit f1ead62dec

View File

@ -31,7 +31,7 @@
;-------------------------------- ;--------------------------------
; Paths ; Paths
; Tree root locations (relative to this script location) ; Tree root locations (relative to this script location)
!define NSIS_DATA_TREE "." !define NSIS_DATA_TREE "."
!define GCS_BUILD_TREE "..\..\..\..\build\ground\openpilotgcs" !define GCS_BUILD_TREE "..\..\..\..\build\ground\openpilotgcs"
@ -39,7 +39,7 @@
; Default installation folder ; Default installation folder
InstallDir "$LOCALAPPDATA\OpenPilot" InstallDir "$LOCALAPPDATA\OpenPilot"
; Get installation folder from registry if available ; Get installation folder from registry if available
InstallDirRegKey HKCU "Software\OpenPilot" "Install Location" InstallDirRegKey HKCU "Software\OpenPilot" "Install Location"
@ -83,7 +83,7 @@
; Compression level ; Compression level
SetCompressor /solid lzma SetCompressor /solid lzma
;-------------------------------- ;--------------------------------
; Branding ; Branding
@ -97,7 +97,7 @@
!define MUI_WELCOMEFINISHPAGE_BITMAP_NOSTRETCH !define MUI_WELCOMEFINISHPAGE_BITMAP_NOSTRETCH
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "${NSIS_DATA_TREE}\resources\welcome.bmp" !define MUI_UNWELCOMEFINISHPAGE_BITMAP "${NSIS_DATA_TREE}\resources\welcome.bmp"
!define MUI_UNWELCOMEFINISHPAGE_BITMAP_NOSTRETCH !define MUI_UNWELCOMEFINISHPAGE_BITMAP_NOSTRETCH
;-------------------------------- ;--------------------------------
; Language selection dialog settings ; Language selection dialog settings
@ -121,7 +121,7 @@
!insertmacro MUI_PAGE_DIRECTORY !insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES !insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH !insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_WELCOME !insertmacro MUI_UNPAGE_WELCOME
!insertmacro MUI_UNPAGE_CONFIRM !insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_COMPONENTS !insertmacro MUI_UNPAGE_COMPONENTS
@ -132,14 +132,14 @@
; Supported languages, license files and translations ; Supported languages, license files and translations
!include "${NSIS_DATA_TREE}\translations\languages.nsh" !include "${NSIS_DATA_TREE}\translations\languages.nsh"
;-------------------------------- ;--------------------------------
; Reserve files ; Reserve files
; If you are using solid compression, files that are required before ; If you are using solid compression, files that are required before
; the actual installation should be stored first in the data block, ; the actual installation should be stored first in the data block,
; because this will make your installer start faster. ; because this will make your installer start faster.
!insertmacro MUI_RESERVEFILE_LANGDLL !insertmacro MUI_RESERVEFILE_LANGDLL
;-------------------------------- ;--------------------------------
@ -195,7 +195,7 @@ SectionEnd
Section ; create uninstall info Section ; create uninstall info
; Write the installation path into the registry ; Write the installation path into the registry
WriteRegStr HKCU "Software\OpenPilot" "Install Location" $INSTDIR WriteRegStr HKCU "Software\OpenPilot" "Install Location" $INSTDIR
; Write the uninstall keys for Windows ; Write the uninstall keys for Windows
WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenPilot" "DisplayName" "OpenPilot GCS" WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenPilot" "DisplayName" "OpenPilot GCS"
WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenPilot" "UninstallString" '"$INSTDIR\Uninstall.exe"' WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenPilot" "UninstallString" '"$INSTDIR\Uninstall.exe"'
@ -217,7 +217,7 @@ SectionEnd
!insertmacro MUI_DESCRIPTION_TEXT ${InSecLocalization} $(DESC_InSecLocalization) !insertmacro MUI_DESCRIPTION_TEXT ${InSecLocalization} $(DESC_InSecLocalization)
!insertmacro MUI_DESCRIPTION_TEXT ${InSecShortcuts} $(DESC_InSecShortcuts) !insertmacro MUI_DESCRIPTION_TEXT ${InSecShortcuts} $(DESC_InSecShortcuts)
!insertmacro MUI_FUNCTION_DESCRIPTION_END !insertmacro MUI_FUNCTION_DESCRIPTION_END
;-------------------------------- ;--------------------------------
; Installer functions ; Installer functions
@ -274,14 +274,14 @@ SectionEnd
!insertmacro MUI_DESCRIPTION_TEXT ${UnSecCache} $(DESC_UnSecCache) !insertmacro MUI_DESCRIPTION_TEXT ${UnSecCache} $(DESC_UnSecCache)
!insertmacro MUI_DESCRIPTION_TEXT ${UnSecConfig} $(DESC_UnSecConfig) !insertmacro MUI_DESCRIPTION_TEXT ${UnSecConfig} $(DESC_UnSecConfig)
!insertmacro MUI_UNFUNCTION_DESCRIPTION_END !insertmacro MUI_UNFUNCTION_DESCRIPTION_END
;-------------------------------- ;--------------------------------
; Uninstaller functions ; Uninstaller functions
Function un.onInit Function un.onInit
!insertmacro MUI_UNGETLANGUAGE !insertmacro MUI_UNGETLANGUAGE
FunctionEnd FunctionEnd
;-------------------------------- ;--------------------------------