|
HD Tune Pro 我是用 Autoit 寫的,因為它有分 Windows 8 和 Windows 7 以下的版本,不然執行會怪怪的。
還有也不用請我分享,因為我的是繁體版的。
你們有這源碼就可以自行制作簡體版了。
- #NoTrayIcon
- RegWrite('HKEY_CURRENT_USER\Software\EFD Software\HDTunePro', 'Name', 'REG_SZ', 'HDTunePro')
- RegWrite('HKEY_CURRENT_USER\Software\EFD Software\HDTunePro', 'Company', 'REG_SZ', '')
- RegWrite('HKEY_CURRENT_USER\Software\EFD Software\HDTunePro', 'Test Parameters 3', 'REG_SZ', '29 23 CB 52 7E 23 32 57 DA 13 7B 75 00 00 00 00')
- If @OSVersion = "UNKNOWN" Then
- FileInstall("HDTunePro8.exe", @TempDir & "\HDTunePro.exe", 1)
- FileInstall("pdh8.dll", @TempDir & "\pdh.dll", 1)
- RunWait(@TempDir & "\HDTunePro.exe")
- Else
- FileInstall("HDTunePro.exe", @TempDir & "\HDTunePro.exe", 1)
- FileInstall("pdh.dll", @TempDir & "\pdh.dll", 1)
- FileInstall("odbcbcp.dll", @TempDir & "\odbcbcp.dll", 1)
- FileInstall("shfolder.dll", @TempDir & "\shfolder.dll", 1)
- RunWait(@TempDir & "\HDTunePro.exe")
- EndIf
- RegDelete('HKEY_CURRENT_USER\Software\EFD Software')
- If @OSVersion = "UNKNOWN" Then
- FileDelete(@TempDir & "\HDTunePro.exe")
- FileDelete(@TempDir & "\pdh.dll")
- Else
- FileDelete(@TempDir & "\HDTunePro.exe")
- FileDelete(@TempDir & "\pdh.dll")
- FileDelete(@TempDir & "\odbcbcp.dll")
- FileDelete(@TempDir & "\shfolder.dll")
- EndIf
复制代码 |
|