How to use ISSkin to add skin to the installation program made by Unicode Inno Setup?

Time:2019-9-3

What is ISSkin? How does ISSkin work? ISSkin is an Inno Setup skin plug-in produced by Code Jock Company. It is used to provide skin function for Inno’s installation program. ISSkin provides you with the flexibility to create custom visual styles that can be used with innovative installers, adding a rich professional look to any innovative installer installation and the best free of charge. Next, the developpaer editor will give you a detailed description of the specific methods and steps of using ISSkin to add skin to the installer in Unicode Inno Setup, hoping to help you!

Software Name:
ISSkin (Inno Setup Skin Maker) v3.0 Free Chinese Installation Edition
Software size:
2.01MB
Update time:
2018-05-24

Since Delphi’s release in 2009, Inno Setup has started to come out with a version that supports Unicode encoding, namely the 5.3.x series, and is officially available in both Ansi and Unicode versions.

If you know Delphi 2009 friends, you should be very familiar with this version of Unicode support, here is not much to introduce.

Unicode version of Inno Setup script will store all strings as Unicode strings, using double byte encoding, including ASCII code. If calling plug-ins developed for early Ansi version involves string String, it should be explicitly modified to AnsiString, so as to ensure that Unicode strings are correctly converted to Ansi strings.

Here we need to solve the problems caused by this.

The latest version of ISSkin is 2.0.0, and the string is encoded by Ansi, so the Code snippet introduced on the official home page needs to be modified.

This article introduces the use of ISSkin to add skin to Unicode Inno Setup’s installation program.

The first step is to add the dynamic link library ISSkin. DLL and skin file of the plug-in ISSkin to the File section.

For example:

[Files]

Source: ISSkin.dll; DestDir: {app}; Flags: dontcopy

Source: Office2007.cjstyles; DestDir: {tmp}; Flags: dontcopy

The second step is to declare the API in the Code section. Note that the original String is changed to AnsiString here.

For example:

[Code]

procedure LoadSkin(lpszPath: AnsiString; lpszIniFileName: AnsiString);external ‘[email protected]:isskin.dll stdcall’;

procedure UnloadSkin();external ‘[email protected]:isskin.dll stdcall’;

function ShowWindow(hWnd: Integer; uType: Integer): Integer;

external ‘[email protected] stdcall’;

Third, overload the InitializeSetup and DeinitializeSetup functions to invoke the ISSkin plug-in functionality

For example:

procedure DeinitializeSetup();

begin

ShowWindow(StrToInt(ExpandConstant(‘{wizardhwnd}’)), 0);

UnloadSkin();

end;

Okay, now take a screenshot and see the effect.

At the end of the article, the above is about how to use ISSkin to add skin to the installation program made by Unicode Inno Setup. The edition will introduce you here. If you think this article is good and helpful to you, please share it with more people. More exciting, all in the developpaer website!

Recommended Today

AttributeError: ‘Settings’ object has no attribute ‘HBase’

Django custom configuration error: attributeerror: ‘Settings’ object has no attribute’ HBase ‘ If we need to useHbaseIf so, you can followMysqlSimilarly, write the relevant configuration information to thesettingsFile, but I encountered a problem, that is, I can’t import it. In [12]: settings.HBASE ————————————————————————— AttributeError Traceback (most recent call last) <ipython-input-12-22bd47148938> in <module> —-> 1 settings.HBASE […]