From 042f1e36db9da2b5585d762601517c690918656b Mon Sep 17 00:00:00 2001 From: Pairi Daiza Date: Wed, 11 Aug 2021 21:27:37 +0200 Subject: [PATCH] +Add: support for "Notepad3 Replacement" for Windows 11 Insider Preview (22000.120) --- Build/Tools/Add Open with Notepad3.zip | Bin 7065 -> 7065 bytes Build/Tools/Replace with Notepad3.zip | Bin 987 -> 2354 bytes Build/notepad3_setup.iss | 517 +++++++++++++++---------- Build/notepad3_x86_setup.iss | 405 +++++++++++-------- 4 files changed, 560 insertions(+), 362 deletions(-) diff --git a/Build/Tools/Add Open with Notepad3.zip b/Build/Tools/Add Open with Notepad3.zip index a12084d3b344d3464a9e3ed6b18ce9ce3996778d..b72e7b5213ce47bf6281570e1ad7d86448f20d3f 100644 GIT binary patch delta 168 zcmbPfKGU2pz?+#xgn@y9gJDfKcko6&Rz{Y!K*nTo#vLq6fsD)#>euCYx?YYj*eMq^V9vSYHkw2RmxqYDc` SiedD-mo2l8_Dyb-mH+?^Dm-HV delta 168 zcmbPfKGU2pz?+#xgn@y9gJJRFtw9_4SQ%MX0~wRW8F#RpShO{0^JT_T2^NstWFILP zjoYlr`uTp>8F#*Q$twWT%NZ@fbbvP_lRN{&Ah7-&QtleM!Wx!@6oc%TtS;>$*4B00 ZDi3I4&5s8?Ad|J;_jVTeO>UHy004z?Iwt@C diff --git a/Build/Tools/Replace with Notepad3.zip b/Build/Tools/Replace with Notepad3.zip index 0c0e3353e273b159ec6ca28cb966e8cbe03a5531..5776bc01c018b27c368cc136a51b8b010c00cd4d 100644 GIT binary patch literal 2354 zcmaJ@2{aUH8=ep%J5vfnL$(YmN;9MxWf{g~%{qq0SQ}Tkni(aoY@wvMZnDb~vWz8L zL}VYv*eQ`Eb4`{(8h+jL_y3*yFW-00_ni0rzW001`QGoG=RqSmxx@hg056~=mf!N% z`puChZU6w{4FE{)XDx7kK3F%L?5~~y9~6t&Z{ABgLtpuNwnQ4s!mJWaPy_Ra0-^$$+?WS*9U#7 zj!o9wW0N=qVW9%xV2&dy{b70&u4(+1DX;M_JY9>z)30pRax}T_a5+eS`xcrml)-mF zukl{#!Z!5V;T6AbLjOIn^O0^ft%hRhzBz0ekgZGe<`!AVEoTF8&VVi0t6Ku3$1xic z7}B#&2*Hpo{&Z0E8*?VuBLg=Ze4qB#F9Ak03S4@(0-4Rb1ukt?=uv-J9hXZwA8y%i z^aNlSl4RknP!iXFEE6Po8$)P;#SWw5{gid)Z-L46Dw(mLFxKd&Zmf)*; zp5>Jp(brLTBU9a|=Rx@5#G8kM0QGA$#T|bb3spAJ_NCf@#9{xZa~%%`*44;zR?Xj& zUOW>j(gv(JTtQW%dol&b^}tQKl_oq6plE3JkQ~W+VMB}#wJOhqd)VJa>Bl{mEUxj9 zN|59W=#LLMN@U?_(&cz^)nT&L!EG&}+8U?4yAr;^Ck(2o@xfPV> zL{y1i#^1}T;AqpdZ;nDg-C(PbWud2!J8>HkjT@v^$5oCZSF4g|Z<`oV?e4Dm8TXQN zN%AE1cJ{Lqmb1ETMt_uO#6nE;oKv&zp8z$XV$2QX1lrcEvcFsxfe7}i$|&dcc|_b{ z1~=wWHWM{GO;V^~A|Elg zhX6-!9`9SK4Jl~NBpW|H7M5(#;6S6KYp~Gv1irIvwS|Y)Kdu%JBibvcF1|jC2Tf)Z z6gn-tJ``{&t4}E=smEbHhn>T(c^EQ1D2Dw*G9MyVM5HK&=#HJNP2Tu1u#&l2j|_Iy z+xhdPnL(*t=avIg(W#xLJn)UBu{#!ELlc_0&J!aI>Z|3^iCR{P&mld?X$a59AXMfK zEb#9rGH?c}H2jQm5@8p0G6ovxc{uv2Bd0FbN88MRteIO?(6>-&Bu1@{7xj?IY0X3H zjdnPjym)sU-=h76uken|3t#BPe?x|2 zoZw9J)H3(HvP|+-6^exXNHWVfhB0XrfI-BT%iHa`9WPPtby!z>e5WX6b#;gSFthWt zLVJ?BRwhuj!_7zZNe%p&lmDmn_OQj~(_(g|Vl=ElJ-gey#8A>5fvBx)t*^^>q%QYq zOATl}x+uI-x6q}1`%ifCQsWo@R5p30r2Qj7Lur0kzmG6rUE%ZFa+XUeYsudm}_ z733?aJzdFaC>T_sS>d^O&8(86MUDJM%yP}FI50W5cMsW;JG8E(4axmOAOblafo!zB z{w6nYqAr{FDj}J>X*p3grC7rhdo2qy8}4en2_P>1vN9c#FU6~U>QI<~M3^!cay^zT zd}`a-wJqw-ZN-YqS1qM)OeHPn!rw@k4FY?2($J z8`|O!-y@K1=Q6XJ)?Ccr(rPTmtr{y+$C*uc=f7?3SD+lnlHRWF`RQ;cE3saSc$G3K zh%@ut#FKkGrmK6`D#J0Ep31xPSS=Y;FKlbkZx^Zs@J-&dbIlOAkYB-fP)hN0RE+VHvc zf19^sUgQErm|P}{kd?|@HGOkz!jCGCwVur|Ha;}GT{oRQcFe2L?`e+N=Z7but`yD>>Lq5h~1lPTX9gW+zOiYa(MYs$*1&@q|& z5VFi?Im{8C3=xm0yi&_`jwQFE!)9gr+43NU6~iu4qn>GqJ(J&P${MWA=3mpTj;E@_ z_R`%Vr`{zr@(|xT!G|u%;aFu2S(HA>H0!k>`sN-xuClKxTZ}HWuK3motz+~2ZOKA{ zH>L0rSdB4s<$^`E#7|g8uF&2FPJaPbV6kwfH)zTI} zeBcK@dJ3-l9{)`BpZ)upinZ@$EO7s=n?Lg;>8ZATzxN0Jo9Ezu{r??1G7 z;j6!<;~tA+k(OtATa-|4$IGRMUY?wLaXx?i-#qKneO`-tQg7UyIXC^;%(-`;FW=@i zYsGqxa<3;V7CJDObf$HEZCKV*dPFbj{R^3DAfxV3oj+@?@wKgKPlMd8jy-pht^5=k zGC9!AD&e}Mu4JxKX}#~kSu1icwtw2Zf-UxlOu~Di>ggPf?n0r9cJC$v&~I@_qB$C)15ay&3#%`66eX@ z7JEDMr1?($u;=f!AE()xoT zzS{EtH?KA8KgvhEiFkKvcUkxJKT$Wu1H|D`GXoekAqMB0xq(r0jA=3-yIg&|_hAQt zBhMp0Sj*UPi8|JNS-51X*k!jYLlNbr^+{3}mc%H%njT&sxhlZ%N|TItUil{D;_C0; zq_o2qF7>iqIq9;;N~5f)S(SSOUN${TQQdjjbO-y{liZ(zWna$Ny56>1dh3^?B2)nwco!s?Cx3RteF07<=#cdo;RKQ_4%#I_y2!;bLPKw zko{Jy`pfw7w~%u?=Cf6^2Y53w$unR}#FLXbEM2TWuD37nyUqxsoB2bHKzw9vr~%Bt wAjY5q%o8A>0K}UaCqLj&(NjB};RMnMqi+?4Lk(hO11V(!!plJV6BCFB08@*KH2?qr diff --git a/Build/notepad3_setup.iss b/Build/notepad3_setup.iss index 3e9fb53cb..396557a49 100644 --- a/Build/notepad3_setup.iss +++ b/Build/notepad3_setup.iss @@ -28,12 +28,11 @@ #error Compile MiniPath x64 first #endif -#define app_name "Notepad3" +#define app_name "Notepad3" #define app_publisher "Rizonesoft" -#define app_version GetFileVersion(bindir + "\Release_x86_v142\Notepad3.exe") +#define app_version GetVersionNumbersString(bindir + "\Release_x86_v142\Notepad3.exe") #define app_copyright "Copyright © 2008-2021 Rizonesoft" -#define quick_launch "{userappdata}\Microsoft\Internet Explorer\Quick Launch" - +#define quick_launch "{userappdata}\Microsoft\Internet Explorer\Quick Launch" [Setup] AppId={#app_name} @@ -75,217 +74,317 @@ SignTool=MySignTool CloseApplications=true SetupMutex='{#app_name}' + '_setup_mutex' - [Languages] -Name: en; MessagesFile: compiler:Default.isl - +Name: "en"; MessagesFile: "compiler:Default.isl" [Messages] -SetupAppTitle =Setup - {#app_name} -SetupWindowTitle =Setup - {#app_name} - +SetupAppTitle=Setup - {#app_name} +SetupWindowTitle=Setup - {#app_name} [CustomMessages] -en.msg_AppIsRunning =Setup has detected that {#app_name} is currently running.%n%nPlease close all instances of it now, then click OK to continue, or Cancel to exit. -en.msg_AppIsRunningUninstall =Uninstall has detected that {#app_name} is currently running.%n%nPlease close all instances of it now, then click OK to continue, or Cancel to exit. -en.msg_DeleteSettings =Do you also want to delete {#app_name}'s settings?%n%nIf you plan on installing {#app_name} again then you do not have to delete them. +en.msg_AppIsRunning=Setup has detected that {#app_name} is currently running.%n%nPlease close all instances of it now, then click OK to continue, or Cancel to exit. +en.msg_AppIsRunningUninstall=Uninstall has detected that {#app_name} is currently running.%n%nPlease close all instances of it now, then click OK to continue, or Cancel to exit. +en.msg_DeleteSettings=Do you also want to delete {#app_name}'s settings?%n%nIf you plan on installing {#app_name} again then you do not have to delete them. #if defined(sse_required) -en.msg_simd_sse =This build of {#app_name} requires a CPU with SSE extension support.%n%nYour CPU does not have those capabilities. +en.msg_simd_sse=This build of {#app_name} requires a CPU with SSE extension support.%n%nYour CPU does not have those capabilities. #elif defined(sse2_required) -en.msg_simd_sse2 =This build of {#app_name} requires a CPU with SSE2 extension support.%n%nYour CPU does not have those capabilities. +en.msg_simd_sse2=This build of {#app_name} requires a CPU with SSE2 extension support.%n%nYour CPU does not have those capabilities. #endif -en.tsk_AllUsers =For all users -en.tsk_CurrentUser =For the current user only -en.tsk_Other =Other tasks: -en.tsk_ResetSettings =Reset {#app_name}'s settings -en.tsk_RemoveDefault =Restore Windows Notepad -en.tsk_SetDefault =Replace Windows Notepad with {#app_name} -en.tsk_StartMenuIcon =Create a Start Menu shortcut -en.tsk_LaunchWelcomePage =Important Release Information! -en.tsk_RemoveOpenWith =Remove "Open with {#app_name}" from the context menu -en.tsk_SetOpenWith =Add "Open with {#app_name}" to the context menu - +en.tsk_AllUsers=For all users +en.tsk_CurrentUser=For the current user only +en.tsk_Other=Other tasks: +en.tsk_ResetSettings=Reset {#app_name}'s settings +en.tsk_RemoveDefault=Restore Windows Notepad +en.tsk_SetDefault=Replace Windows Notepad with {#app_name} +en.tsk_StartMenuIcon=Create a Start Menu shortcut +en.tsk_LaunchWelcomePage=Important Release Information! +en.tsk_RemoveOpenWith=Remove "Open with {#app_name}" from the context menu +en.tsk_SetOpenWith=Add "Open with {#app_name}" to the context menu [Tasks] -Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked -Name: desktopicon\user; Description: {cm:tsk_CurrentUser}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked exclusive -Name: desktopicon\common; Description: {cm:tsk_AllUsers}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked exclusive -Name: startup_icon; Description: {cm:tsk_StartMenuIcon}; GroupDescription: {cm:AdditionalIcons} -Name: quicklaunchicon; Description: {cm:CreateQuickLaunchIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked; OnlyBelowVersion: 6.01 -Name: reset_settings; Description: {cm:tsk_ResetSettings}; GroupDescription: {cm:tsk_Other}; Flags: checkedonce unchecked; Check: SettingsExistCheck() -Name: set_default; Description: {cm:tsk_SetDefault}; GroupDescription: {cm:tsk_Other}; Check: not DefaulNotepadCheck() -Name: remove_default; Description: {cm:tsk_RemoveDefault}; GroupDescription: {cm:tsk_Other}; Flags: checkedonce unchecked; Check: DefaulNotepadCheck() -Name: set_openwith; Description: {cm:tsk_SetOpenWith}; GroupDescription: {cm:tsk_Other}; Check: not OpenWithCheck() -Name: remove_openwith; Description: {cm:tsk_RemoveOpenWith}; GroupDescription: {cm:tsk_Other}; Flags: checkedonce unchecked; Check: OpenWithCheck() - +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked +Name: "desktopicon\user"; Description: "{cm:tsk_CurrentUser}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked exclusive +Name: "desktopicon\common"; Description: "{cm:tsk_AllUsers}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked exclusive +Name: "startup_icon"; Description: "{cm:tsk_StartMenuIcon}"; GroupDescription: "{cm:AdditionalIcons}" +Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 6.01 +Name: "reset_settings"; Description: "{cm:tsk_ResetSettings}"; GroupDescription: "{cm:tsk_Other}"; Flags: checkedonce unchecked; Check: SettingsExistCheck() +Name: "set_default"; Description: "{cm:tsk_SetDefault}"; GroupDescription: "{cm:tsk_Other}"; Check: not DefaulNotepadCheck() +Name: "remove_default"; Description: "{cm:tsk_RemoveDefault}"; GroupDescription: "{cm:tsk_Other}"; Flags: checkedonce unchecked; Check: DefaulNotepadCheck() +Name: "set_openwith"; Description: "{cm:tsk_SetOpenWith}"; GroupDescription: "{cm:tsk_Other}"; Check: not OpenWithCheck() +Name: "remove_openwith"; Description: "{cm:tsk_RemoveOpenWith}"; GroupDescription: "{cm:tsk_Other}"; Flags: checkedonce unchecked; Check: OpenWithCheck() [Files] -Source: {#bindir}\Release_x64_v142\Notepad3.exe; DestDir: {app}; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\minipath.exe; DestDir: {app}; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\grepWinNP3.exe; DestDir: {app}; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\Notepad3.exe; DestDir: {app}; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\minipath.exe; DestDir: {app}; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\grepWinNP3.exe; DestDir: {app}; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: "..\License.txt"; DestDir: {app}; Flags: ignoreversion -Source: "..\Readme.txt"; DestDir: {app}; Flags: ignoreversion -Source: "..\grepWinNP3\grepWinLicense.txt"; DestDir: {app}; Flags: ignoreversion; -Source: "..\grepWinNP3\translationsNP3\*.lang"; DestDir: {app}\lng\gwLng; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: "..\grepWinNP3\translationsNP3\*.lang"; DestDir: {app}\lng\gwLng; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: Notepad3.ini; DestDir: {userappdata}\Rizonesoft\Notepad3; Flags: onlyifdoesntexist uninsneveruninstall -Source: minipath.ini; DestDir: {userappdata}\Rizonesoft\Notepad3; Flags: onlyifdoesntexist uninsneveruninstall -Source: themes\Dark.ini; DestDir: {userappdata}\Rizonesoft\Notepad3\themes; Flags: onlyifdoesntexist uninsneveruninstall -Source: themes\Obsidian.ini; DestDir: {userappdata}\Rizonesoft\Notepad3\themes; Flags: onlyifdoesntexist uninsneveruninstall -Source: {#bindir}\Release_x64_v142\lng\mplng.dll; DestDir: {app}\lng; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\np3lng.dll; DestDir: {app}\lng; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\af-ZA\mplng.dll.mui; DestDir: {app}\lng\af-ZA; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\af-ZA\np3lng.dll.mui; DestDir: {app}\lng\af-ZA; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\be-BY\mplng.dll.mui; DestDir: {app}\lng\be-BY; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\be-BY\np3lng.dll.mui; DestDir: {app}\lng\be-BY; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\de-DE\mplng.dll.mui; DestDir: {app}\lng\de-DE; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\de-DE\np3lng.dll.mui; DestDir: {app}\lng\de-DE; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\el-GR\mplng.dll.mui; DestDir: {app}\lng\el-GR; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\el-GR\np3lng.dll.mui; DestDir: {app}\lng\el-GR; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\en-GB\mplng.dll.mui; DestDir: {app}\lng\en-GB; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\en-GB\np3lng.dll.mui; DestDir: {app}\lng\en-GB; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\es-419\mplng.dll.mui; DestDir: {app}\lng\es-419; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\es-419\np3lng.dll.mui; DestDir: {app}\lng\es-419; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\es-ES\mplng.dll.mui; DestDir: {app}\lng\es-ES; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\es-ES\np3lng.dll.mui; DestDir: {app}\lng\es-ES; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\fr-FR\mplng.dll.mui; DestDir: {app}\lng\fr-FR; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\fr-FR\np3lng.dll.mui; DestDir: {app}\lng\fr-FR; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\hi-IN\mplng.dll.mui; DestDir: {app}\lng\hi-IN; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\hi-IN\np3lng.dll.mui; DestDir: {app}\lng\hi-IN; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\hu-HU\mplng.dll.mui; DestDir: {app}\lng\hu-HU; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\hu-HU\np3lng.dll.mui; DestDir: {app}\lng\hu-HU; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\id-ID\mplng.dll.mui; DestDir: {app}\lng\id-ID; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\id-ID\np3lng.dll.mui; DestDir: {app}\lng\id-ID; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\it-IT\mplng.dll.mui; DestDir: {app}\lng\it-IT; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\it-IT\np3lng.dll.mui; DestDir: {app}\lng\it-IT; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\ja-JP\mplng.dll.mui; DestDir: {app}\lng\ja-JP; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\ja-JP\np3lng.dll.mui; DestDir: {app}\lng\ja-JP; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\ko-KR\mplng.dll.mui; DestDir: {app}\lng\ko-KR; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\ko-KR\np3lng.dll.mui; DestDir: {app}\lng\ko-KR; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\nl-NL\mplng.dll.mui; DestDir: {app}\lng\nl-NL; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\nl-NL\np3lng.dll.mui; DestDir: {app}\lng\nl-NL; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\pl-PL\mplng.dll.mui; DestDir: {app}\lng\pl-PL; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\pl-PL\np3lng.dll.mui; DestDir: {app}\lng\pl-PL; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\pt-BR\mplng.dll.mui; DestDir: {app}\lng\pt-BR; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\pt-BR\np3lng.dll.mui; DestDir: {app}\lng\pt-BR; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\pt-PT\mplng.dll.mui; DestDir: {app}\lng\pt-PT; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\pt-PT\np3lng.dll.mui; DestDir: {app}\lng\pt-PT; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\ru-RU\mplng.dll.mui; DestDir: {app}\lng\ru-RU; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\ru-RU\np3lng.dll.mui; DestDir: {app}\lng\ru-RU; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\sk-SK\mplng.dll.mui; DestDir: {app}\lng\sk-SK; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\sk-SK\np3lng.dll.mui; DestDir: {app}\lng\sk-SK; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\sv-SE\mplng.dll.mui; DestDir: {app}\lng\sv-SE; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\sv-SE\np3lng.dll.mui; DestDir: {app}\lng\sv-SE; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\tr-TR\mplng.dll.mui; DestDir: {app}\lng\tr-TR; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\tr-TR\np3lng.dll.mui; DestDir: {app}\lng\tr-TR; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\vi-VN\mplng.dll.mui; DestDir: {app}\lng\vi-VN; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\vi-VN\np3lng.dll.mui; DestDir: {app}\lng\vi-VN; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\zh-CN\mplng.dll.mui; DestDir: {app}\lng\zh-CN; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\zh-CN\np3lng.dll.mui; DestDir: {app}\lng\zh-CN; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\zh-TW\mplng.dll.mui; DestDir: {app}\lng\zh-TW; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x64_v142\lng\zh-TW\np3lng.dll.mui; DestDir: {app}\lng\zh-TW; Flags: ignoreversion; Check: Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\mplng.dll; DestDir: {app}\lng; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\np3lng.dll; DestDir: {app}\lng; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\af-ZA\mplng.dll.mui; DestDir: {app}\lng\af-ZA; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\af-ZA\np3lng.dll.mui; DestDir: {app}\lng\af-ZA; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\be-BY\mplng.dll.mui; DestDir: {app}\lng\be-BY; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\be-BY\np3lng.dll.mui; DestDir: {app}\lng\be-BY; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\de-DE\mplng.dll.mui; DestDir: {app}\lng\de-DE; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\de-DE\np3lng.dll.mui; DestDir: {app}\lng\de-DE; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\el-GR\mplng.dll.mui; DestDir: {app}\lng\el-GR; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\el-GR\np3lng.dll.mui; DestDir: {app}\lng\el-GR; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\en-GB\mplng.dll.mui; DestDir: {app}\lng\en-GB; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\en-GB\np3lng.dll.mui; DestDir: {app}\lng\en-GB; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\es-419\mplng.dll.mui; DestDir: {app}\lng\es-419; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\es-419\np3lng.dll.mui; DestDir: {app}\lng\es-419; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\es-ES\mplng.dll.mui; DestDir: {app}\lng\es-ES; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\es-ES\np3lng.dll.mui; DestDir: {app}\lng\es-ES; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\fr-FR\mplng.dll.mui; DestDir: {app}\lng\fr-FR; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\fr-FR\np3lng.dll.mui; DestDir: {app}\lng\fr-FR; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\hi-IN\mplng.dll.mui; DestDir: {app}\lng\hi-IN; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\hi-IN\np3lng.dll.mui; DestDir: {app}\lng\hi-IN; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\hu-HU\mplng.dll.mui; DestDir: {app}\lng\hu-HU; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\hu-HU\np3lng.dll.mui; DestDir: {app}\lng\hu-HU; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\id-ID\mplng.dll.mui; DestDir: {app}\lng\id-ID; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\id-ID\np3lng.dll.mui; DestDir: {app}\lng\id-ID; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\it-IT\mplng.dll.mui; DestDir: {app}\lng\it-IT; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\it-IT\np3lng.dll.mui; DestDir: {app}\lng\it-IT; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\ja-JP\mplng.dll.mui; DestDir: {app}\lng\ja-JP; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\ja-JP\np3lng.dll.mui; DestDir: {app}\lng\ja-JP; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\ko-KR\mplng.dll.mui; DestDir: {app}\lng\ko-KR; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\ko-KR\np3lng.dll.mui; DestDir: {app}\lng\ko-KR; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\nl-NL\mplng.dll.mui; DestDir: {app}\lng\nl-NL; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\nl-NL\np3lng.dll.mui; DestDir: {app}\lng\nl-NL; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\pl-PL\mplng.dll.mui; DestDir: {app}\lng\pl-PL; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\pl-PL\np3lng.dll.mui; DestDir: {app}\lng\pl-PL; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\pt-BR\mplng.dll.mui; DestDir: {app}\lng\pt-BR; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\pt-BR\np3lng.dll.mui; DestDir: {app}\lng\pt-BR; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\pt-PT\mplng.dll.mui; DestDir: {app}\lng\pt-PT; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\pt-PT\np3lng.dll.mui; DestDir: {app}\lng\pt-PT; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\ru-RU\mplng.dll.mui; DestDir: {app}\lng\ru-RU; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\ru-RU\np3lng.dll.mui; DestDir: {app}\lng\ru-RU; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\sk-SK\mplng.dll.mui; DestDir: {app}\lng\sk-SK; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\sk-SK\np3lng.dll.mui; DestDir: {app}\lng\sk-SK; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\sv-SE\mplng.dll.mui; DestDir: {app}\lng\sv-SE; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\sv-SE\np3lng.dll.mui; DestDir: {app}\lng\sv-SE; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\tr-TR\mplng.dll.mui; DestDir: {app}\lng\tr-TR; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\tr-TR\np3lng.dll.mui; DestDir: {app}\lng\tr-TR; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\vi-VN\mplng.dll.mui; DestDir: {app}\lng\vi-VN; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\vi-VN\np3lng.dll.mui; DestDir: {app}\lng\vi-VN; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\zh-CN\mplng.dll.mui; DestDir: {app}\lng\zh-CN; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\zh-CN\np3lng.dll.mui; DestDir: {app}\lng\zh-CN; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\zh-TW\mplng.dll.mui; DestDir: {app}\lng\zh-TW; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: {#bindir}\Release_x86_v142\lng\zh-TW\np3lng.dll.mui; DestDir: {app}\lng\zh-TW; Flags: ignoreversion; Check: not Is64BitInstallMode() -Source: Changes.txt; DestDir: {app}\Docs; Flags: ignoreversion -Source: Docs\*.txt; DestDir: {app}\Docs; Flags: ignoreversion -Source: Docs\crypto\*.txt; DestDir: {app}\Docs\crypto; Flags: ignoreversion -Source: Docs\uthash\*.txt; DestDir: {app}\Docs\uthash; Flags: ignoreversion - +Source: "{#bindir}\Release_x64_v142\Notepad3.exe"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\minipath.exe"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\grepWinNP3.exe"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\Notepad3.exe"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\minipath.exe"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\grepWinNP3.exe"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "..\License.txt"; DestDir: "{app}"; Flags: ignoreversion +Source: "..\Readme.txt"; DestDir: "{app}"; Flags: ignoreversion +Source: "..\grepWinNP3\grepWinLicense.txt"; DestDir: "{app}"; Flags: ignoreversion +Source: "..\grepWinNP3\translationsNP3\*.lang"; DestDir: "{app}\lng\gwLng"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "..\grepWinNP3\translationsNP3\*.lang"; DestDir: "{app}\lng\gwLng"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "Notepad3.ini"; DestDir: "{userappdata}\Rizonesoft\Notepad3"; Flags: onlyifdoesntexist uninsneveruninstall +Source: "minipath.ini"; DestDir: "{userappdata}\Rizonesoft\Notepad3"; Flags: onlyifdoesntexist uninsneveruninstall +Source: "Themes\Dark.ini"; DestDir: "{userappdata}\Rizonesoft\Notepad3\Themes"; Flags: ignoreversion uninsneveruninstall +Source: "Themes\Obsidian.ini"; DestDir: "{userappdata}\Rizonesoft\Notepad3\Themes"; Flags: ignoreversion uninsneveruninstall +Source: "Themes\Sombra.ini"; DestDir: "{userappdata}\Rizonesoft\Notepad3\Themes"; Flags: ignoreversion uninsneveruninstall +Source: "{#bindir}\Release_x64_v142\lng\mplng.dll"; DestDir: "{app}\lng"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\np3lng.dll"; DestDir: "{app}\lng"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\af-ZA\mplng.dll.mui"; DestDir: "{app}\lng\af-ZA"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\af-ZA\np3lng.dll.mui"; DestDir: "{app}\lng\af-ZA"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\be-BY\mplng.dll.mui"; DestDir: "{app}\lng\be-BY"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\be-BY\np3lng.dll.mui"; DestDir: "{app}\lng\be-BY"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\de-DE\mplng.dll.mui"; DestDir: "{app}\lng\de-DE"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\de-DE\np3lng.dll.mui"; DestDir: "{app}\lng\de-DE"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\el-GR\mplng.dll.mui"; DestDir: "{app}\lng\el-GR"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\el-GR\np3lng.dll.mui"; DestDir: "{app}\lng\el-GR"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\en-GB\mplng.dll.mui"; DestDir: "{app}\lng\en-GB"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\en-GB\np3lng.dll.mui"; DestDir: "{app}\lng\en-GB"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\es-419\mplng.dll.mui"; DestDir: "{app}\lng\es-419"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\es-419\np3lng.dll.mui"; DestDir: "{app}\lng\es-419"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\es-ES\mplng.dll.mui"; DestDir: "{app}\lng\es-ES"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\es-ES\np3lng.dll.mui"; DestDir: "{app}\lng\es-ES"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\fr-FR\mplng.dll.mui"; DestDir: "{app}\lng\fr-FR"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\fr-FR\np3lng.dll.mui"; DestDir: "{app}\lng\fr-FR"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\hi-IN\mplng.dll.mui"; DestDir: "{app}\lng\hi-IN"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\hi-IN\np3lng.dll.mui"; DestDir: "{app}\lng\hi-IN"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\hu-HU\mplng.dll.mui"; DestDir: "{app}\lng\hu-HU"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\hu-HU\np3lng.dll.mui"; DestDir: "{app}\lng\hu-HU"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\id-ID\mplng.dll.mui"; DestDir: "{app}\lng\id-ID"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\id-ID\np3lng.dll.mui"; DestDir: "{app}\lng\id-ID"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\it-IT\mplng.dll.mui"; DestDir: "{app}\lng\it-IT"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\it-IT\np3lng.dll.mui"; DestDir: "{app}\lng\it-IT"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\ja-JP\mplng.dll.mui"; DestDir: "{app}\lng\ja-JP"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\ja-JP\np3lng.dll.mui"; DestDir: "{app}\lng\ja-JP"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\ko-KR\mplng.dll.mui"; DestDir: "{app}\lng\ko-KR"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\ko-KR\np3lng.dll.mui"; DestDir: "{app}\lng\ko-KR"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\nl-NL\mplng.dll.mui"; DestDir: "{app}\lng\nl-NL"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\nl-NL\np3lng.dll.mui"; DestDir: "{app}\lng\nl-NL"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\pl-PL\mplng.dll.mui"; DestDir: "{app}\lng\pl-PL"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\pl-PL\np3lng.dll.mui"; DestDir: "{app}\lng\pl-PL"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\pt-BR\mplng.dll.mui"; DestDir: "{app}\lng\pt-BR"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\pt-BR\np3lng.dll.mui"; DestDir: "{app}\lng\pt-BR"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\pt-PT\mplng.dll.mui"; DestDir: "{app}\lng\pt-PT"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\pt-PT\np3lng.dll.mui"; DestDir: "{app}\lng\pt-PT"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\ru-RU\mplng.dll.mui"; DestDir: "{app}\lng\ru-RU"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\ru-RU\np3lng.dll.mui"; DestDir: "{app}\lng\ru-RU"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\sk-SK\mplng.dll.mui"; DestDir: "{app}\lng\sk-SK"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\sk-SK\np3lng.dll.mui"; DestDir: "{app}\lng\sk-SK"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\sv-SE\mplng.dll.mui"; DestDir: "{app}\lng\sv-SE"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\sv-SE\np3lng.dll.mui"; DestDir: "{app}\lng\sv-SE"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\tr-TR\mplng.dll.mui"; DestDir: "{app}\lng\tr-TR"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\tr-TR\np3lng.dll.mui"; DestDir: "{app}\lng\tr-TR"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\vi-VN\mplng.dll.mui"; DestDir: "{app}\lng\vi-VN"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\vi-VN\np3lng.dll.mui"; DestDir: "{app}\lng\vi-VN"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\zh-CN\mplng.dll.mui"; DestDir: "{app}\lng\zh-CN"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\zh-CN\np3lng.dll.mui"; DestDir: "{app}\lng\zh-CN"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\zh-TW\mplng.dll.mui"; DestDir: "{app}\lng\zh-TW"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x64_v142\lng\zh-TW\np3lng.dll.mui"; DestDir: "{app}\lng\zh-TW"; Flags: ignoreversion; Check: Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\mplng.dll"; DestDir: "{app}\lng"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\np3lng.dll"; DestDir: "{app}\lng"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\af-ZA\mplng.dll.mui"; DestDir: "{app}\lng\af-ZA"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\af-ZA\np3lng.dll.mui"; DestDir: "{app}\lng\af-ZA"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\be-BY\mplng.dll.mui"; DestDir: "{app}\lng\be-BY"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\be-BY\np3lng.dll.mui"; DestDir: "{app}\lng\be-BY"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\de-DE\mplng.dll.mui"; DestDir: "{app}\lng\de-DE"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\de-DE\np3lng.dll.mui"; DestDir: "{app}\lng\de-DE"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\el-GR\mplng.dll.mui"; DestDir: "{app}\lng\el-GR"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\el-GR\np3lng.dll.mui"; DestDir: "{app}\lng\el-GR"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\en-GB\mplng.dll.mui"; DestDir: "{app}\lng\en-GB"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\en-GB\np3lng.dll.mui"; DestDir: "{app}\lng\en-GB"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\es-419\mplng.dll.mui"; DestDir: "{app}\lng\es-419"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\es-419\np3lng.dll.mui"; DestDir: "{app}\lng\es-419"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\es-ES\mplng.dll.mui"; DestDir: "{app}\lng\es-ES"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\es-ES\np3lng.dll.mui"; DestDir: "{app}\lng\es-ES"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\fr-FR\mplng.dll.mui"; DestDir: "{app}\lng\fr-FR"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\fr-FR\np3lng.dll.mui"; DestDir: "{app}\lng\fr-FR"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\hi-IN\mplng.dll.mui"; DestDir: "{app}\lng\hi-IN"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\hi-IN\np3lng.dll.mui"; DestDir: "{app}\lng\hi-IN"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\hu-HU\mplng.dll.mui"; DestDir: "{app}\lng\hu-HU"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\hu-HU\np3lng.dll.mui"; DestDir: "{app}\lng\hu-HU"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\id-ID\mplng.dll.mui"; DestDir: "{app}\lng\id-ID"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\id-ID\np3lng.dll.mui"; DestDir: "{app}\lng\id-ID"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\it-IT\mplng.dll.mui"; DestDir: "{app}\lng\it-IT"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\it-IT\np3lng.dll.mui"; DestDir: "{app}\lng\it-IT"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\ja-JP\mplng.dll.mui"; DestDir: "{app}\lng\ja-JP"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\ja-JP\np3lng.dll.mui"; DestDir: "{app}\lng\ja-JP"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\ko-KR\mplng.dll.mui"; DestDir: "{app}\lng\ko-KR"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\ko-KR\np3lng.dll.mui"; DestDir: "{app}\lng\ko-KR"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\nl-NL\mplng.dll.mui"; DestDir: "{app}\lng\nl-NL"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\nl-NL\np3lng.dll.mui"; DestDir: "{app}\lng\nl-NL"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\pl-PL\mplng.dll.mui"; DestDir: "{app}\lng\pl-PL"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\pl-PL\np3lng.dll.mui"; DestDir: "{app}\lng\pl-PL"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\pt-BR\mplng.dll.mui"; DestDir: "{app}\lng\pt-BR"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\pt-BR\np3lng.dll.mui"; DestDir: "{app}\lng\pt-BR"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\pt-PT\mplng.dll.mui"; DestDir: "{app}\lng\pt-PT"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\pt-PT\np3lng.dll.mui"; DestDir: "{app}\lng\pt-PT"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\ru-RU\mplng.dll.mui"; DestDir: "{app}\lng\ru-RU"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\ru-RU\np3lng.dll.mui"; DestDir: "{app}\lng\ru-RU"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\sk-SK\mplng.dll.mui"; DestDir: "{app}\lng\sk-SK"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\sk-SK\np3lng.dll.mui"; DestDir: "{app}\lng\sk-SK"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\sv-SE\mplng.dll.mui"; DestDir: "{app}\lng\sv-SE"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\sv-SE\np3lng.dll.mui"; DestDir: "{app}\lng\sv-SE"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\tr-TR\mplng.dll.mui"; DestDir: "{app}\lng\tr-TR"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\tr-TR\np3lng.dll.mui"; DestDir: "{app}\lng\tr-TR"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\vi-VN\mplng.dll.mui"; DestDir: "{app}\lng\vi-VN"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\vi-VN\np3lng.dll.mui"; DestDir: "{app}\lng\vi-VN"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\zh-CN\mplng.dll.mui"; DestDir: "{app}\lng\zh-CN"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\zh-CN\np3lng.dll.mui"; DestDir: "{app}\lng\zh-CN"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\zh-TW\mplng.dll.mui"; DestDir: "{app}\lng\zh-TW"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "{#bindir}\Release_x86_v142\lng\zh-TW\np3lng.dll.mui"; DestDir: "{app}\lng\zh-TW"; Flags: ignoreversion; Check: not Is64BitInstallMode() +Source: "Changes.txt"; DestDir: "{app}\Docs"; Flags: ignoreversion +Source: "Docs\*.txt"; DestDir: "{app}\Docs"; Flags: ignoreversion +Source: "Docs\crypto\*.txt"; DestDir: "{app}\Docs\crypto"; Flags: ignoreversion +Source: "Docs\uthash\*.txt"; DestDir: "{app}\Docs\uthash"; Flags: ignoreversion [Dirs] Name: "{userappdata}\Rizonesoft\Notepad3\Favorites" -Name: "{userappdata}\Rizonesoft\Notepad3\themes" - +Name: "{userappdata}\Rizonesoft\Notepad3\Themes" [Icons] -Name: {commondesktop}\{#app_name}; Filename: {app}\Notepad3.exe; Tasks: desktopicon\common; Comment: {#app_name} {#app_version}; WorkingDir: {app}; AppUserModelID: {#app_publisher}.{#app_name}; IconFilename: {app}\Notepad3.exe; IconIndex: 0 -Name: {userdesktop}\{#app_name}; Filename: {app}\Notepad3.exe; Tasks: desktopicon\user; Comment: {#app_name} {#app_version}; WorkingDir: {app}; AppUserModelID: {#app_publisher}.{#app_name}; IconFilename: {app}\Notepad3.exe; IconIndex: 0 -Name: {commonprograms}\{#app_name}; Filename: {app}\Notepad3.exe; Tasks: startup_icon; Comment: {#app_name} {#app_version}; WorkingDir: {app}; AppUserModelID: {#app_publisher}.{#app_name}; IconFilename: {app}\Notepad3.exe; IconIndex: 0 -Name: {#quick_launch}\{#app_name}; Filename: {app}\Notepad3.exe; Tasks: quicklaunchicon; Comment: {#app_name} {#app_version}; WorkingDir: {app}; IconFilename: {app}\Notepad3.exe; IconIndex: 0 - +Name: "{commondesktop}\{#app_name}"; Filename: "{app}\Notepad3.exe"; WorkingDir: "{app}"; AppUserModelID: "{#app_publisher}.{#app_name}"; IconFilename: "{app}\Notepad3.exe"; Comment: "{#app_name} {#app_version}"; Tasks: desktopicon\common +Name: "{userdesktop}\{#app_name}"; Filename: "{app}\Notepad3.exe"; WorkingDir: "{app}"; AppUserModelID: "{#app_publisher}.{#app_name}"; IconFilename: "{app}\Notepad3.exe"; IconIndex: 0; Comment: "{#app_name} {#app_version}"; Tasks: desktopicon\user +Name: "{commonprograms}\{#app_name}"; Filename: "{app}\Notepad3.exe"; WorkingDir: "{app}"; AppUserModelID: "{#app_publisher}.{#app_name}"; IconFilename: "{app}\Notepad3.exe"; IconIndex: 0; Comment: "{#app_name} {#app_version}"; Tasks: startup_icon +Name: "{#quick_launch}\{#app_name}"; Filename: "{app}\Notepad3.exe"; WorkingDir: "{app}"; IconFilename: "{app}\Notepad3.exe"; IconIndex: 0; Comment: "{#app_name} {#app_version}"; Tasks: quicklaunchicon [INI] -Filename: {app}\Notepad3.ini; Section: Notepad3; Key: Notepad3.ini; String: %APPDATA%\Rizonesoft\Notepad3\Notepad3.ini -Filename: {app}\minipath.ini; Section: minipath; Key: minipath.ini; String: %APPDATA%\Rizonesoft\Notepad3\minipath.ini -Filename: {userappdata}\Rizonesoft\Notepad3\Notepad3.ini; Section: Settings; Key: Favorites; String: %APPDATA%\Rizonesoft\Notepad3\Favorites\ +Filename: "{app}\Notepad3.ini"; Section: "Notepad3"; Key: "Notepad3.ini"; String: "%APPDATA%\Rizonesoft\Notepad3\Notepad3.ini" +Filename: "{app}\minipath.ini"; Section: "minipath"; Key: "minipath.ini"; String: "%APPDATA%\Rizonesoft\Notepad3\minipath.ini" +[Registry] +;The following "Keys/Values" are required to allow a "Notepad3 Replacement" in Windows 11. +Root: "HKLM"; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe"; ValueType: dword; ValueName: "UseFilter"; ValueData: "1" +Root: "HKCR"; Subkey: ".inf"; ValueType: string; ValueData: "inffile" +Root: "HKCR"; Subkey: ".ini"; ValueType: string; ValueData: "inifile" +Root: "HKCR"; Subkey: ".ps1"; ValueType: string; ValueData: "Microsoft.PowerShellScript.1" +Root: "HKCR"; Subkey: ".psd1"; ValueType: string; ValueData: "Microsoft.PowerShellData.1" +Root: "HKCR"; Subkey: ".psm1"; ValueType: string; ValueData: "Microsoft.PowerShellModule.1" +Root: "HKCR"; Subkey: ".log"; ValueType: string; ValueData: "txtfile" +Root: "HKCR"; Subkey: ".scp"; ValueType: string; ValueData: "txtfile" +Root: "HKCR"; Subkey: ".txt"; ValueType: string; ValueData: "txtfile" +Root: "HKCR"; Subkey: ".wtx"; ValueType: string; ValueData: "txtfile" +Root: "HKCR"; Subkey: "inffile\DefaultIcon"; ValueType: expandsz; ValueData: "%SystemRoot%\System32\imageres.dll,-69" +Root: "HKCR"; Subkey: "inffile\shell\open\command"; ValueType: expandsz; ValueData: "%SystemRoot%\system32\notepad.exe %1" +Root: "HKCR"; Subkey: "inffile\shell\print\command"; ValueType: expandsz; ValueData: "%SystemRoot%\system32\notepad.exe /p %1" +Root: "HKCR"; Subkey: "inifile\DefaultIcon"; ValueType: expandsz; ValueData: "%SystemRoot%\System32\imageres.dll,-69" +Root: "HKCR"; Subkey: "inifile\shell\open\command"; ValueType: expandsz; ValueData: "%SystemRoot%\system32\notepad.exe %1" +Root: "HKCR"; Subkey: "inifile\shell\print\command"; ValueType: expandsz; ValueData: "%SystemRoot%\system32\notepad.exe /p %1" +Root: "HKCR"; Subkey: "Microsoft.PowerShellScript.1\DefaultIcon"; ValueType: expandsz; ValueData: "%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell_ise.exe,1" +Root: "HKCR"; Subkey: "Microsoft.PowerShellScript.1\Shell"; ValueType: string; ValueData: "Open" +Root: "HKCR"; Subkey: "Microsoft.PowerShellScript.1\shell\Open\Command"; ValueType: expandsz; ValueData: "%SystemRoot%\system32\notepad.exe %1" +Root: "HKCR"; Subkey: "Microsoft.PowerShellData.1\DefaultIcon"; ValueType: expandsz; ValueData: "%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell_ise.exe,1" +Root: "HKCR"; Subkey: "Microsoft.PowerShellData.1\Shell"; ValueType: string; ValueData: "Open" +Root: "HKCR"; Subkey: "Microsoft.PowerShellData.1\shell\Open\Command"; ValueType: expandsz; ValueData: "%SystemRoot%\system32\notepad.exe %1" +Root: "HKCR"; Subkey: "Microsoft.PowerShellModule.1\DefaultIcon"; ValueType: expandsz; ValueData: "%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell_ise.exe,1" +Root: "HKCR"; Subkey: "Microsoft.PowerShellModule.1\Shell"; ValueType: string; ValueData: "Open" +Root: "HKCR"; Subkey: "Microsoft.PowerShellModule.1\shell\Open\Command"; ValueType: expandsz; ValueData: "%SystemRoot%\system32\notepad.exe %1" +Root: "HKCR"; Subkey: "txtfile\DefaultIcon"; ValueType: expandsz; ValueData: "%SystemRoot%\system32\imageres.dll,-102" +Root: "HKCR"; Subkey: "txtfile\shell\open\command"; ValueType: expandsz; ValueData: "%SystemRoot%\system32\notepad.exe %1" +Root: "HKCR"; Subkey: "txtfile\shell\print\command"; ValueType: expandsz; ValueData: "%SystemRoot%\system32\notepad.exe /p %1" +Root: "HKCR"; Subkey: "txtfile\shell\printto\command"; ValueType: expandsz; ValueData: "%SystemRoot%\system32\notepad.exe /pt ""%1"" ""%2"" ""%3"" ""%4" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.inf\OpenWithList"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.inf\UserChoice"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.inf\OpenWithList"; ValueType: string; ValueName: "a"; ValueData: "Microsoft.WindowsNotepad_8wekyb3d8bbwe!App" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.inf\OpenWithList"; ValueType: string; ValueName: "b"; ValueData: "{{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.inf\OpenWithList"; ValueType: string; ValueName: "c"; ValueData: "Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.inf\OpenWithList"; ValueType: string; ValueName: "d"; ValueData: "Notepad3.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.inf\OpenWithList"; ValueType: string; ValueName: "MRUList"; ValueData: "bacd" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.inf\UserChoice"; ValueType: string; ValueName: "ProgId"; ValueData: "inffile" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ini\OpenWithList"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ini\UserChoice"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ini\OpenWithList"; ValueType: string; ValueName: "a"; ValueData: "Microsoft.WindowsNotepad_8wekyb3d8bbwe!App" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ini\OpenWithList"; ValueType: string; ValueName: "b"; ValueData: "{{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ini\OpenWithList"; ValueType: string; ValueName: "c"; ValueData: "Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ini\OpenWithList"; ValueType: string; ValueName: "d"; ValueData: "Notepad3.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ini\OpenWithList"; ValueType: string; ValueName: "MRUList"; ValueData: "bacd" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ini\UserChoice"; ValueType: string; ValueName: "ProgId"; ValueData: "inifile" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ps1\OpenWithList"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ps1\UserChoice"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ps1\OpenWithList"; ValueType: string; ValueName: "a"; ValueData: "Microsoft.WindowsNotepad_8wekyb3d8bbwe!App" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ps1\OpenWithList"; ValueType: string; ValueName: "b"; ValueData: "{{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ps1\OpenWithList"; ValueType: string; ValueName: "c"; ValueData: "Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ps1\OpenWithList"; ValueType: string; ValueName: "d"; ValueData: "Notepad3.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ps1\OpenWithList"; ValueType: string; ValueName: "MRUList"; ValueData: "bacd" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ps1\UserChoice"; ValueType: string; ValueName: "ProgId"; ValueData: "Microsoft.PowerShellScript.1" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psd1\OpenWithList"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psd1\UserChoice"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psd1\OpenWithList"; ValueType: string; ValueName: "a"; ValueData: "Microsoft.WindowsNotepad_8wekyb3d8bbwe!App" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psd1\OpenWithList"; ValueType: string; ValueName: "b"; ValueData: "{{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psd1\OpenWithList"; ValueType: string; ValueName: "c"; ValueData: "Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psd1\OpenWithList"; ValueType: string; ValueName: "d"; ValueData: "Notepad3.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psd1\OpenWithList"; ValueType: string; ValueName: "MRUList"; ValueData: "bacd" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psd1\UserChoice"; ValueType: string; ValueName: "ProgId"; ValueData: "Microsoft.PowerShellData.1" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psm1\OpenWithList"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psm1\UserChoice"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psm1\OpenWithList"; ValueType: string; ValueName: "a"; ValueData: "Microsoft.WindowsNotepad_8wekyb3d8bbwe!App" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psm1\OpenWithList"; ValueType: string; ValueName: "b"; ValueData: "{{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psm1\OpenWithList"; ValueType: string; ValueName: "c"; ValueData: "Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psm1\OpenWithList"; ValueType: string; ValueName: "d"; ValueData: "Notepad3.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psm1\OpenWithList"; ValueType: string; ValueName: "MRUList"; ValueData: "bacd" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psm1\UserChoice"; ValueType: string; ValueName: "ProgId"; ValueData: "Microsoft.PowerShellModule.1" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.log\OpenWithList"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.log\UserChoice"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.log\OpenWithList"; ValueType: string; ValueName: "a"; ValueData: "Microsoft.WindowsNotepad_8wekyb3d8bbwe!App" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.log\OpenWithList"; ValueType: string; ValueName: "b"; ValueData: "{{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.log\OpenWithList"; ValueType: string; ValueName: "c"; ValueData: "Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.log\OpenWithList"; ValueType: string; ValueName: "d"; ValueData: "Notepad3.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.log\OpenWithList"; ValueType: string; ValueName: "MRUList"; ValueData: "bacd" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.log\UserChoice"; ValueType: string; ValueName: "ProgId"; ValueData: "txtfile" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.scp\OpenWithList"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.scp\UserChoice"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.scp\OpenWithList"; ValueType: string; ValueName: "a"; ValueData: "Microsoft.WindowsNotepad_8wekyb3d8bbwe!App" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.scp\OpenWithList"; ValueType: string; ValueName: "b"; ValueData: "{{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.scp\OpenWithList"; ValueType: string; ValueName: "c"; ValueData: "Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.scp\OpenWithList"; ValueType: string; ValueName: "d"; ValueData: "Notepad3.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.scp\OpenWithList"; ValueType: string; ValueName: "MRUList"; ValueData: "bacd" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.scp\UserChoice"; ValueType: string; ValueName: "ProgId"; ValueData: "txtfile" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\UserChoice"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList"; ValueType: string; ValueName: "a"; ValueData: "Microsoft.WindowsNotepad_8wekyb3d8bbwe!App" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList"; ValueType: string; ValueName: "b"; ValueData: "{{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList"; ValueType: string; ValueName: "c"; ValueData: "Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList"; ValueType: string; ValueName: "d"; ValueData: "Notepad3.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList"; ValueType: string; ValueName: "MRUList"; ValueData: "bacd" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\UserChoice"; ValueType: string; ValueName: "ProgId"; ValueData: "txtfile" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.wtx\OpenWithList"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.wtx\UserChoice"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.wtx\OpenWithList"; ValueType: string; ValueName: "a"; ValueData: "Microsoft.WindowsNotepad_8wekyb3d8bbwe!App" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.wtx\OpenWithList"; ValueType: string; ValueName: "b"; ValueData: "{{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.wtx\OpenWithList"; ValueType: string; ValueName: "c"; ValueData: "Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.wtx\OpenWithList"; ValueType: string; ValueName: "d"; ValueData: "Notepad3.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.wtx\OpenWithList"; ValueType: string; ValueName: "MRUList"; ValueData: "bacd" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.wtx\UserChoice"; ValueType: string; ValueName: "ProgId"; ValueData: "txtfile" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts"; ValueType: dword; ValueName: "Applications\Notepad3.exe_.inf"; ValueData: "0" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts"; ValueType: dword; ValueName: "Applications\Notepad3.exe_.ini"; ValueData: "0" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts"; ValueType: dword; ValueName: "Applications\Notepad3.exe_.ps1"; ValueData: "0" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts"; ValueType: dword; ValueName: "Applications\Notepad3.exe_.psd1"; ValueData: "0" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts"; ValueType: dword; ValueName: "Applications\Notepad3.exe_.psm1"; ValueData: "0" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts"; ValueType: dword; ValueName: "Applications\Notepad3.exe_.log"; ValueData: "0" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts"; ValueType: dword; ValueName: "Applications\Notepad3.exe_.scp"; ValueData: "0" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts"; ValueType: dword; ValueName: "Applications\Notepad3.exe_.txt"; ValueData: "0" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts"; ValueType: dword; ValueName: "Applications\Notepad3.exe_.wtx"; ValueData: "0" [Run] -Filename: {app}\Notepad3.exe; Description: {cm:LaunchProgram,{#app_name}}; WorkingDir: {app}; Flags: nowait postinstall skipifsilent unchecked -Filename: https://www.rizonesoft.com/downloads/notepad3/update/; Description: {cm:tsk_LaunchWelcomePage}; Flags: nowait postinstall shellexec skipifsilent unchecked - +Filename: "{app}\Notepad3.exe"; WorkingDir: "{app}"; Flags: nowait postinstall skipifsilent unchecked; Description: "{cm:LaunchProgram,{#app_name}}" +Filename: "https://www.rizonesoft.com/downloads/notepad3/update/"; Flags: nowait postinstall shellexec skipifsilent unchecked; Description: "{cm:tsk_LaunchWelcomePage}" [InstallDelete] -Type: files; Name: {userdesktop}\{#app_name}.lnk; Check: not WizardIsTaskSelected('desktopicon\user') and IsUpgrade() -Type: files; Name: {commondesktop}\{#app_name}.lnk; Check: not WizardIsTaskSelected('desktopicon\common') and IsUpgrade() -Type: files; Name: {userstartmenu}\{#app_name}.lnk; Check: not WizardIsTaskSelected('startup_icon') and IsUpgrade() -Type: files; Name: {#quick_launch}\{#app_name}.lnk; Check: not WizardIsTaskSelected('quicklaunchicon') and IsUpgrade(); OnlyBelowVersion: 6.01 -Type: files; Name: {userappdata}\Rizonesoft\Notepad3\themes\Sombra.ini -Type: files; Name: {app}\Notepad3.ini -Type: files; Name: {app}\Readme.txt -Type: files; Name: {app}\minipath.ini -Type: files; Name: {app}\grepWinNP3.ini - +Type: files; Name: "{userdesktop}\{#app_name}.lnk"; Check: not WizardIsTaskSelected('desktopicon\user') and IsUpgrade() +Type: files; Name: "{commondesktop}\{#app_name}.lnk"; Check: not WizardIsTaskSelected('desktopicon\common') and IsUpgrade() +Type: files; Name: "{userstartmenu}\{#app_name}.lnk"; Check: not WizardIsTaskSelected('startup_icon') and IsUpgrade() +Type: files; Name: "{#quick_launch}\{#app_name}.lnk"; OnlyBelowVersion: 6.01; Check: not WizardIsTaskSelected('quicklaunchicon') and IsUpgrade() +Type: files; Name: "{app}\Notepad3.ini" +Type: files; Name: "{app}\Readme.txt" +Type: files; Name: "{app}\minipath.ini" +Type: files; Name: "{app}\grepWinNP3.ini" [UninstallDelete] -Type: files; Name: {app}\Notepad3.ini -Type: files; Name: {app}\minipath.ini -Type: files; Name: {app}\grepWinNP3.ini -Type: dirifempty; Name: {app} - +Type: files; Name: "{app}\Notepad3.ini" +Type: files; Name: "{app}\minipath.ini" +Type: files; Name: "{app}\grepWinNP3.ini" +Type: dirifempty; Name: "{app}" [Code] const @@ -327,7 +426,6 @@ begin end; end; - // Check if "Open with Notepad3" is installed. function OpenWithCheck(): Boolean; var @@ -344,7 +442,6 @@ begin end; end; - #if defined(sse_required) || defined(sse2_required) function IsProcessorFeaturePresent(Feature: Integer): Boolean; external 'IsProcessorFeaturePresent@kernel32.dll stdcall'; @@ -376,7 +473,6 @@ begin Result := False; end; - function IsUpgrade(): Boolean; var sPrevPath: String; @@ -385,7 +481,6 @@ begin Result := (sPrevPath <> ''); end; - // Check if Notepad3's settings exist function SettingsExistCheck(): Boolean; begin @@ -399,7 +494,6 @@ begin end; end; - function UninstallOldVersion(sInfFile: String): Integer; var iResultCode: Integer; @@ -421,7 +515,6 @@ begin end; end; - function ShouldSkipPage(PageID: Integer): Boolean; begin // Hide the license page if IsUpgrade() @@ -429,7 +522,6 @@ begin Result := True; end; - procedure AddReg(); begin RegWriteStringValue(HKCR, 'Applications\notepad3.exe', 'AppUserModelID', 'Rizonesoft.Notepad3'); @@ -439,7 +531,6 @@ begin RegWriteStringValue(HKLM, APPH, 'Path', ExpandConstant('{app}')); end; - procedure CleanUpSettings(); begin DeleteFile(ExpandConstant('{userappdata}\Rizonesoft\Notepad3\Notepad3.ini')); @@ -448,7 +539,6 @@ begin RemoveDir(ExpandConstant('{userappdata}\Rizonesoft\Notepad3')); end; - procedure RemoveReg(); begin RegDeleteKeyIncludingSubkeys(HKCR, 'Applications\notepad3.exe'); @@ -457,7 +547,6 @@ begin RegDeleteKeyIncludingSubkeys(HKLM, APPH); end; - procedure CurPageChanged(CurPageID: Integer); begin if CurPageID = wpSelectTasks then @@ -466,7 +555,6 @@ begin WizardForm.NextButton.Caption := SetupMessage(msgButtonFinish); end; - procedure CurStepChanged(CurStep: TSetupStep); begin if CurStep = ssInstall then begin @@ -492,20 +580,32 @@ begin // This is the case where the old build is installed; the DefaulNotepadCheck() returns true // and the set_default task isn't selected - if not WizardIsTaskSelected('remove_default') then + if not WizardIsTaskSelected('remove_default') then begin RegWriteStringValue(HKLM, IFEO, 'Debugger', ExpandConstant('"{app}\Notepad3.exe" /z')); + RegWriteDWordValue(HKLM, IFEO, 'UseFilter', 0); + end; end; end; if CurStep = ssPostInstall then begin - if WizardIsTaskSelected('set_default') then + if WizardIsTaskSelected('set_default') then begin RegWriteStringValue(HKLM, IFEO, 'Debugger', ExpandConstant('"{app}\Notepad3.exe" /z')); - if WizardIsTaskSelected('remove_default') then + RegWriteDWordValue(HKLM, IFEO, 'UseFilter', 0); + end; + if WizardIsTaskSelected('remove_default') then begin RegDeleteValue(HKLM, IFEO, 'Debugger'); - RegDeleteKeyIfEmpty(HKLM, IFEO); - if WizardIsTaskSelected('set_openwith') then + RegWriteDWordValue(HKLM, IFEO, 'UseFilter', 1); + end else begin + If RegValueExists (HKLM, IFEO, 'Debugger') then begin + RegWriteDWordValue(HKLM, IFEO, 'UseFilter', 0); + end else begin + RegWriteDWordValue(HKLM, IFEO, 'UseFilter', 1); + end; + end; + if WizardIsTaskSelected('set_openwith') then begin RegWriteStringValue(HKCR, '*\shell\Open with Notepad3', 'Icon', ExpandConstant('{app}\Notepad3.exe,0')); RegWriteStringValue(HKCR, '*\shell\Open with Notepad3\command', '', ExpandConstant('"{app}\Notepad3.exe" "%1"')); + end; if WizardIsTaskSelected('remove_openwith') then begin RegDeleteKeyIncludingSubkeys(HKCR, '*\shell\Open with Notepad3'); end; @@ -514,7 +614,6 @@ begin end; end; - procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep); begin // When uninstalling, ask the user to delete Notepad3's settings @@ -523,14 +622,14 @@ begin if SuppressibleMsgBox(CustomMessage('msg_DeleteSettings'), mbConfirmation, MB_YESNO or MB_DEFBUTTON2, IDNO) = IDYES then CleanUpSettings(); end; - if DefaulNotepadCheck() then + if DefaulNotepadCheck() then begin RegDeleteValue(HKLM, IFEO, 'Debugger'); - RegDeleteKeyIfEmpty(HKLM, IFEO); + RegWriteDWordValue(HKLM, IFEO, 'UseFilter', 1); + end; RemoveReg(); end; end; - procedure InitializeWizard(); begin WizardForm.SelectTasksLabel.Hide; diff --git a/Build/notepad3_x86_setup.iss b/Build/notepad3_x86_setup.iss index ae4d7fb9e..beaae7b58 100644 --- a/Build/notepad3_x86_setup.iss +++ b/Build/notepad3_x86_setup.iss @@ -20,12 +20,11 @@ #error Compile MiniPath x86 first #endif -#define app_name "Notepad3" +#define app_name "Notepad3" #define app_publisher "Rizonesoft" -#define app_version GetFileVersion(bindir + "\Release_x86_v142\Notepad3.exe") +#define app_version GetVersionNumbersString(bindir + "\Release_x86_v142\Notepad3.exe") #define app_copyright "Copyright © 2008-2021 Rizonesoft" -#define quick_launch "{userappdata}\Microsoft\Internet Explorer\Quick Launch" - +#define quick_launch "{userappdata}\Microsoft\Internet Explorer\Quick Launch" [Setup] AppId={#app_name} @@ -67,161 +66,261 @@ SignTool=MySignTool CloseApplications=true SetupMutex='{#app_name}' + '_setup_mutex' - [Languages] -Name: en; MessagesFile: compiler:Default.isl - +Name: "en"; MessagesFile: "compiler:Default.isl" [Messages] -SetupAppTitle =Setup - {#app_name} -SetupWindowTitle =Setup - {#app_name} - +SetupAppTitle=Setup - {#app_name} +SetupWindowTitle=Setup - {#app_name} [CustomMessages] -en.msg_AppIsRunning =Setup has detected that {#app_name} is currently running.%n%nPlease close all instances of it now, then click OK to continue, or Cancel to exit. -en.msg_AppIsRunningUninstall =Uninstall has detected that {#app_name} is currently running.%n%nPlease close all instances of it now, then click OK to continue, or Cancel to exit. -en.msg_DeleteSettings =Do you also want to delete {#app_name}'s settings?%n%nIf you plan on installing {#app_name} again then you do not have to delete them. +en.msg_AppIsRunning=Setup has detected that {#app_name} is currently running.%n%nPlease close all instances of it now, then click OK to continue, or Cancel to exit. +en.msg_AppIsRunningUninstall=Uninstall has detected that {#app_name} is currently running.%n%nPlease close all instances of it now, then click OK to continue, or Cancel to exit. +en.msg_DeleteSettings=Do you also want to delete {#app_name}'s settings?%n%nIf you plan on installing {#app_name} again then you do not have to delete them. #if defined(sse_required) -en.msg_simd_sse =This build of {#app_name} requires a CPU with SSE extension support.%n%nYour CPU does not have those capabilities. +en.msg_simd_sse=This build of {#app_name} requires a CPU with SSE extension support.%n%nYour CPU does not have those capabilities. #elif defined(sse2_required) -en.msg_simd_sse2 =This build of {#app_name} requires a CPU with SSE2 extension support.%n%nYour CPU does not have those capabilities. +en.msg_simd_sse2=This build of {#app_name} requires a CPU with SSE2 extension support.%n%nYour CPU does not have those capabilities. #endif -en.tsk_AllUsers =For all users -en.tsk_CurrentUser =For the current user only -en.tsk_Other =Other tasks: -en.tsk_ResetSettings =Reset {#app_name}'s settings -en.tsk_RemoveDefault =Restore Windows Notepad -en.tsk_SetDefault =Replace Windows Notepad with {#app_name} -en.tsk_StartMenuIcon =Create a Start Menu shortcut -en.tsk_LaunchWelcomePage =Important Release Information! -en.tsk_RemoveOpenWith =Remove "Open with {#app_name}" from the context menu -en.tsk_SetOpenWith =Add "Open with {#app_name}" to the context menu - +en.tsk_AllUsers=For all users +en.tsk_CurrentUser=For the current user only +en.tsk_Other=Other tasks: +en.tsk_ResetSettings=Reset {#app_name}'s settings +en.tsk_RemoveDefault=Restore Windows Notepad +en.tsk_SetDefault=Replace Windows Notepad with {#app_name} +en.tsk_StartMenuIcon=Create a Start Menu shortcut +en.tsk_LaunchWelcomePage=Important Release Information! +en.tsk_RemoveOpenWith=Remove "Open with {#app_name}" from the context menu +en.tsk_SetOpenWith=Add "Open with {#app_name}" to the context menu [Tasks] -Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked -Name: desktopicon\user; Description: {cm:tsk_CurrentUser}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked exclusive -Name: desktopicon\common; Description: {cm:tsk_AllUsers}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked exclusive -Name: startup_icon; Description: {cm:tsk_StartMenuIcon}; GroupDescription: {cm:AdditionalIcons} -Name: quicklaunchicon; Description: {cm:CreateQuickLaunchIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked; OnlyBelowVersion: 6.01 -Name: reset_settings; Description: {cm:tsk_ResetSettings}; GroupDescription: {cm:tsk_Other}; Flags: checkedonce unchecked; Check: SettingsExistCheck() -Name: set_default; Description: {cm:tsk_SetDefault}; GroupDescription: {cm:tsk_Other}; Check: not DefaulNotepadCheck() -Name: remove_default; Description: {cm:tsk_RemoveDefault}; GroupDescription: {cm:tsk_Other}; Flags: checkedonce unchecked; Check: DefaulNotepadCheck() -Name: set_openwith; Description: {cm:tsk_SetOpenWith}; GroupDescription: {cm:tsk_Other}; Check: not OpenWithCheck() -Name: remove_openwith; Description: {cm:tsk_RemoveOpenWith}; GroupDescription: {cm:tsk_Other}; Flags: checkedonce unchecked; Check: OpenWithCheck() - +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked +Name: "desktopicon\user"; Description: "{cm:tsk_CurrentUser}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked exclusive +Name: "desktopicon\common"; Description: "{cm:tsk_AllUsers}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked exclusive +Name: "startup_icon"; Description: "{cm:tsk_StartMenuIcon}"; GroupDescription: "{cm:AdditionalIcons}" +Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 6.01 +Name: "reset_settings"; Description: "{cm:tsk_ResetSettings}"; GroupDescription: "{cm:tsk_Other}"; Flags: checkedonce unchecked; Check: SettingsExistCheck() +Name: "set_default"; Description: "{cm:tsk_SetDefault}"; GroupDescription: "{cm:tsk_Other}"; Check: not DefaulNotepadCheck() +Name: "remove_default"; Description: "{cm:tsk_RemoveDefault}"; GroupDescription: "{cm:tsk_Other}"; Flags: checkedonce unchecked; Check: DefaulNotepadCheck() +Name: "set_openwith"; Description: "{cm:tsk_SetOpenWith}"; GroupDescription: "{cm:tsk_Other}"; Check: not OpenWithCheck() +Name: "remove_openwith"; Description: "{cm:tsk_RemoveOpenWith}"; GroupDescription: "{cm:tsk_Other}"; Flags: checkedonce unchecked; Check: OpenWithCheck() [Files] -Source: {#bindir}\Release_x86_v142\Notepad3.exe; DestDir: {app}; Flags: ignoreversion; -Source: {#bindir}\Release_x86_v142\minipath.exe; DestDir: {app}; Flags: ignoreversion; -Source: "..\License.txt"; DestDir: {app}; Flags: ignoreversion -Source: "..\Readme.txt"; DestDir: {app}; Flags: ignoreversion -Source: "..\grepWinNP3\grepWinLicense.txt"; DestDir: {app}; Flags: ignoreversion; -Source: "..\grepWinNP3\translationsNP3\*.lang"; DestDir: {app}\lng\gwLng; Flags: ignoreversion; -Source: {#bindir}\Release_x86_v142\grepWinNP3.exe; DestDir: {app}; Flags: ignoreversion; -Source: Notepad3.ini; DestDir: {userappdata}\Rizonesoft\Notepad3; Flags: onlyifdoesntexist uninsneveruninstall -Source: minipath.ini; DestDir: {userappdata}\Rizonesoft\Notepad3; Flags: onlyifdoesntexist uninsneveruninstall -Source: themes\Dark.ini; DestDir: {userappdata}\Rizonesoft\Notepad3\themes; Flags: onlyifdoesntexist uninsneveruninstall -Source: themes\Obsidian.ini; DestDir: {userappdata}\Rizonesoft\Notepad3\themes; Flags: onlyifdoesntexist uninsneveruninstall -Source: {#bindir}\Release_x86_v142\lng\mplng.dll; DestDir: {app}\lng; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\np3lng.dll; DestDir: {app}\lng; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\af-ZA\mplng.dll.mui; DestDir: {app}\lng\af-ZA; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\af-ZA\np3lng.dll.mui; DestDir: {app}\lng\af-ZA; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\be-BY\mplng.dll.mui; DestDir: {app}\lng\be-BY; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\be-BY\np3lng.dll.mui; DestDir: {app}\lng\be-BY; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\de-DE\mplng.dll.mui; DestDir: {app}\lng\de-DE; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\de-DE\np3lng.dll.mui; DestDir: {app}\lng\de-DE; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\el-GR\mplng.dll.mui; DestDir: {app}\lng\el-GR; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\el-GR\np3lng.dll.mui; DestDir: {app}\lng\el-GR; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\en-GB\mplng.dll.mui; DestDir: {app}\lng\en-GB; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\en-GB\np3lng.dll.mui; DestDir: {app}\lng\en-GB; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\es-419\mplng.dll.mui; DestDir: {app}\lng\es-419; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\es-419\np3lng.dll.mui; DestDir: {app}\lng\es-419; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\es-ES\mplng.dll.mui; DestDir: {app}\lng\es-ES; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\es-ES\np3lng.dll.mui; DestDir: {app}\lng\es-ES; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\fr-FR\mplng.dll.mui; DestDir: {app}\lng\fr-FR; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\fr-FR\np3lng.dll.mui; DestDir: {app}\lng\fr-FR; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\hi-IN\mplng.dll.mui; DestDir: {app}\lng\hi-IN; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\hi-IN\np3lng.dll.mui; DestDir: {app}\lng\hi-IN; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\hu-HU\mplng.dll.mui; DestDir: {app}\lng\hu-HU; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\hu-HU\np3lng.dll.mui; DestDir: {app}\lng\hu-HU; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\id-ID\mplng.dll.mui; DestDir: {app}\lng\id-ID; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\id-ID\np3lng.dll.mui; DestDir: {app}\lng\id-ID; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\it-IT\mplng.dll.mui; DestDir: {app}\lng\it-IT; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\it-IT\np3lng.dll.mui; DestDir: {app}\lng\it-IT; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\ja-JP\mplng.dll.mui; DestDir: {app}\lng\ja-JP; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\ja-JP\np3lng.dll.mui; DestDir: {app}\lng\ja-JP; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\ko-KR\mplng.dll.mui; DestDir: {app}\lng\ko-KR; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\ko-KR\np3lng.dll.mui; DestDir: {app}\lng\ko-KR; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\nl-NL\mplng.dll.mui; DestDir: {app}\lng\nl-NL; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\nl-NL\np3lng.dll.mui; DestDir: {app}\lng\nl-NL; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\pl-PL\mplng.dll.mui; DestDir: {app}\lng\pl-PL; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\pl-PL\np3lng.dll.mui; DestDir: {app}\lng\pl-PL; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\pt-BR\mplng.dll.mui; DestDir: {app}\lng\pt-BR; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\pt-BR\np3lng.dll.mui; DestDir: {app}\lng\pt-BR; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\pt-PT\mplng.dll.mui; DestDir: {app}\lng\pt-PT; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\pt-PT\np3lng.dll.mui; DestDir: {app}\lng\pt-PT; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\ru-RU\mplng.dll.mui; DestDir: {app}\lng\ru-RU; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\ru-RU\np3lng.dll.mui; DestDir: {app}\lng\ru-RU; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\sk-SK\mplng.dll.mui; DestDir: {app}\lng\sk-SK; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\sk-SK\np3lng.dll.mui; DestDir: {app}\lng\sk-SK; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\sv-SE\mplng.dll.mui; DestDir: {app}\lng\sv-SE; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\sv-SE\np3lng.dll.mui; DestDir: {app}\lng\sv-SE; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\tr-TR\mplng.dll.mui; DestDir: {app}\lng\tr-TR; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\tr-TR\np3lng.dll.mui; DestDir: {app}\lng\tr-TR; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\vi-VN\mplng.dll.mui; DestDir: {app}\lng\vi-VN; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\vi-VN\np3lng.dll.mui; DestDir: {app}\lng\vi-VN; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\zh-CN\mplng.dll.mui; DestDir: {app}\lng\zh-CN; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\zh-CN\np3lng.dll.mui; DestDir: {app}\lng\zh-CN; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\zh-TW\mplng.dll.mui; DestDir: {app}\lng\zh-TW; Flags: ignoreversion -Source: {#bindir}\Release_x86_v142\lng\zh-TW\np3lng.dll.mui; DestDir: {app}\lng\zh-TW; Flags: ignoreversion -Source: Changes.txt; DestDir: {app}\Docs; Flags: ignoreversion -Source: Docs\*.txt; DestDir: {app}\Docs; Flags: ignoreversion -Source: Docs\crypto\*.txt; DestDir: {app}\Docs\crypto; Flags: ignoreversion -Source: Docs\uthash\*.txt; DestDir: {app}\Docs\uthash; Flags: ignoreversion - +Source: "{#bindir}\Release_x86_v142\Notepad3.exe"; DestDir: "{app}"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\minipath.exe"; DestDir: "{app}"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\grepWinNP3.exe"; DestDir: "{app}"; Flags: ignoreversion +Source: "..\License.txt"; DestDir: "{app}"; Flags: ignoreversion +Source: "..\Readme.txt"; DestDir: "{app}"; Flags: ignoreversion +Source: "..\grepWinNP3\grepWinLicense.txt"; DestDir: "{app}"; Flags: ignoreversion +Source: "..\grepWinNP3\translationsNP3\*.lang"; DestDir: "{app}\lng\gwLng"; Flags: ignoreversion +Source: "Notepad3.ini"; DestDir: "{userappdata}\Rizonesoft\Notepad3"; Flags: onlyifdoesntexist uninsneveruninstall +Source: "minipath.ini"; DestDir: "{userappdata}\Rizonesoft\Notepad3"; Flags: onlyifdoesntexist uninsneveruninstall +Source: "Themes\Dark.ini"; DestDir: "{userappdata}\Rizonesoft\Notepad3\Themes"; Flags: ignoreversion uninsneveruninstall +Source: "Themes\Obsidian.ini"; DestDir: "{userappdata}\Rizonesoft\Notepad3\Themes"; Flags: ignoreversion uninsneveruninstall +Source: "Themes\Sombra.ini"; DestDir: "{userappdata}\Rizonesoft\Notepad3\Themes"; Flags: ignoreversion uninsneveruninstall +Source: "{#bindir}\Release_x86_v142\lng\mplng.dll"; DestDir: "{app}\lng"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\np3lng.dll"; DestDir: "{app}\lng"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\af-ZA\mplng.dll.mui"; DestDir: "{app}\lng\af-ZA"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\af-ZA\np3lng.dll.mui"; DestDir: "{app}\lng\af-ZA"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\be-BY\mplng.dll.mui"; DestDir: "{app}\lng\be-BY"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\be-BY\np3lng.dll.mui"; DestDir: "{app}\lng\be-BY"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\de-DE\mplng.dll.mui"; DestDir: "{app}\lng\de-DE"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\de-DE\np3lng.dll.mui"; DestDir: "{app}\lng\de-DE"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\el-GR\mplng.dll.mui"; DestDir: "{app}\lng\el-GR"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\el-GR\np3lng.dll.mui"; DestDir: "{app}\lng\el-GR"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\en-GB\mplng.dll.mui"; DestDir: "{app}\lng\en-GB"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\en-GB\np3lng.dll.mui"; DestDir: "{app}\lng\en-GB"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\es-419\mplng.dll.mui"; DestDir: "{app}\lng\es-419"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\es-419\np3lng.dll.mui"; DestDir: "{app}\lng\es-419"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\es-ES\mplng.dll.mui"; DestDir: "{app}\lng\es-ES"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\es-ES\np3lng.dll.mui"; DestDir: "{app}\lng\es-ES"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\fr-FR\mplng.dll.mui"; DestDir: "{app}\lng\fr-FR"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\fr-FR\np3lng.dll.mui"; DestDir: "{app}\lng\fr-FR"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\hi-IN\mplng.dll.mui"; DestDir: "{app}\lng\hi-IN"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\hi-IN\np3lng.dll.mui"; DestDir: "{app}\lng\hi-IN"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\hu-HU\mplng.dll.mui"; DestDir: "{app}\lng\hu-HU"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\hu-HU\np3lng.dll.mui"; DestDir: "{app}\lng\hu-HU"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\id-ID\mplng.dll.mui"; DestDir: "{app}\lng\id-ID"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\id-ID\np3lng.dll.mui"; DestDir: "{app}\lng\id-ID"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\it-IT\mplng.dll.mui"; DestDir: "{app}\lng\it-IT"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\it-IT\np3lng.dll.mui"; DestDir: "{app}\lng\it-IT"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\ja-JP\mplng.dll.mui"; DestDir: "{app}\lng\ja-JP"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\ja-JP\np3lng.dll.mui"; DestDir: "{app}\lng\ja-JP"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\ko-KR\mplng.dll.mui"; DestDir: "{app}\lng\ko-KR"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\ko-KR\np3lng.dll.mui"; DestDir: "{app}\lng\ko-KR"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\nl-NL\mplng.dll.mui"; DestDir: "{app}\lng\nl-NL"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\nl-NL\np3lng.dll.mui"; DestDir: "{app}\lng\nl-NL"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\pl-PL\mplng.dll.mui"; DestDir: "{app}\lng\pl-PL"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\pl-PL\np3lng.dll.mui"; DestDir: "{app}\lng\pl-PL"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\pt-BR\mplng.dll.mui"; DestDir: "{app}\lng\pt-BR"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\pt-BR\np3lng.dll.mui"; DestDir: "{app}\lng\pt-BR"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\pt-PT\mplng.dll.mui"; DestDir: "{app}\lng\pt-PT"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\pt-PT\np3lng.dll.mui"; DestDir: "{app}\lng\pt-PT"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\ru-RU\mplng.dll.mui"; DestDir: "{app}\lng\ru-RU"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\ru-RU\np3lng.dll.mui"; DestDir: "{app}\lng\ru-RU"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\sk-SK\mplng.dll.mui"; DestDir: "{app}\lng\sk-SK"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\sk-SK\np3lng.dll.mui"; DestDir: "{app}\lng\sk-SK"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\sv-SE\mplng.dll.mui"; DestDir: "{app}\lng\sv-SE"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\sv-SE\np3lng.dll.mui"; DestDir: "{app}\lng\sv-SE"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\tr-TR\mplng.dll.mui"; DestDir: "{app}\lng\tr-TR"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\tr-TR\np3lng.dll.mui"; DestDir: "{app}\lng\tr-TR"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\vi-VN\mplng.dll.mui"; DestDir: "{app}\lng\vi-VN"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\vi-VN\np3lng.dll.mui"; DestDir: "{app}\lng\vi-VN"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\zh-CN\mplng.dll.mui"; DestDir: "{app}\lng\zh-CN"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\zh-CN\np3lng.dll.mui"; DestDir: "{app}\lng\zh-CN"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\zh-TW\mplng.dll.mui"; DestDir: "{app}\lng\zh-TW"; Flags: ignoreversion +Source: "{#bindir}\Release_x86_v142\lng\zh-TW\np3lng.dll.mui"; DestDir: "{app}\lng\zh-TW"; Flags: ignoreversion +Source: "Changes.txt"; DestDir: "{app}\Docs"; Flags: ignoreversion +Source: "Docs\*.txt"; DestDir: "{app}\Docs"; Flags: ignoreversion +Source: "Docs\crypto\*.txt"; DestDir: "{app}\Docs\crypto"; Flags: ignoreversion +Source: "Docs\uthash\*.txt"; DestDir: "{app}\Docs\uthash"; Flags: ignoreversion [Dirs] Name: "{userappdata}\Rizonesoft\Notepad3\Favorites" -Name: "{userappdata}\Rizonesoft\Notepad3\themes" - +Name: "{userappdata}\Rizonesoft\Notepad3\Themes" [Icons] -Name: {commondesktop}\{#app_name}; Filename: {app}\Notepad3.exe; Tasks: desktopicon\common; Comment: {#app_name} {#app_version}; WorkingDir: {app}; AppUserModelID: {#app_publisher}.{#app_name}; IconFilename: {app}\Notepad3.exe; IconIndex: 0 -Name: {userdesktop}\{#app_name}; Filename: {app}\Notepad3.exe; Tasks: desktopicon\user; Comment: {#app_name} {#app_version}; WorkingDir: {app}; AppUserModelID: {#app_publisher}.{#app_name}; IconFilename: {app}\Notepad3.exe; IconIndex: 0 -Name: {commonprograms}\{#app_name}; Filename: {app}\Notepad3.exe; Tasks: startup_icon; Comment: {#app_name} {#app_version}; WorkingDir: {app}; AppUserModelID: {#app_publisher}.{#app_name}; IconFilename: {app}\Notepad3.exe; IconIndex: 0 -Name: {#quick_launch}\{#app_name}; Filename: {app}\Notepad3.exe; Tasks: quicklaunchicon; Comment: {#app_name} {#app_version}; WorkingDir: {app}; IconFilename: {app}\Notepad3.exe; IconIndex: 0 - +Name: "{commondesktop}\{#app_name}"; Filename: "{app}\Notepad3.exe"; WorkingDir: "{app}"; AppUserModelID: "{#app_publisher}.{#app_name}"; IconFilename: "{app}\Notepad3.exe"; Comment: "{#app_name} {#app_version}"; Tasks: desktopicon\common +Name: "{userdesktop}\{#app_name}"; Filename: "{app}\Notepad3.exe"; WorkingDir: "{app}"; AppUserModelID: "{#app_publisher}.{#app_name}"; IconFilename: "{app}\Notepad3.exe"; IconIndex: 0; Comment: "{#app_name} {#app_version}"; Tasks: desktopicon\user +Name: "{commonprograms}\{#app_name}"; Filename: "{app}\Notepad3.exe"; WorkingDir: "{app}"; AppUserModelID: "{#app_publisher}.{#app_name}"; IconFilename: "{app}\Notepad3.exe"; IconIndex: 0; Comment: "{#app_name} {#app_version}"; Tasks: startup_icon +Name: "{#quick_launch}\{#app_name}"; Filename: "{app}\Notepad3.exe"; WorkingDir: "{app}"; IconFilename: "{app}\Notepad3.exe"; IconIndex: 0; Comment: "{#app_name} {#app_version}"; Tasks: quicklaunchicon [INI] -Filename: {app}\Notepad3.ini; Section: Notepad3; Key: Notepad3.ini; String: %APPDATA%\Rizonesoft\Notepad3\Notepad3.ini -Filename: {app}\minipath.ini; Section: minipath; Key: minipath.ini; String: %APPDATA%\Rizonesoft\Notepad3\minipath.ini -Filename: {userappdata}\Rizonesoft\Notepad3\Notepad3.ini; Section: Settings; Key: Favorites; String: %APPDATA%\Rizonesoft\Notepad3\Favorites\ +Filename: "{app}\Notepad3.ini"; Section: "Notepad3"; Key: "Notepad3.ini"; String: "%APPDATA%\Rizonesoft\Notepad3\Notepad3.ini" +Filename: "{app}\minipath.ini"; Section: "minipath"; Key: "minipath.ini"; String: "%APPDATA%\Rizonesoft\Notepad3\minipath.ini" +[Registry] +;The following "Keys/Values" are required to allow a "Notepad3 Replacement" in Windows 11. +Root: "HKLM"; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe"; ValueType: dword; ValueName: "UseFilter"; ValueData: "1" +Root: "HKCR"; Subkey: ".inf"; ValueType: string; ValueData: "inffile" +Root: "HKCR"; Subkey: ".ini"; ValueType: string; ValueData: "inifile" +Root: "HKCR"; Subkey: ".ps1"; ValueType: string; ValueData: "Microsoft.PowerShellScript.1" +Root: "HKCR"; Subkey: ".psd1"; ValueType: string; ValueData: "Microsoft.PowerShellData.1" +Root: "HKCR"; Subkey: ".psm1"; ValueType: string; ValueData: "Microsoft.PowerShellModule.1" +Root: "HKCR"; Subkey: ".log"; ValueType: string; ValueData: "txtfile" +Root: "HKCR"; Subkey: ".scp"; ValueType: string; ValueData: "txtfile" +Root: "HKCR"; Subkey: ".txt"; ValueType: string; ValueData: "txtfile" +Root: "HKCR"; Subkey: ".wtx"; ValueType: string; ValueData: "txtfile" +Root: "HKCR"; Subkey: "inffile\DefaultIcon"; ValueType: expandsz; ValueData: "%SystemRoot%\System32\imageres.dll,-69" +Root: "HKCR"; Subkey: "inffile\shell\open\command"; ValueType: expandsz; ValueData: "%SystemRoot%\system32\notepad.exe %1" +Root: "HKCR"; Subkey: "inffile\shell\print\command"; ValueType: expandsz; ValueData: "%SystemRoot%\system32\notepad.exe /p %1" +Root: "HKCR"; Subkey: "inifile\DefaultIcon"; ValueType: expandsz; ValueData: "%SystemRoot%\System32\imageres.dll,-69" +Root: "HKCR"; Subkey: "inifile\shell\open\command"; ValueType: expandsz; ValueData: "%SystemRoot%\system32\notepad.exe %1" +Root: "HKCR"; Subkey: "inifile\shell\print\command"; ValueType: expandsz; ValueData: "%SystemRoot%\system32\notepad.exe /p %1" +Root: "HKCR"; Subkey: "Microsoft.PowerShellScript.1\DefaultIcon"; ValueType: expandsz; ValueData: "%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell_ise.exe,1" +Root: "HKCR"; Subkey: "Microsoft.PowerShellScript.1\Shell"; ValueType: string; ValueData: "Open" +Root: "HKCR"; Subkey: "Microsoft.PowerShellScript.1\shell\Open\Command"; ValueType: expandsz; ValueData: "%SystemRoot%\system32\notepad.exe %1" +Root: "HKCR"; Subkey: "Microsoft.PowerShellData.1\DefaultIcon"; ValueType: expandsz; ValueData: "%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell_ise.exe,1" +Root: "HKCR"; Subkey: "Microsoft.PowerShellData.1\Shell"; ValueType: string; ValueData: "Open" +Root: "HKCR"; Subkey: "Microsoft.PowerShellData.1\shell\Open\Command"; ValueType: expandsz; ValueData: "%SystemRoot%\system32\notepad.exe %1" +Root: "HKCR"; Subkey: "Microsoft.PowerShellModule.1\DefaultIcon"; ValueType: expandsz; ValueData: "%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell_ise.exe,1" +Root: "HKCR"; Subkey: "Microsoft.PowerShellModule.1\Shell"; ValueType: string; ValueData: "Open" +Root: "HKCR"; Subkey: "Microsoft.PowerShellModule.1\shell\Open\Command"; ValueType: expandsz; ValueData: "%SystemRoot%\system32\notepad.exe %1" +Root: "HKCR"; Subkey: "txtfile\DefaultIcon"; ValueType: expandsz; ValueData: "%SystemRoot%\system32\imageres.dll,-102" +Root: "HKCR"; Subkey: "txtfile\shell\open\command"; ValueType: expandsz; ValueData: "%SystemRoot%\system32\notepad.exe %1" +Root: "HKCR"; Subkey: "txtfile\shell\print\command"; ValueType: expandsz; ValueData: "%SystemRoot%\system32\notepad.exe /p %1" +Root: "HKCR"; Subkey: "txtfile\shell\printto\command"; ValueType: expandsz; ValueData: "%SystemRoot%\system32\notepad.exe /pt ""%1"" ""%2"" ""%3"" ""%4" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.inf\OpenWithList"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.inf\UserChoice"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.inf\OpenWithList"; ValueType: string; ValueName: "a"; ValueData: "Microsoft.WindowsNotepad_8wekyb3d8bbwe!App" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.inf\OpenWithList"; ValueType: string; ValueName: "b"; ValueData: "{{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.inf\OpenWithList"; ValueType: string; ValueName: "c"; ValueData: "Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.inf\OpenWithList"; ValueType: string; ValueName: "d"; ValueData: "Notepad3.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.inf\OpenWithList"; ValueType: string; ValueName: "MRUList"; ValueData: "bacd" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.inf\UserChoice"; ValueType: string; ValueName: "ProgId"; ValueData: "inffile" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ini\OpenWithList"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ini\UserChoice"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ini\OpenWithList"; ValueType: string; ValueName: "a"; ValueData: "Microsoft.WindowsNotepad_8wekyb3d8bbwe!App" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ini\OpenWithList"; ValueType: string; ValueName: "b"; ValueData: "{{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ini\OpenWithList"; ValueType: string; ValueName: "c"; ValueData: "Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ini\OpenWithList"; ValueType: string; ValueName: "d"; ValueData: "Notepad3.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ini\OpenWithList"; ValueType: string; ValueName: "MRUList"; ValueData: "bacd" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ini\UserChoice"; ValueType: string; ValueName: "ProgId"; ValueData: "inifile" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ps1\OpenWithList"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ps1\UserChoice"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ps1\OpenWithList"; ValueType: string; ValueName: "a"; ValueData: "Microsoft.WindowsNotepad_8wekyb3d8bbwe!App" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ps1\OpenWithList"; ValueType: string; ValueName: "b"; ValueData: "{{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ps1\OpenWithList"; ValueType: string; ValueName: "c"; ValueData: "Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ps1\OpenWithList"; ValueType: string; ValueName: "d"; ValueData: "Notepad3.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ps1\OpenWithList"; ValueType: string; ValueName: "MRUList"; ValueData: "bacd" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ps1\UserChoice"; ValueType: string; ValueName: "ProgId"; ValueData: "Microsoft.PowerShellScript.1" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psd1\OpenWithList"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psd1\UserChoice"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psd1\OpenWithList"; ValueType: string; ValueName: "a"; ValueData: "Microsoft.WindowsNotepad_8wekyb3d8bbwe!App" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psd1\OpenWithList"; ValueType: string; ValueName: "b"; ValueData: "{{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psd1\OpenWithList"; ValueType: string; ValueName: "c"; ValueData: "Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psd1\OpenWithList"; ValueType: string; ValueName: "d"; ValueData: "Notepad3.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psd1\OpenWithList"; ValueType: string; ValueName: "MRUList"; ValueData: "bacd" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psd1\UserChoice"; ValueType: string; ValueName: "ProgId"; ValueData: "Microsoft.PowerShellData.1" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psm1\OpenWithList"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psm1\UserChoice"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psm1\OpenWithList"; ValueType: string; ValueName: "a"; ValueData: "Microsoft.WindowsNotepad_8wekyb3d8bbwe!App" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psm1\OpenWithList"; ValueType: string; ValueName: "b"; ValueData: "{{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psm1\OpenWithList"; ValueType: string; ValueName: "c"; ValueData: "Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psm1\OpenWithList"; ValueType: string; ValueName: "d"; ValueData: "Notepad3.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psm1\OpenWithList"; ValueType: string; ValueName: "MRUList"; ValueData: "bacd" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psm1\UserChoice"; ValueType: string; ValueName: "ProgId"; ValueData: "Microsoft.PowerShellModule.1" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.log\OpenWithList"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.log\UserChoice"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.log\OpenWithList"; ValueType: string; ValueName: "a"; ValueData: "Microsoft.WindowsNotepad_8wekyb3d8bbwe!App" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.log\OpenWithList"; ValueType: string; ValueName: "b"; ValueData: "{{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.log\OpenWithList"; ValueType: string; ValueName: "c"; ValueData: "Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.log\OpenWithList"; ValueType: string; ValueName: "d"; ValueData: "Notepad3.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.log\OpenWithList"; ValueType: string; ValueName: "MRUList"; ValueData: "bacd" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.log\UserChoice"; ValueType: string; ValueName: "ProgId"; ValueData: "txtfile" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.scp\OpenWithList"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.scp\UserChoice"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.scp\OpenWithList"; ValueType: string; ValueName: "a"; ValueData: "Microsoft.WindowsNotepad_8wekyb3d8bbwe!App" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.scp\OpenWithList"; ValueType: string; ValueName: "b"; ValueData: "{{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.scp\OpenWithList"; ValueType: string; ValueName: "c"; ValueData: "Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.scp\OpenWithList"; ValueType: string; ValueName: "d"; ValueData: "Notepad3.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.scp\OpenWithList"; ValueType: string; ValueName: "MRUList"; ValueData: "bacd" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.scp\UserChoice"; ValueType: string; ValueName: "ProgId"; ValueData: "txtfile" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\UserChoice"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList"; ValueType: string; ValueName: "a"; ValueData: "Microsoft.WindowsNotepad_8wekyb3d8bbwe!App" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList"; ValueType: string; ValueName: "b"; ValueData: "{{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList"; ValueType: string; ValueName: "c"; ValueData: "Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList"; ValueType: string; ValueName: "d"; ValueData: "Notepad3.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList"; ValueType: string; ValueName: "MRUList"; ValueData: "bacd" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\UserChoice"; ValueType: string; ValueName: "ProgId"; ValueData: "txtfile" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.wtx\OpenWithList"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.wtx\UserChoice"; Flags: deletekey +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.wtx\OpenWithList"; ValueType: string; ValueName: "a"; ValueData: "Microsoft.WindowsNotepad_8wekyb3d8bbwe!App" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.wtx\OpenWithList"; ValueType: string; ValueName: "b"; ValueData: "{{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.wtx\OpenWithList"; ValueType: string; ValueName: "c"; ValueData: "Notepad.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.wtx\OpenWithList"; ValueType: string; ValueName: "d"; ValueData: "Notepad3.exe" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.wtx\OpenWithList"; ValueType: string; ValueName: "MRUList"; ValueData: "bacd" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.wtx\UserChoice"; ValueType: string; ValueName: "ProgId"; ValueData: "txtfile" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts"; ValueType: dword; ValueName: "Applications\Notepad3.exe_.inf"; ValueData: "0" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts"; ValueType: dword; ValueName: "Applications\Notepad3.exe_.ini"; ValueData: "0" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts"; ValueType: dword; ValueName: "Applications\Notepad3.exe_.ps1"; ValueData: "0" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts"; ValueType: dword; ValueName: "Applications\Notepad3.exe_.psd1"; ValueData: "0" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts"; ValueType: dword; ValueName: "Applications\Notepad3.exe_.psm1"; ValueData: "0" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts"; ValueType: dword; ValueName: "Applications\Notepad3.exe_.log"; ValueData: "0" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts"; ValueType: dword; ValueName: "Applications\Notepad3.exe_.scp"; ValueData: "0" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts"; ValueType: dword; ValueName: "Applications\Notepad3.exe_.txt"; ValueData: "0" +Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts"; ValueType: dword; ValueName: "Applications\Notepad3.exe_.wtx"; ValueData: "0" [Run] -Filename: {app}\Notepad3.exe; Description: {cm:LaunchProgram,{#app_name}}; WorkingDir: {app}; Flags: nowait postinstall skipifsilent unchecked -Filename: https://www.rizonesoft.com/downloads/notepad3/update/; Description: {cm:tsk_LaunchWelcomePage}; Flags: nowait postinstall shellexec skipifsilent unchecked - +Filename: "{app}\Notepad3.exe"; WorkingDir: "{app}"; Flags: nowait postinstall skipifsilent unchecked; Description: "{cm:LaunchProgram,{#app_name}}" +Filename: "https://www.rizonesoft.com/downloads/notepad3/update/"; Flags: nowait postinstall shellexec skipifsilent unchecked; Description: "{cm:tsk_LaunchWelcomePage}" [InstallDelete] -Type: files; Name: {userdesktop}\{#app_name}.lnk; Check: not WizardIsTaskSelected('desktopicon\user') and IsUpgrade() -Type: files; Name: {commondesktop}\{#app_name}.lnk; Check: not WizardIsTaskSelected('desktopicon\common') and IsUpgrade() -Type: files; Name: {userstartmenu}\{#app_name}.lnk; Check: not WizardIsTaskSelected('startup_icon') and IsUpgrade() -Type: files; Name: {#quick_launch}\{#app_name}.lnk; Check: not WizardIsTaskSelected('quicklaunchicon') and IsUpgrade(); OnlyBelowVersion: 6.01 -Type: files; Name: {userappdata}\Rizonesoft\Notepad3\themes\Sombra.ini -Type: files; Name: {app}\Notepad3.ini -Type: files; Name: {app}\Readme.txt -Type: files; Name: {app}\minipath.ini -Type: files; Name: {app}\grepWinNP3.ini - +Type: files; Name: "{userdesktop}\{#app_name}.lnk"; Check: not WizardIsTaskSelected('desktopicon\user') and IsUpgrade() +Type: files; Name: "{commondesktop}\{#app_name}.lnk"; Check: not WizardIsTaskSelected('desktopicon\common') and IsUpgrade() +Type: files; Name: "{userstartmenu}\{#app_name}.lnk"; Check: not WizardIsTaskSelected('startup_icon') and IsUpgrade() +Type: files; Name: "{#quick_launch}\{#app_name}.lnk"; OnlyBelowVersion: 6.01; Check: not WizardIsTaskSelected('quicklaunchicon') and IsUpgrade() +Type: files; Name: "{app}\Notepad3.ini" +Type: files; Name: "{app}\Readme.txt" +Type: files; Name: "{app}\minipath.ini" +Type: files; Name: "{app}\grepWinNP3.ini" [UninstallDelete] -Type: files; Name: {app}\Notepad3.ini -Type: files; Name: {app}\minipath.ini -Type: files; Name: {app}\grepWinNP3.ini -Type: dirifempty; Name: {app} - +Type: files; Name: "{app}\Notepad3.ini" +Type: files; Name: "{app}\minipath.ini" +Type: files; Name: "{app}\grepWinNP3.ini" +Type: dirifempty; Name: "{app}" [Code] const @@ -263,7 +362,6 @@ begin end; end; - // Check if "Open with Notepad3" is installed. function OpenWithCheck(): Boolean; var @@ -280,7 +378,6 @@ begin end; end; - #if defined(sse_required) || defined(sse2_required) function IsProcessorFeaturePresent(Feature: Integer): Boolean; external 'IsProcessorFeaturePresent@kernel32.dll stdcall'; @@ -312,7 +409,6 @@ begin Result := False; end; - function IsUpgrade(): Boolean; var sPrevPath: String; @@ -321,7 +417,6 @@ begin Result := (sPrevPath <> ''); end; - // Check if Notepad3's settings exist function SettingsExistCheck(): Boolean; begin @@ -335,7 +430,6 @@ begin end; end; - function UninstallOldVersion(sInfFile: String): Integer; var iResultCode: Integer; @@ -357,7 +451,6 @@ begin end; end; - function ShouldSkipPage(PageID: Integer): Boolean; begin // Hide the license page if IsUpgrade() @@ -365,7 +458,6 @@ begin Result := True; end; - procedure AddReg(); begin RegWriteStringValue(HKCR, 'Applications\notepad3.exe', 'AppUserModelID', 'Rizonesoft.Notepad3'); @@ -375,7 +467,6 @@ begin RegWriteStringValue(HKLM, APPH, 'Path', ExpandConstant('{app}')); end; - procedure CleanUpSettings(); begin DeleteFile(ExpandConstant('{userappdata}\Rizonesoft\Notepad3\Notepad3.ini')); @@ -384,7 +475,6 @@ begin RemoveDir(ExpandConstant('{userappdata}\Rizonesoft\Notepad3')); end; - procedure RemoveReg(); begin RegDeleteKeyIncludingSubkeys(HKCR, 'Applications\notepad3.exe'); @@ -393,7 +483,6 @@ begin RegDeleteKeyIncludingSubkeys(HKLM, APPH); end; - procedure CurPageChanged(CurPageID: Integer); begin if CurPageID = wpSelectTasks then @@ -402,7 +491,6 @@ begin WizardForm.NextButton.Caption := SetupMessage(msgButtonFinish); end; - procedure CurStepChanged(CurStep: TSetupStep); begin if CurStep = ssInstall then begin @@ -428,20 +516,32 @@ begin // This is the case where the old build is installed; the DefaulNotepadCheck() returns true // and the set_default task isn't selected - if not WizardIsTaskSelected('remove_default') then + if not WizardIsTaskSelected('remove_default') then begin RegWriteStringValue(HKLM, IFEO, 'Debugger', ExpandConstant('"{app}\Notepad3.exe" /z')); + RegWriteDWordValue(HKLM, IFEO, 'UseFilter', 0); + end; end; end; if CurStep = ssPostInstall then begin - if WizardIsTaskSelected('set_default') then + if WizardIsTaskSelected('set_default') then begin RegWriteStringValue(HKLM, IFEO, 'Debugger', ExpandConstant('"{app}\Notepad3.exe" /z')); - if WizardIsTaskSelected('remove_default') then + RegWriteDWordValue(HKLM, IFEO, 'UseFilter', 0); + end; + if WizardIsTaskSelected('remove_default') then begin RegDeleteValue(HKLM, IFEO, 'Debugger'); - RegDeleteKeyIfEmpty(HKLM, IFEO); - if WizardIsTaskSelected('set_openwith') then + RegWriteDWordValue(HKLM, IFEO, 'UseFilter', 1); + end else begin + If RegValueExists (HKLM, IFEO, 'Debugger') then begin + RegWriteDWordValue(HKLM, IFEO, 'UseFilter', 0); + end else begin + RegWriteDWordValue(HKLM, IFEO, 'UseFilter', 1); + end; + end; + if WizardIsTaskSelected('set_openwith') then begin RegWriteStringValue(HKCR, '*\shell\Open with Notepad3', 'Icon', ExpandConstant('{app}\Notepad3.exe,0')); RegWriteStringValue(HKCR, '*\shell\Open with Notepad3\command', '', ExpandConstant('"{app}\Notepad3.exe" "%1"')); + end; if WizardIsTaskSelected('remove_openwith') then begin RegDeleteKeyIncludingSubkeys(HKCR, '*\shell\Open with Notepad3'); end; @@ -450,7 +550,6 @@ begin end; end; - procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep); begin // When uninstalling, ask the user to delete Notepad3's settings @@ -459,14 +558,14 @@ begin if SuppressibleMsgBox(CustomMessage('msg_DeleteSettings'), mbConfirmation, MB_YESNO or MB_DEFBUTTON2, IDNO) = IDYES then CleanUpSettings(); end; - if DefaulNotepadCheck() then + if DefaulNotepadCheck() then begin RegDeleteValue(HKLM, IFEO, 'Debugger'); - RegDeleteKeyIfEmpty(HKLM, IFEO); + RegWriteDWordValue(HKLM, IFEO, 'UseFilter', 1); + end; RemoveReg(); end; end; - procedure InitializeWizard(); begin WizardForm.SelectTasksLabel.Hide;