+ chg: adapt PortableApps creator script to MUI structure

This commit is contained in:
Rainer Kottenhoff 2018-05-16 11:46:06 +02:00
parent eb37a787ff
commit 3bb1d50820
9 changed files with 37 additions and 14 deletions

View File

@ -1,6 +1,6 @@
;Full details: http://portableapps.com/manuals/PortableApps.comLauncher/
[Launch]
ProgramExecutable=Notepad3\Notepad3.exe
ProgramExecutable=Notepad3\x86\Notepad3.exe
ProgramExecutable64=Notepad3\x64\Notepad3.exe
DirectoryMoveOK=yes
SupportsUNC=yes

View File

@ -5,6 +5,11 @@
[CopyLocalFiles]
[DownloadFiles]
[Languages]
ENGLISH=true
ENGLISHGB=true
AFRIKAANS=true
FRENCH=true
GERMAN=true
[DirectoriesToPreserve]
[DirectoriesToRemove]
[FilesToPreserve]

View File

@ -66,9 +66,9 @@
;CustomCodeUses7zip=
[Languages]
;ENGLISH=true
;ENGLISHGB=true
;AFRIKAANS=true
ENGLISH=true
ENGLISHGB=true
AFRIKAANS=true
;ALBANIAN=true
;ARABIC=true
;ARMENIAN=true
@ -88,10 +88,10 @@
;ESTONIAN=true
;FARSI=true
;FINNISH=true
;FRENCH=true
FRENCH=true
;GALICIAN=true
;GEORGIAN=true
;GERMAN=true
GERMAN=true
;GREEK=true
;HEBREW=true
;HUNGARIAN=true

View File

@ -23,16 +23,16 @@
Name "Notepad3"
OutFile "Notepad3.exe"
Caption "Notepad3 | PortableApps.com"
VIProductVersion "2.0.2.436"
VIProductVersion "4.18.516.992"
VIAddVersionKey ProductName "Notepad3"
VIAddVersionKey Comments "A notepad replacement"
VIAddVersionKey CompanyName "Rizonesoft"
VIAddVersionKey LegalCopyright "Derick Payne"
VIAddVersionKey FileDescription "Based on code from Notepad2, ® Florian Balmer 1996-2011"
VIAddVersionKey FileVersion "2.0.2.436"
VIAddVersionKey ProductVersion "2.0.2.436"
VIAddVersionKey FileVersion "4.18.516.992"
VIAddVersionKey ProductVersion "4.18.516.992"
VIAddVersionKey InternalName "Notepad3"
VIAddVersionKey LegalTrademarks "Rizonesoft® 2008-2016"
VIAddVersionKey LegalTrademarks "Rizonesoft® 2008-2018"
VIAddVersionKey OriginalFilename "Notepad3.exe"
;VIAddVersionKey PrivateBuild ""
;VIAddVersionKey SpecialBuild ""

View File

@ -35,6 +35,8 @@ set PORTAPP_APP_COMPACTOR=%PORTAPP_ROOT_DIR%\PortableApps.comAppCompactor\Portab
set PORTAPP_LAUNCHER_CREATOR=%PORTAPP_ROOT_DIR%\PortableApps.comLauncher\PortableApps.comLauncherGenerator.exe
set PORTAPP_INSTALLER_CREATOR=%PORTAPP_ROOT_DIR%\PortableApps.comInstaller\PortableApps.comInstaller.exe
set NP3_LANGUAGE_SET=af-AF de-DE en-UK es-ES fr-FR
set NP3_DISTRIB_DIR=%SCRIPT_DIR%..\Build
set NP3_WIN32_DIR=%SCRIPT_DIR%..\Bin\Release_x86_v141
set NP3_X64_DIR=%SCRIPT_DIR%..\Bin\Release_x64_v141
@ -75,20 +77,36 @@ if defined FILEVER set VERSION=%FILEVER%
copy "%NP3_DISTRIB_DIR%\Notepad3.ini" "%NP3_PORTAPP_DIR%\App\DefaultData\settings\Notepad3.ini" /Y /V
copy "%NP3_DISTRIB_DIR%\minipath.ini" "%NP3_PORTAPP_DIR%\App\DefaultData\settings\minipath.ini" /Y /V
copy /B "%NP3_WIN32_DIR%\Notepad3.exe" /B "%NP3_PORTAPP_DIR%\App\Notepad3\" /Y /V
copy /B "%NP3_WIN32_DIR%\minipath.exe" /B "%NP3_PORTAPP_DIR%\App\Notepad3\" /Y /V
copy /B "%NP3_WIN32_DIR%\np3encrypt.exe" /B "%NP3_PORTAPP_DIR%\App\Notepad3\" /Y /V
copy /B "%NP3_WIN32_DIR%\ced.exe" /B "%NP3_PORTAPP_DIR%\App\Notepad3\" /Y /V
for /d %%d in (%NP3_LANGUAGE_SET%) do (
mkdir "%NP3_PORTAPP_DIR%\App\Notepad3\x86\%%d"
copy /B "%NP3_WIN32_DIR%\%%d\*" /B "%NP3_PORTAPP_DIR%\App\Notepad3\x86\%%d\" /Y /V
)
copy /B "%NP3_WIN32_DIR%\np3lng.dll" /B "%NP3_PORTAPP_DIR%\App\Notepad3\x86\" /Y /V
copy /B "%NP3_WIN32_DIR%\Notepad3.exe" /B "%NP3_PORTAPP_DIR%\App\Notepad3\x86\" /Y /V
copy /B "%NP3_WIN32_DIR%\minipath.exe" /B "%NP3_PORTAPP_DIR%\App\Notepad3\x86\" /Y /V
copy /B "%NP3_WIN32_DIR%\np3encrypt.exe" /B "%NP3_PORTAPP_DIR%\App\Notepad3\x86\" /Y /V
copy /B "%NP3_WIN32_DIR%\ced.exe" /B "%NP3_PORTAPP_DIR%\App\Notepad3\x86\" /Y /V
::copy /B "%NP3_DISTRIB_DIR%\Update\wyUpdate\86\client.wyc" /B "%NP3_PORTAPP_DIR%\App\Notepad3\" /Y /V
::copy /B "%NP3_DISTRIB_DIR%\Update\wyUpdate\86\wyUpdate.exe" /B "%NP3_PORTAPP_DIR%\App\Notepad3\" /Y /V
for /d %%d in (%NP3_LANGUAGE_SET%) do (
mkdir "%NP3_PORTAPP_DIR%\App\Notepad3\x64\%%d"
copy /B "%NP3_X64_DIR%\%%d\*" /B "%NP3_PORTAPP_DIR%\App\Notepad3\x64\%%d\" /Y /V
)
copy /B "%NP3_X64_DIR%\np3lng.dll" /B "%NP3_PORTAPP_DIR%\App\Notepad3\x64\" /Y /V
copy /B "%NP3_X64_DIR%\Notepad3.exe" /B "%NP3_PORTAPP_DIR%\App\Notepad3\x64\" /Y /V
copy /B "%NP3_X64_DIR%\minipath.exe" /B "%NP3_PORTAPP_DIR%\App\Notepad3\x64\" /Y /V
copy /B "%NP3_X64_DIR%\np3encrypt.exe" /B "%NP3_PORTAPP_DIR%\App\Notepad3\x64\" /Y /V
copy /B "%NP3_X64_DIR%\ced.exe" /B "%NP3_PORTAPP_DIR%\App\Notepad3\x64\" /Y /V
::copy /B "%NP3_DISTRIB_DIR%\Update\wyUpdate\64\client.wyc" /B "%NP3_PORTAPP_DIR%\App\Notepad3\x64\" /Y /V
::copy /B "%NP3_DISTRIB_DIR%\Update\wyUpdate\64\wyUpdate.exe" /B "%NP3_PORTAPP_DIR%\App\Notepad3\x64\" /Y /V
call :REPLACE "xxxVERSIONxxx" "%NP3_PORTAPP_INFO%_template.ini" "%VERSION%" "%NP3_PORTAPP_INFO%_tmp.ini"
:: DEVNAME need some mor PortableApps preparation, so set empty for now