diff options
Diffstat (limited to 'setup')
-rw-r--r-- | setup/GatherFilesAndCreateSetup.cmd | 8 | ||||
-rw-r--r-- | setup/WDS.nsi | 4 |
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" |