• Loading...
Sign in to follow this  
Karb10

Inno setup tema dəyişmək [izahlı]

Recommended Posts

                                          21.png?w=820

 

Salam.Bugün sizə inno setup proqramında setupun temasını dəyişməyi izah edəcəm

Bunun üçün vlc styles əlavəsi lazımdı

Yükləmə linki -  http://www.share.az/mkcn3mzhh08a/SetupVCLStylesInno.rar.html

 

Sonra VclStylesinno.dll  və Styles\Auric.vsf fayllarını setupa daxil edirik.Dediyim fayllar vlc style əlavəsinə daxil edilib

 

İnno setupda aşağıdakı kodları əlavə edib run seçirsiz

[Files]
Source: ..\VclStylesinno.dll; DestDir: {app}; Flags: dontcopy
;Source: ..\Win32\Debug\VclStylesinno.dll; DestDir: {app}; Flags: dontcopy
Source: ..\Styles\Auric.vsf; DestDir: {app}; Flags: dontcopy


[Code]
// Import the LoadVCLStyle function from VclStylesInno.DLL
procedure LoadVCLStyle(VClStyleFile: String); external 'LoadVCLStyleW@files:VclStylesInno.dll stdcall';
// Import the UnLoadVCLStyles function from VclStylesInno.DLL
procedure UnLoadVCLStyles; external 'UnLoadVCLStyles@files:VclStylesInno.dll stdcall';

function InitializeSetup(): Boolean;
begin
	ExtractTemporaryFile('Auric.vsf');
	LoadVCLStyle(ExpandConstant('{tmp}\Auric.vsf'));
	Result := True;
end;

procedure DeinitializeSetup();
begin
	UnLoadVCLStyles;
end;

Vlc Style əlavəsi Azərbaycan şriftləri ilə tam uyğundur

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • loading...