출처 : http://isskin.codejock.com/ ( IS Skin by Codejock )
IS Skin 은 이노셋업 스킨 ( Inno Setup Skin )의 약자입니다.
IS Skin 은 총 4가지 색이 있습니다.
그중에서도 제가 가장 애용하는 Black 을 기준으로 설명드리겠습니다.
우선 아래의 파일을 다운로드 받아주세요
Latest Version: 3.0.0.0 ( Janurary 19, 2010 ) 버전
다운로드 받은 파일을 실행해 설치를 하신후에 ISS 스크립트를 열어서 스킨을 적용할 차례입니다.
아래의 코드를 섹션에 맞춰서 넣어주세요
[Files]
Source: IS Skin 설치경로\ISSkin.dll; DestDir: {app}; Flags: dontcopy
Source: IS Skin 설치경로\Office2007.cjstyles; DestDir: {tmp}; Flags: dontcopy
Source: IS Skin 설치경로\ISSkin.dll; DestDir: {app}; Flags: dontcopy
Source: IS Skin 설치경로\Office2007.cjstyles; DestDir: {tmp}; Flags: dontcopy
[Code]
procedure LoadSkin(lpszPath: String; lpszIniFileName: String);
external 'LoadSkin@files:isskin.dll stdcall';
procedure UnloadSkin();
external 'UnloadSkin@files:isskin.dll stdcall';
function ShowWindow(hWnd: Integer; uType: Integer): Integer;
external 'ShowWindow@user32.dll stdcall';
function InitializeSetup(): Boolean;
begin
ExtractTemporaryFile('Office2007.cjstyles');
LoadSkin(ExpandConstant('{tmp}\Office2007.cjstyles'), ' NormalBlack.ini ');
Result := True;
end;
procedure DeinitializeSetup();
begin
ShowWindow(StrToInt(ExpandConstant('{wizardhwnd}')), 0);
UnloadSkin();
end;
procedure LoadSkin(lpszPath: String; lpszIniFileName: String);
external 'LoadSkin@files:isskin.dll stdcall';
procedure UnloadSkin();
external 'UnloadSkin@files:isskin.dll stdcall';
function ShowWindow(hWnd: Integer; uType: Integer): Integer;
external 'ShowWindow@user32.dll stdcall';
function InitializeSetup(): Boolean;
begin
ExtractTemporaryFile('Office2007.cjstyles');
LoadSkin(ExpandConstant('{tmp}\Office2007.cjstyles'), ' NormalBlack.ini ');
Result := True;
end;
procedure DeinitializeSetup();
begin
ShowWindow(StrToInt(ExpandConstant('{wizardhwnd}')), 0);
UnloadSkin();
end;
을 하시면 모두 완성입니다.
이제 컴파일 하신후에 파일을 실행해 보시면 검은색 스킨으로 덮어 씌워져 있습니다
빨간 부분을 변경하시면 색 변경이 가능합니다.
더 많은 색 사용법
NormalBlack.ini 을 NormalAqua.ini , NormalSilver.ini , NormalBlue.ini 로 바꾸시면 더 많은 색을 사용가능
좋은 팁 되시길 바라면서
이노 셋업 (Inno Setup) 으로 좋은 인스톨러 만드세요~
'자료 > Inno-Setup' 카테고리의 다른 글
이노 셋업 (Inno Setup) // 다운로더 한글화 하는법 (1) | 2010.09.14 |
---|---|
이노셋업 (Inno Setup) // About , 홈페이지 버튼 만들기 (1) | 2010.09.13 |
Inno Setup :: 이노 셋업 업데이트 기능 (0) | 2010.08.04 |
이노 셋업(Inno Setup) :: 사용자 지정 설치 (1) | 2010.07.14 |
이노 셋업(Inno Setup) :: 포함 스크립트 (#Includes Script) (0) | 2010.07.14 |
[IS] Inno Setup 직접짜본 샘플 스크립트 (0) | 2010.06.05 |
[IS] Inno Setup ! (0) | 2010.05.24 |