Announcement

Collapse
No announcement yet.

ลงทะเบียนโปรแกรมอย่างมืออาชีพ

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ลงทะเบียนโปรแกรมอย่างมืออาชีพ

    ผมคิดอยู่นานว่าจะให้ความรู้เกี่ยวกับ Register ดีหรือไม่? เพราะมีแฟนคลับเรียกร้องกันมาเยอะ
    เอาเป็นว่า..ลงให้พอเป็นน้ำจิ้ม ไปศึกษาต่อก็แล้วกัน
    ------------------------------------------------------------------------
    ขั้นแรกให้ท่านเตรียมโปรแกรมที่ต้องการติดตั้งและซีเรียลนัมเบอร์ไว้ให้พร้อม
    (ต้องเป็นโปรแกรมที่ซื้อมาถูกต้อง ไม่ละเมิดลิขสิทธฺ์เขานะครับ)
    จากนั้นให้ลงโปรแกรมไปตามปกติ ..ลงโปรแกรมเสร็จ ให้ใส่ซีเรียลนัมเบอร์
    จด username และ password ไว้ เดี๋ยวเราต้องเข้าไปค้นหาใน Registry
    ------------------------------------------------------------------------
    คลิ๊กที่ Start / Run ..พิมพ์คำว่า.. regedit ลงไปในช่อง กด enter
    หน้าต่างโปรแกรม Registry Editor จะเปิดขึ้นมา
    คลิ๊กที่เมนู Edit ..เลือกคลิ๊กที่ Find...
    ใส่ซีเรียลนัมเบอร์ หรือ password ที่ท่านจดไว้ ลงไปในช่อง Find ..กด enter
    ------------------------------------------------------------------------
    อันนี้คือภาพที่ลงทะเบียน ใส่ username และ password ไว้แล้ว เป็นของเกมส์ เกมส์หนึ่ง
    (ต้องปิดบังไว้บางส่วน ป้องกันการละเมิดลิขสิทธฺ์)



    คลิ๊กที่โฟลเดอร์โปรแกรมเกมส์(3) Export เป็นไฟล์ .reg ไปใช้ลงทะเบียนได้
    ------------------------------------------------------------------------
    การลงเบียนโปรแกรม ด้วย Autoit v3 ด้วยคำสั่ง.. Reg Write
    คำสั่ง: RegWrite เป็นคำสั่งที่ใช้ในการเขียนข้อความ(data)ลงในระบบฐานข้อมูลของวินโดว์
    โดยอ้างชื่อ..key , value และ type เพื่อเขียน data
    รูปแบบ:
    Code:
    RegWrite ("keyname" [,"valuename", "type", value])
    --------------------------------------------------------
    -:อธิบายคำสั่งที่อยู่ในวงเล็บ:-
    keyname หมายถึง HKEY path โปรแกรม แบ่งออกเป็น 2 ส่วนที่ใช้ คือ
    HKEYได้แก่..
    1.HKEY_LOCAL_MACHINE
    2.HKEY_CURRENT_USER
    ----------------------
    path หมายถึง โฟลเดอร์ที่เก็บ data หรือ ข้อมูลต่างๆของโปรแกรมที่เราลงไว้ แบ่งออกเป็น 2 ส่วนที่ใช้ คือ
    --------------------------------------------------------
    1.valuename หมายถึงชื่อของช่องกรอกข้อความ(data)อันได้แก่RegnameและRegistration
    2.type หมายถึง ชนิดหรือสกุล data ที่กรอก ต้องระบุให้ถูกต้อง เช่น. REG_SZ หรือ REG_DWORD
    -----------------------------------------------------------
    value หมายถึง data หรือ ข้อความ ที่เราต้องการกรอกลงในช่อง RegnameและRegistration
    ----------------------------------------------------------
    วิธีลงทะเบียน:
    ที่name ..ดับเบิ้ลคลิ๊กที่ชื่อRegnameและRegistration ..จะมีช่องขึ้นมาให้กรอกข้อความลงทะเบียน
    ------------------------------------------------------------
    AutoInstall SourceCode(Autoit v3)Sample

    Code:
    $btn1 = MsgBox(36, "ChxxxGame AutoSetup", "Do you wanted to install?")
    If $btn1 = 6 Then
    ShellExecuteWait("Chxxx.exe", "/s", "", "open")
    $btn2 = MsgBox(64, "", "Completed.")
    If $btn2 = 1 Then
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\GameHxxx\chaxxx", "RegName", "REG_SZ", "Dxxx Bxxx")
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\GameHxxx\chaxxx", "Registration", "REG_SZ", "RxxxFEExxxFAxxx")
    Exit
    EndIf
    EndIf
    -----------------------------------------------------------------------------
    คำสั่ง RegWrite ใน AutoPlay Media Studio(Action Wizard)
    รูปแบบ:
    Code:
    Registry.SetValue (number MainKey, string SubKey, string Value, string Data, number Type = REG_SZ )
    -----------------------------------------------------------------------------
    คำสั่งรันไฟล์ .reg ทาง Command Line .bat
    -:รูปแบบและรายละเอียด:-
    Code:
    REGEDIT [/L:system] [/R:user] [/C] [/R] [/E] [/S] [/C] filename [Registry_key]
    /S The /s or -s regedit commands can be added to the command to suppress the confirmation box "Are you sure want to add the information in hope.reg to the registry?" when running the command at the command line. For example, using the same command used earlier you can type: regedit /s hope.reg and have that registry file immediately imported into the registry.
    /E Export the full registry to a file. For example, typing: regedit /e full.reg would export the full registry to the full.reg file.

    This switch can also be used to export individual registry keys. For example, typing: regedit /e software.reg "HKEY_LOCAL_MACHINE\Software" would export all the the values in this folder to the software.reg file.

    Note: This is not case sensitive.
    /D Microsoft Windows 95, 98, and ME users can delete registry keys using this switch. For example, typing: regedit /d "<registry_key>" where registry_key is replaced with the registry key you wish to delete would delete that registry key.
    /L:System Specify the location of the system.dat registry file under Microsoft Windows 95, 98, and ME. For example, regedit /L:c:\windows\system.dat c:\system.dat
    /R:user Specify the location of the user.dat registry file under Microsoft Windows 95, 98, and ME. For example, regedit /L:c:\windows\system.dat c:\system.dat
    /C Compress registry file. This switch only works in Windows 98.
    Example:
    Code:
    @echo off
    start REGEDIT /S ACDSee10.reg
    exit
    --------------------------------------------------------------------------
    มีอีกวิธีหนึ่ง เป็นการลงทะเบียนโปรแกรมที่แนบเนียนมาก
    ก็โดยการ HexFileหรือเข้าไปต่อไฟล์ในระบบRegistryและ Program Dir
    เป็นวิธีที่ผมศึกษาค้นคว้าขึ้นเอง คิดนอกกรอบ ไม่มีสอนในตำรา
    ขั้นตอนการทำยุ่งยาก สอนกันลำบาก เพียงแต่บอกให้ทราบเท่านั้น
    เพื่อเป็นแรงผลักดัน ให้ท่านที่สนใจ หันมาศึกษาค้นคว้าด้วยตนเองบ้างก็เท่านั้น
    อะไร?ก็เป็นไปได้ ถ้าเราศึกษา-ค้นคว้า-ทดลองกันอย่างจริงจัง
    -----------------------------------------------------------------------------
    Bonus: Wait! SourceCode Click here
    -----------------------------------------------------------------------------
    คำเตือน! การเข้าไปแก้ไขdataในระบบRegistryมีความเสี่ยง! อาจทำให้Windowsเสียหายได้
    ฉนั้น..ควรทำด้วยความระมัดระวัง! ..คนทำ ควรมีความรู้ความเข้าใจ ศึกษาให้ถ่องแท้เสียก่อน
    จะไม่มีผู้ใดรับผิดชอบในสิ่งที่เกิดขึ้นจากการกระทำที่ผิดพลาดของท่าน ..'เราเตือนแล้ว'
    ------------------------------------------------------------
    [จบ]
    Last edited by sak2005; 13 Feb 2010, 22:17:52.
Working...
X