擎曄軟體授權啟動教學

Chingyeh Software License Activation Tutorial

啟動碼範例 (Activation Code Example):

xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx MyProduct_2026.1
0

如何安裝 (How to Install Extension)

在執行啟動工具前,請確保您的環境已正確部署 gjLicensegjUtility 模組:

方法 1:手動指定查詢路徑 (Manual Path)

下載並解壓縮擴充功能後,在您的 Python 腳本開頭加入該目錄路徑:

import sys
import os

# 假設擴充功能解壓在目前的資料夾下
ext_path = os.path.dirname(os.path.abspath(__file__))
if ext_path not in sys.path:
    sys.path.insert(0, ext_path)

方法 2:放置於標準庫目錄 (Global Install)

gjLicense.pygjUtility.py (或其對應編譯檔) 直接複製到 Python 的 site-packages 資料夾中:

Windows: C:\PythonXX\Lib\site-packages\
1

環境檢查與準備 (Preparation)

當您啟動 activate_tool.py 時,系統會自動偵測您的硬體資訊:

  • Device MAC: 顯示目前綁定的網卡地址。
  • Warning: Virtual MAC detected: 若顯示此警告,代表偵測到虛擬網卡,建議更換為實體網卡以確保授權穩定性。

重要 (Notice):

授權將會與此 MAC 地址綁定。如需移機,請先進行「解除授權」步驟。

2

線上啟動流程 (Online Activation)

步驟 A:選擇功能

在主選單輸入 A 進入啟動模式。

Options:
[A] Activate a new key
[D] Deactivate an existing key
[Q] Quit
Please select an option: A

步驟 B:輸入代碼

貼上您的啟動碼。系統將檢查網際網路連接並嘗試自動啟動。

Enter your Activation Code: (貼上代碼)
Checking internet connection...
Attempting online activation...
SUCCESS: License Activated
3

離線啟動流程 (Offline Activation)

若您的設備無法連接至網路,系統會自動切換為離線模式:

1. 取得請求連結 (Get URL)

系統會生成一個帶有 Request 代碼的連結。請將此連結複製到有網路的設備(如手機)上開啟:

https://lom.drabba.net?request=...

2. 取得回應碼 (Get Response)

在網頁上填寫後,網頁會給您一段「回應碼 (Response Code)」。

3. 貼回程式 (Paste Back)

回到程式視窗,將回應碼貼上並按 Enter:

Paste Response: (貼上回應碼)
Result: SUCCESS
4

解除授權 (Deactivation)

若您需要將授權轉移至其他電腦,請按照以下步驟:

  1. 選擇選單中的 [D] Deactivate
  2. 輸入授權對應的編號 (例如:1)。
  3. 程式將連接伺服器並註銷目前的 MAC 地址。