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

Image 1. Login UI
  • "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

Image 2. Main UI
  • [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 Install Shield.
In install package, you have to add Visual Studio 2013 Visual C++ Redistributable Package.
ProPTT2 only use file copy for installing.There is no other script.
So you can copy original files and you customized files.

Set IE version for Map feature
ProPTT2 required IE11 for Map servce.
Please refer to https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/general-info/ee330730(v=vs.85)

HKEY_LOCAL_MACHINE
   SOFTWARE (32-bit)
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_BEHAVIORS
                     ProPTT2.exe = (DWORD) 11000


HKEY_LOCAL_MACHINE
   SOFTWARE (64-bit)
      Wow6432Node
         Microsoft
            Internet Explorer
               Main
                  FeatureControl
                     FEATURE_BEHAVIORS
                        ProPTT2.exe = (DWORD) 11000

Must sign the setup.exe to void Windows 10 Defence.

Sample Project

SampleVisual Studio 2013
InstallShield 2015 Limited Edition
Down