Customizing PC Client
You can configure ProPTT2 PC client by modification ProPTT2.ini file.
1. ProPTT2.ini
ProPTT2.ini is on {PC client installed directory}.
[Login] DisableService=true CompanyLogo=setuplogo.png ServerAddress=127.0.0.1 UseSecureLogin=true Domain=ourcompany.com [Main] CompanyLogo=mainlogo.png CompanyBigLogo=mainbiglogo.png [Setup] ProductName=OurCompany CopyRight=OurCompany Reserved CompanyLogo=setuplog.png |
2. Login
- "DisableService=true" can remove service features.
- [Login] "CompanyLogo" can be appeared logo position. It must be a png file.(220x65)
- "ServerAddress" can fix server address as your server.
- "UseSecureLogin" is a log in option.
- "Domain" can fix user ID's domain as your domain.
3. Main and Setup
- [Main] "CompanyLogo" can be appeared logo position on the main screen. It must be a png file.(82x18)
- [Main] "CompanyBigLogo" can be appeared logo position on the main screen. The big logo has high priority. It must be a png file.(164x18)
- "ProductName" can be appeared at product name on product information.
- "CopyRight" can be appeared at copyright on product information.
- [Setup] "CompanyLogo" can be appeared logo position. It must be a png file.(300x120)
- When you select "DisableService=true" and "ProductName", "Powered By ProPTT2" can be appeared at below on product information.
4. Icon
You can use "Resource Hacker" program to change PC client's icon. But it is not recommended.
When you change the icon, ProPTT2.exe's signning would be released. So there could be a issue with Windows 10 Defence or security tools.
* Please note you can not change exe name(ProPTT2.exe). If the exe name is changed, login would be failed.
5. Install package
You can make your install package by using install program like a NSIS.
In install package, you have to add Visual Studio 2019 Visual C++ Redistributable Package and Windows Edge Redistributable Package from Microsoft.
ProPTT2 only use file copy for installing.There is no other script.
So you can copy original files and your customized files.
Must sign the install.exe to void Windows 10 Defence.
Sample Project
Sample | NSIS 3.06.1 | Down |
---|