Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
이상민
FontManager3-Installer
Commits
8023376e
Commit
8023376e
authored
Feb 24, 2023
by
PA-ROGS\whitrail
Browse files
2023.02.24 - 3.0.36 MRB23022401.DNF4 릴리즈2
- 설치 프로세스 / 프로그램 실행 위치를 변경
parent
73cbddd8
Changes
3
Hide whitespace changes
Inline
Side-by-side
FontManager/FontManager.exe
View file @
8023376e
No preview for this file type
Output/FontBada3_Manager_Setup-3.0.36.MRB23022401.LGC.exe
View file @
8023376e
No preview for this file type
fontbada3.iss
View file @
8023376e
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
#define MyAppDataName "fontbada3"
#define MyAppDataName "fontbada3"
#define MyAppProcessName "FontManager"
#define MyAppProcessName "FontManager"
#define MyAppPrjFilePath "{pf}\hanyang"
#define MyAppPrjFilePath "{pf}\hanyang"
#define MyAppRootPath "{
user
appdata}\
..\Local\
hanyang"
#define MyAppRootPath "{
local
appdata}\hanyang"
#define MyAppWindowName "FontbadaManager"
#define MyAppWindowName "FontbadaManager"
#define MyAppFilter "fontmanager.exe"
#define MyAppFilter "fontmanager.exe"
...
@@ -339,7 +339,10 @@ type
...
@@ -339,7 +339,10 @@ type
end;
end;
TProcessEntryList = array of TProcessEntry;
TProcessEntryList = array of TProcessEntry;
var
ExitCode: Boolean;
function GetProcessList(const Filter: string; out List: TProcessEntryList): Integer;
function GetProcessList(const Filter: string; out List: TProcessEntryList): Integer;
var
var
I: Integer;
I: Integer;
...
@@ -373,7 +376,6 @@ end;
...
@@ -373,7 +376,6 @@ end;
function IsFontManagerProcesss: Boolean;
function IsFontManagerProcesss: Boolean;
var
var
S: string;
I: Integer;
I: Integer;
Filter: string;
Filter: string;
ProcessList: TProcessEntryList;
ProcessList: TProcessEntryList;
...
@@ -421,6 +423,39 @@ begin
...
@@ -421,6 +423,39 @@ begin
end;
end;
procedure DeinitializeSetup();
var
ResultCode: Integer;
begin
// Log(Format('DeinitializeSetup ExitCode -> [ %d ]', [ExitCode]));
if ExitCode = True then
begin
Exec(ExpandConstant('{#MyAppPrjFilePath}\{#MyAppFolderName}\{#MyAppProcessName}.exe'), '', '', SW_SHOW, ewNoWait, ResultCode);
end;
end;
procedure CancelButtonClick(CurPageID: Integer; var Cancel, Confirm: Boolean);
begin
ExitCode := False;
end;
procedure CurStepChanged(CurStep: TSetupStep);
begin
if CurStep = ssInstall then
begin
// Log(Format('CurStepChanged CurStep -> [ %d ]', [CurStep]));
ExitCode := True;
end
else if CurStep = ssDone then
begin
// Log(Format('CurStepChanged CurStep -> [ %d ]', [CurStep]));
ExitCode := True;
end;
end;
procedure InitializeWizard;
procedure InitializeWizard;
begin
begin
with TNewStaticText.Create(WizardForm) do
with TNewStaticText.Create(WizardForm) do
...
@@ -451,6 +486,7 @@ var
...
@@ -451,6 +486,7 @@ var
ResultCode: Integer;
ResultCode: Integer;
UnInstallString: string;
UnInstallString: string;
begin
begin
ExitCode := False;
Result := False;
Result := False;
// 폰트바다 매니저 실행 상태 확인
// 폰트바다 매니저 실행 상태 확인
...
@@ -483,4 +519,3 @@ Name: {userstartup}\
...
@@ -483,4 +519,3 @@ Name: {userstartup}\
[Run]
[Run]
Filename: "schtasks";Parameters: "/create /sc onLogon /tn FontManager /tr /f ""'{#MyAppPrjFilePath}\{#MyAppFolderName}\{#MyAppProcessName}.exe'"" /RL HIGHEST /DELAY 0000:10"; Flags:ShellExec;
Filename: "schtasks";Parameters: "/create /sc onLogon /tn FontManager /tr /f ""'{#MyAppPrjFilePath}\{#MyAppFolderName}\{#MyAppProcessName}.exe'"" /RL HIGHEST /DELAY 0000:10"; Flags:ShellExec;
Filename: {#MyAppPrjFilePath}\{#MyAppFolderName}\{#MyAppProcessName}.exe; Flags: nowait postinstall skipifsilent;
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment