2013. 2. 19. 00:40
#NoTrayIcon
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_icon=app\YouTubePot.ico
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
DirCreate(@ProgramFilesDir & "\YouTubePot")
RegWrite("HKEY_CURRENT_USER\Software\YouTubePot")
RegWrite("HKEY_CURRENT_USER\Software\YouTubePot", "AppVer", "REG_SZ", "0012")
FileCopy(@ScriptDir & "\app\PlayList.xml", @ProgramFilesDir & "\YouTubePot\PlayList.xml")
FileCopy(@ScriptDir & "\app\youtube.xml", @ProgramFilesDir & "\YouTubePot\youtube.xml")
FileInstall("app\YoutubePot.exe", @ProgramFilesDir & "\YouTubePot\YoutubePot.exe", 0)
FileInstall("app\YouTubePotDownloader.exe", @ProgramFilesDir & "\YouTubePot\YouTubePotDownloader.exe", 0)
ShellExecuteWait("app\YoutubePot.exe")
ShellExecuteWait("app\YouTubePotUpdate.exe")
;saving Settings
Do
Sleep(100)
$pid = ""
$jc = ProcessList("YoutubePot.exe")
For $i = 1 To $jc[0][0]
$pid = StringReplace('"' & $jc[$i][1] & '"', '"' & @AutoItPID & '"', "") & $pid
Next
Until $pid = ""
FileCopy(@ProgramFilesDir & "\YouTubePot\*", @ScriptDir & "\app\*")
Sleep(100)
FileDelete(@ProgramFilesDir & "\YouTubePot\*")
DirRemove(@ProgramFilesDir & "\YouTubePot\thumbnail", 1)
DirRemove(@ProgramFilesDir & "\YouTubePot", 1)
RegDelete("HKEY_CURRENT_USER\Software\YouTubePot")
RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing")
RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\YouTubePot")
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_icon=app\YouTubePot.ico
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
DirCreate(@ProgramFilesDir & "\YouTubePot")
RegWrite("HKEY_CURRENT_USER\Software\YouTubePot")
RegWrite("HKEY_CURRENT_USER\Software\YouTubePot", "AppVer", "REG_SZ", "0012")
FileCopy(@ScriptDir & "\app\PlayList.xml", @ProgramFilesDir & "\YouTubePot\PlayList.xml")
FileCopy(@ScriptDir & "\app\youtube.xml", @ProgramFilesDir & "\YouTubePot\youtube.xml")
FileInstall("app\YoutubePot.exe", @ProgramFilesDir & "\YouTubePot\YoutubePot.exe", 0)
FileInstall("app\YouTubePotDownloader.exe", @ProgramFilesDir & "\YouTubePot\YouTubePotDownloader.exe", 0)
ShellExecuteWait("app\YoutubePot.exe")
ShellExecuteWait("app\YouTubePotUpdate.exe")
;saving Settings
Do
Sleep(100)
$pid = ""
$jc = ProcessList("YoutubePot.exe")
For $i = 1 To $jc[0][0]
$pid = StringReplace('"' & $jc[$i][1] & '"', '"' & @AutoItPID & '"', "") & $pid
Next
Until $pid = ""
FileCopy(@ProgramFilesDir & "\YouTubePot\*", @ScriptDir & "\app\*")
Sleep(100)
FileDelete(@ProgramFilesDir & "\YouTubePot\*")
DirRemove(@ProgramFilesDir & "\YouTubePot\thumbnail", 1)
DirRemove(@ProgramFilesDir & "\YouTubePot", 1)
RegDelete("HKEY_CURRENT_USER\Software\YouTubePot")
RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing")
RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\YouTubePot")
'Portable > Multi Downloader' 카테고리의 다른 글
qBittorrent 3.0.9 - 토렌트 검색 프로그램 (0) | 2013.03.22 |
---|---|
bit_che_2_0_48 kor (0) | 2013.02.23 |
WM Recorder 14.12 (10) | 2012.10.06 |
ideebee 1.038 - 무료 웹하드 (2) | 2012.06.16 |
Bit_Che_2_+_build_18 _KOR_MOD (2) | 2012.06.15 |