mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-02-06 15:04:58 +00:00
Edit installer files
This commit is contained in:
parent
c9c6481b3f
commit
30ab79eae3
|
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||||
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를
|
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를
|
||||||
// 기본값으로 할 수 있습니다.
|
// 기본값으로 할 수 있습니다.
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.0.0.0")]
|
[assembly: AssemblyVersion("0.2.7.12")]
|
||||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
[assembly: AssemblyFileVersion("0.2.7.12")]
|
||||||
|
|
|
@ -6,6 +6,9 @@ rem https://github.com/gnh1201/welsonjs
|
||||||
pushd %~dp0
|
pushd %~dp0
|
||||||
echo [*] Starting WelsonJS pre-configure script...
|
echo [*] Starting WelsonJS pre-configure script...
|
||||||
|
|
||||||
|
echo [*] Registering HTA file association...
|
||||||
|
reg import Default_HTA.reg
|
||||||
|
|
||||||
echo [*] Unlocking the performance limit of the GUI(MSHTML) environment...
|
echo [*] Unlocking the performance limit of the GUI(MSHTML) environment...
|
||||||
reg add "HKCU\Software\Microsoft\Internet Explorer\Styles" /f
|
reg add "HKCU\Software\Microsoft\Internet Explorer\Styles" /f
|
||||||
reg add "HKCU\Software\Microsoft\Internet Explorer\Styles" /v "MaxScriptStatements" /t REG_DWORD /d 0xFFFFFFFF /f
|
reg add "HKCU\Software\Microsoft\Internet Explorer\Styles" /v "MaxScriptStatements" /t REG_DWORD /d 0xFFFFFFFF /f
|
||||||
|
@ -19,5 +22,3 @@ echo [*] Registering WelsonJS native component...
|
||||||
%WINDIR%\Microsoft.NET\Framework64\v2.0.50727\RegAsm.exe /codebase bin\x64\WelsonJS.Toolkit.dll
|
%WINDIR%\Microsoft.NET\Framework64\v2.0.50727\RegAsm.exe /codebase bin\x64\WelsonJS.Toolkit.dll
|
||||||
|
|
||||||
echo Done
|
echo Done
|
||||||
|
|
||||||
pause
|
|
||||||
|
|
17
setup.iss
17
setup.iss
|
@ -1,5 +1,5 @@
|
||||||
; @created_on 2020-06-26
|
; @created_on 2020-06-26
|
||||||
; @updated_on 2023-09-11
|
; @updated_on 2024-05-13
|
||||||
; @author Namhyeon Go <abuse@catswords.net>
|
; @author Namhyeon Go <abuse@catswords.net>
|
||||||
|
|
||||||
[Setup]
|
[Setup]
|
||||||
|
@ -36,7 +36,9 @@ Source: "app.js"; DestDir: "{app}";
|
||||||
Source: "app.hta"; DestDir: "{app}";
|
Source: "app.hta"; DestDir: "{app}";
|
||||||
Source: "Default_HTA.reg"; DestDir: "{app}";
|
Source: "Default_HTA.reg"; DestDir: "{app}";
|
||||||
Source: "LICENSE"; DestDir: "{app}";
|
Source: "LICENSE"; DestDir: "{app}";
|
||||||
|
Source: "LICENSE_MSRL"; DestDir: "{app}";
|
||||||
Source: "*.md"; DestDir: "{app}";
|
Source: "*.md"; DestDir: "{app}";
|
||||||
|
Source: "preconfigure.bat"; DestDir: "{app}";
|
||||||
Source: "start.bat"; DestDir: "{app}";
|
Source: "start.bat"; DestDir: "{app}";
|
||||||
Source: "uriloader.js"; DestDir: "{app}";
|
Source: "uriloader.js"; DestDir: "{app}";
|
||||||
Source: "webloader.js"; DestDir: "{app}";
|
Source: "webloader.js"; DestDir: "{app}";
|
||||||
|
@ -60,7 +62,7 @@ Name: "{group}\Uninstall {cm:AppName}"; Filename: "{uninstallexe}"; AfterInstall
|
||||||
; Filename: {app}\bin\gtk2-runtime-2.24.33-2021-01-30-ts-win64.exe;
|
; Filename: {app}\bin\gtk2-runtime-2.24.33-2021-01-30-ts-win64.exe;
|
||||||
; Filename: {app}\bin\nmap-7.92\VC_redist.x86.exe;
|
; Filename: {app}\bin\nmap-7.92\VC_redist.x86.exe;
|
||||||
; Filename: {app}\bin\nmap-7.92\npcap-1.50.exe;
|
; Filename: {app}\bin\nmap-7.92\npcap-1.50.exe;
|
||||||
Filename: {app}\IEMaxScriptStatements.bat;
|
Filename: {app}\preconfigure.bat;
|
||||||
Filename: {app}\start.bat;
|
Filename: {app}\start.bat;
|
||||||
|
|
||||||
[UninstallRun]
|
[UninstallRun]
|
||||||
|
@ -72,6 +74,9 @@ Filename: {app}\start.bat;
|
||||||
AppName=WelsonJS
|
AppName=WelsonJS
|
||||||
|
|
||||||
[Code]
|
[Code]
|
||||||
|
const
|
||||||
|
UninstSiteURL = 'https://policy.catswords.social/voc_en.html';
|
||||||
|
|
||||||
procedure SetElevationBit(Filename: string);
|
procedure SetElevationBit(Filename: string);
|
||||||
var
|
var
|
||||||
Buffer: string;
|
Buffer: string;
|
||||||
|
@ -98,3 +103,11 @@ begin
|
||||||
if IsWin64 then Result := ExpandConstant('{commonpf64}')
|
if IsWin64 then Result := ExpandConstant('{commonpf64}')
|
||||||
else Result := ExpandConstant('{commonpf32}')
|
else Result := ExpandConstant('{commonpf32}')
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
|
||||||
|
var
|
||||||
|
ErrorCode: Integer;
|
||||||
|
begin
|
||||||
|
if CurUninstallStep = usDone then
|
||||||
|
ShellExec('explorer', UninstSiteURL, '', '', SW_SHOW, ewNoWait, ErrorCode);
|
||||||
|
end;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user