Updated Build Files to match build changes

This commit is contained in:
Derick Payne 2017-08-09 22:15:56 +02:00
parent 32eb85068d
commit be9e397edd
5 changed files with 20 additions and 20 deletions

View File

@ -25,8 +25,8 @@ IF /I "%~1" == "/?" GOTO SHOWHELP
rem IF EXIST "%~dp0..\signinfo_notepad3.txt" SET "SIGN=True"
SET INPUTDIRx86=bin\Release_x86
SET INPUTDIRx64=bin\Release_x64
SET INPUTDIRx86=bin\Release_x86_v141_xp
SET INPUTDIRx64=bin\Release_x64_v141_xp
SET "TEMP_NAME=temp_zip"
IF NOT EXIST "..\%INPUTDIRx86%\Notepad3.exe" CALL :SUBMSG "ERROR" "Compile Notepad3 x86 first!"

Binary file not shown.

Binary file not shown.

View File

@ -12,23 +12,23 @@
#define bindir "..\Bin"
#ifnexist bindir + "\Release_x86\Notepad3.exe"
#ifnexist bindir + "\Release_x86_v141_xp\Notepad3.exe"
#error Compile Notepad3 x86 first
#endif
#ifnexist bindir + "\Release_x86\minipath.exe"
#ifnexist bindir + "\Release_x86_v141_xp\minipath.exe"
#error Compile MiniPath x86 first
#endif
#ifnexist bindir + "\Release_x64\Notepad3.exe"
#ifnexist bindir + "\Release_x64_v141_xp\Notepad3.exe"
#error Compile Notepad3 x64 first
#endif
#ifnexist bindir + "\Release_x64\minipath.exe"
#ifnexist bindir + "\Release_x64_v141_xp\minipath.exe"
#error Compile MiniPath x64 first
#endif
#define app_version GetFileVersion(bindir + "\Release_x86\Notepad3.exe")
#define app_version GetFileVersion(bindir + "\Release_x86_v141_xp\Notepad3.exe")
#define app_name "Notepad3"
#define app_copyright "Copyright © 2008-2016, Rizonesoft."
#define quick_launch "{userappdata}\Microsoft\Internet Explorer\Quick Launch"
@ -116,13 +116,13 @@ Name: remove_default; Description: {cm:tsk_RemoveDefault}; GroupDescript
[Files]
Source: {#bindir}\Release_x64\Notepad3.exe; DestDir: {app}; Flags: ignoreversion; Check: Is64BitInstallMode()
Source: {#bindir}\Release_x86\Notepad3.exe; DestDir: {app}; Flags: ignoreversion; Check: not Is64BitInstallMode()
Source: {#bindir}\Release_x64_v141_xp\Notepad3.exe; DestDir: {app}; Flags: ignoreversion; Check: Is64BitInstallMode()
Source: {#bindir}\Release_x86_v141_xp\Notepad3.exe; DestDir: {app}; Flags: ignoreversion; Check: not Is64BitInstallMode()
Source: License.txt; DestDir: {app}; Flags: ignoreversion
Source: Readme.txt; DestDir: {app}; Flags: ignoreversion
Source: Notepad3.ini; DestDir: {userappdata}\Rizonesoft\Notepad3; Flags: onlyifdoesntexist uninsneveruninstall
Source: {#bindir}\Release_x64\minipath.exe; DestDir: {app}; Flags: ignoreversion; Check: Is64BitInstallMode()
Source: {#bindir}\Release_x86\minipath.exe; DestDir: {app}; Flags: ignoreversion; Check: not Is64BitInstallMode()
Source: {#bindir}\Release_x64_v141_xp\minipath.exe; DestDir: {app}; Flags: ignoreversion; Check: Is64BitInstallMode()
Source: {#bindir}\Release_x86_v141_xp\minipath.exe; DestDir: {app}; Flags: ignoreversion; Check: not Is64BitInstallMode()
Source: minipath.ini; DestDir: {userappdata}\Rizonesoft\Notepad3; Flags: onlyifdoesntexist uninsneveruninstall
[Dirs]

View File

@ -12,23 +12,23 @@
#define bindir "..\Bin"
#ifnexist bindir + "\Release_x86\Notepad3.exe"
#ifnexist bindir + "\Release_x86_v141_xp\Notepad3.exe"
#error Compile Notepad3 x86 first
#endif
#ifnexist bindir + "\Release_x86\minipath.exe"
#ifnexist bindir + "\Release_x86_v141_xp\minipath.exe"
#error Compile MiniPath x86 first
#endif
#ifnexist bindir + "\Release_x64\Notepad3.exe"
#ifnexist bindir + "\Release_x64_v141_xp\Notepad3.exe"
#error Compile Notepad3 x64 first
#endif
#ifnexist bindir + "\Release_x64\minipath.exe"
#ifnexist bindir + "\Release_x64_v141_xp\minipath.exe"
#error Compile MiniPath x64 first
#endif
#define app_version GetFileVersion(bindir + "\Release_x86\Notepad3.exe")
#define app_version GetFileVersion(bindir + "\Release_x86_v141_xp\Notepad3.exe")
#define app_name "Notepad3"
#define app_copyright "Copyright © 2008-2016, Rizonesoft."
#define quick_launch "{userappdata}\Microsoft\Internet Explorer\Quick Launch"
@ -112,13 +112,13 @@ Name: reset_settings; Description: {cm:tsk_ResetSettings}; GroupDescript
[Files]
Source: {#bindir}\Release_x64\Notepad3.exe; DestDir: {app}; Flags: ignoreversion; Check: Is64BitInstallMode()
Source: {#bindir}\Release_x86\Notepad3.exe; DestDir: {app}; Flags: ignoreversion; Check: not Is64BitInstallMode()
Source: {#bindir}\Release_x64_v141_xp\Notepad3.exe; DestDir: {app}; Flags: ignoreversion; Check: Is64BitInstallMode()
Source: {#bindir}\Release_x86_v141_xp\Notepad3.exe; DestDir: {app}; Flags: ignoreversion; Check: not Is64BitInstallMode()
Source: License.txt; DestDir: {app}; Flags: ignoreversion
Source: Readme.txt; DestDir: {app}; Flags: ignoreversion
Source: Notepad3.ini; DestDir: {userappdata}\Rizonesoft\Notepad3; Flags: onlyifdoesntexist uninsneveruninstall
Source: {#bindir}\Release_x64\minipath.exe; DestDir: {app}; Flags: ignoreversion; Check: Is64BitInstallMode()
Source: {#bindir}\Release_x86\minipath.exe; DestDir: {app}; Flags: ignoreversion; Check: not Is64BitInstallMode()
Source: {#bindir}\Release_x64_v141_xp\minipath.exe; DestDir: {app}; Flags: ignoreversion; Check: Is64BitInstallMode()
Source: {#bindir}\Release_x86_v141_xp\minipath.exe; DestDir: {app}; Flags: ignoreversion; Check: not Is64BitInstallMode()
Source: minipath.ini; DestDir: {userappdata}\Rizonesoft\Notepad3; Flags: onlyifdoesntexist uninsneveruninstall
[Dirs]