This commit is contained in:
biosvos
2026-08-07 17:38:18 +09:00
commit 873193a243
9613 changed files with 2755992 additions and 0 deletions
@@ -0,0 +1,95 @@
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{0A6F3AEE-1BE4-4520-A27C-0AE1E2690144}
AppName=sp-console
AppVerName=sp-console 3.4.0
AppPublisher=Solbox Inc.
AppPublisherURL=http://www.solbox.com
AppSupportURL=http://www.solbox.com
AppUpdatesURL=http:///www.solbox.com
DefaultDirName={pf}\LGUplus\sp-console
DefaultGroupName=sp-console
;LicenseFile=./LGU/_license.rtf
OutputDir=.\Output-LGU
OutputBaseFilename=sp-console_Setup
SetupIconFile=..\Common\res\ConsoleApp_LGU.ico
Compression=lzma
SolidCompression=true
EnableDirDoesntExistWarning=true
AppendDefaultDirName=false
UsePreviousAppDir=false
[Languages]
Name: english; MessagesFile: compiler:Default.isl
[Tasks]
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: checkedonce
Name: startupicon; Description: {cm:CreateQuickLaunchIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: checkedonce
[Files]
;Source: release\vcredist_x86.exe; DestDir: {tmp}; Flags: deleteafterinstall
;Source: release\vcredist_x86_vs2010_sp1.exe; DestDir: {tmp}; Flags: deleteafterinstall
Source: ../_Bin/SPConsole/release_LGU\SP-Console.exe; DestDir: {app}; Flags: ignoreversion; Permissions: users-full
Source: _public\readme.txt; DestDir: {app}; Flags: ignoreversion; Permissions: users-full
Source: ../_Bin/SPConsole/release_LGU\SPCComm.dll; DestDir: {app}; Flags: ignoreversion; Permissions: users-full
Source: ../_Bin/SPConsole/release_LGU\SHCSDK.dll; DestDir: {app}; Flags: ignoreversion; Permissions: users-full
Source: ../_Bin/SPConsole/release_LGU\SHSSDK.dll; DestDir: {app}; Flags: ignoreversion; Permissions: users-full
Source: ../_Bin/SPConsole/release_LGU\SP-Console.exe; DestDir: {app}; Flags: ignoreversion; Permissions: users-full
Source: LGU\SP-Console.ini; DestDir: {app}; Flags: ignoreversion; Permissions: users-full
Source: _public\SP-Console.xml; DestDir: {app}; Flags: ignoreversion; Permissions: users-full
Source: ../_Bin/SPConsole/release_LGU\SPCTran.exe; DestDir: {app}; Flags: ignoreversion; Permissions: users-full
Source: ../_Bin/SPConsole/release_LGU\SP-Updater.exe; DestDir: {app}; Flags: ignoreversion; Permissions: users-full
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
Source: _public\PTxSCP.ocx; DestDir: {sys}; Flags: regserver ignoreversion; Permissions: users-full; Tasks: ; Languages:
Source: _public\PTxSCP.lic; DestDir: {sys}; Flags: ignoreversion
Source: _public\PTxSCP.oca; DestDir: {sys}; Flags: ignoreversion
[Icons]
Name: {group}\sp-console; Filename: {app}\SP-Console.exe
Name: {group}\{cm:UninstallProgram,sp-console}; Filename: {uninstallexe}
Name: {commondesktop}\sp-console; Filename: {app}\SP-Console.exe; Tasks: desktopicon
Name: {commonstartmenu}\sp-console; Filename: {app}\SP-Console.exe; Tasks: startupicon
[code]
function check_vcredist_x86(): Boolean;
begin
Result := true;
// Check for required vcredist_x86 installation
// if (RegKeyExists(HKEY_LOCAL_MACHINE,'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{887868A2-D6DE-3255-AA92-AA0B5A59B874}')) then begin
if (RegKeyExists(HKEY_LOCAL_MACHINE,'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5}')) then begin
// 존재하는 경우
Result := true;
end else begin
// 존재 하지 않는 경우
//MsgBox('SP-Console과 호환이 필요한 VC++ 2008 재배포 패키지가 설치되어 있지않아 설치를 진행합니다. ', mbInformation, MB_OK);
MsgBox('SP-Console과 호환이 필요한 VC++ 2010 SP1 재배포 패키지가 설치되어 있지않아 설치를 진행합니다. ', mbInformation, MB_OK);
Result := false;
end;
end;
function VCRedistNeedsInstall: Boolean;
begin
// here the Result must be True when you need to install your VCRedist
// or False when you don't need to, so now it's upon you how you build
// this statement, the following won't install your VC redist only when
// the Visual C++ 2010 Redist (x86) and Visual C++ 2010 SP1 Redist(x86)
// are installed for the current user
Result := not (check_vcredist_x86());
end;
[Run]
; Filename: {tmp}\vcredist_x86_vs2010_sp1.exe; Check: VCRedistNeedsInstall
Filename: {app}\SP-Console.exe; Description: {cm:LaunchProgram,sp-console}; Flags: nowait postinstall skipifsilent
[UninstallDelete]
Name: {app}\update; Type: filesandordirs