Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/windirstat.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorOliver Schneider <oliver@assarbad.net>2010-01-09 15:14:38 +0300
committerOliver Schneider <oliver@assarbad.net>2010-01-09 15:14:38 +0300
commit718faaaa398b4d43637e6b19f6a048ab78f22627 (patch)
treed28d26def3f916a554870100abfacb2f2e5bed8b /setup
parent85c21f818db1bddb0355347b7d5501eb8be2c060 (diff)
Converted NSI file to UTF8 and first adjustment to creation script
Diffstat (limited to 'setup')
-rw-r--r--setup/GatherFilesAndCreateSetup.cmd8
-rw-r--r--setup/WDS.nsi4
2 files changed, 8 insertions, 4 deletions
diff --git a/setup/GatherFilesAndCreateSetup.cmd b/setup/GatherFilesAndCreateSetup.cmd
index 3d7be77..d020e72 100644
--- a/setup/GatherFilesAndCreateSetup.cmd
+++ b/setup/GatherFilesAndCreateSetup.cmd
@@ -17,7 +17,7 @@
:: 7. Putting all language information into WDS_LanguagesTemp.nsi
:: ----------------------------------------------------------------------------
set install=.\Installer
-set nsis=%ProgramFiles%\NSIS\makensis.exe
+set nsissub=NSIS\Unicode\makensis.exe
set verfileA=VersionA.txt
set verfileU=VersionU.txt
set vernsi=WDS_LangAnd%verfileA:A.txt=.nsi%
@@ -32,7 +32,11 @@ set getvernsi=WDS_GetVersion.nsi
set langsnsi=WDS_Languages.nsi
set wdsmain=WDS_Main.nsi
set err=Unknown error
-if NOT EXIST %nsis% @(
+
+if EXIST "%ProgramFiles%\%nsissub%" set nsis=%ProgramFiles%\%nsissub%
+if EXIST "%ProgramFiles(x86)%\%nsissub%" set nsis=%ProgramFiles(x86)%\%nsissub%
+
+if NOT EXIST "%nsis%" @(
set err=Could not find NSIS compiler at "%nsis%"
goto ERROR
)
diff --git a/setup/WDS.nsi b/setup/WDS.nsi
index 793666b..882c12b 100644
--- a/setup/WDS.nsi
+++ b/setup/WDS.nsi
@@ -1,4 +1,4 @@
-; Define the following symbols to get the intended functionality
+; Define the following symbols to get the intended functionality
; LANGUAGES_NSI
; GETVERSION_NSI
; WDSMAIN_NSI
@@ -81,7 +81,7 @@
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "WinDirStat"
VIAddVersionKey /LANG=${LANG_ENGLISH} "Comments" "This release contains both, Unicode and ANSI version of WinDirStat"
VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "WDS Team"
- VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "© 2003-2005 WDS Team"
+ VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "© 2003-2005 WDS Team"
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "${sVersionFull}"
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "${sVersionS}"
VIAddVersionKey /LANG=${LANG_ENGLISH} "InternalName" "WDS Setup"