PDA

Показать полную графическую версию : Автоматическая установка Alcohol 120%, 52%


Страниц : 1 2 3 4 5 6 7 8 [9] 10

omich
17-06-2009, 20:39
gvshil,
C:\Documents and Settings\All Users\Главное меню\Программы\CD и DVD утилиты
C:\Documents and Settings\All Users\Главное меню\Программы\Alcohol 120%
Я пользовался AutoIt.

gvshil
17-06-2009, 20:46
omich,
DirRemove ( @ProgramsCommonDir & '\Alcohol 120%', 1 )

omich
17-06-2009, 20:54
DirRemove ( @ProgramsCommonDir & '\Alcohol 120%', 1 ) »
не удаляеся.

gvshil
17-06-2009, 20:59
omich,
Скорее всего ошибка в путях.

kill-kit
09-07-2009, 01:05
Сори а почему низя установить просто программу, или я чего то не понимаю?

jentoso
09-07-2009, 09:14
Сори а почему низя установить просто программу, или я чего то не понимаю? »
Потому что люди не хотят ставить в ручную, особено когда устанавлиается десяток различных программ.

kill-kit
09-07-2009, 19:13
а можно у счастливого обладателя, выцыганить лекарство от жадности.

rrr777
09-07-2009, 19:24
kill-kit, это на др. форум или куда угодно - этого добра везде хватает..

conductor
09-07-2009, 22:54
kill-kit, это на др. форум или куда угодно - этого добра везде хватает.. »
на руборд зайди там даже тихий выкладывали

katok888
10-07-2009, 23:29
Alcohol.120.v1.9.8.7612 install script

#region - Alcohol.120.v1.9.8.7612 install script - (Automated with WinExists functions)

#include <IE.au3>
Opt('TrayIconDebug', 1)

; Installer.
$executable = 'Alcoholsetup.exe'
; Show progess.
$splash = 0
; Default catagory folder in startmenu.
$group = 'Alcohol 120%'
; New catagory to move the default folder into.
$catagory = ''
; Installation folder in Program Files.
$directory = 'Alcohol Soft\Alcohol 120'
; Allowed time for installation.
$allowed = 60 * 1000
; Components to choose. 1 = Yes, 0 = No.
$SecACID = 1 ; A.C.I.D Wizard
$langfiles = 1 ; Multi-Language Files
$manual = 0 ; Online manual
$shortcuts = 1 ; Desktop Shortcut
$startmenu = 1 ; Startmenu Entries
$starwind = 0 ; iSCSI Service

; ----- Settings Complete (Paste registration on line 83) ------

; Set components to install via registry.
$key = 'HKLM\SOFTWARE\Alcohol Soft\Alcohol 120%\AddRemove\Components'
RegWrite($key & '\SecACID', 'Installed', 'Reg_Dword', $SecACID)
RegWrite($key & '\SecLangFiles', 'Installed', 'Reg_Dword', $langfiles)
RegWrite($key & '\SecManual', 'Installed', 'Reg_Dword', $manual)
RegWrite($key & '\SecShortcuts', 'Installed', 'Reg_Dword', $shortcuts)
RegWrite($key & '\SecStartMenu', 'Installed', 'Reg_Dword', $startmenu)
RegWrite($key & '\SecStarWind', 'Installed', 'Reg_Dword', $starwind)

; Run the installer.
$pid = _Install()
$time = TimerInit()
$title = 'Alcohol 120%'
Do
Select
Case WinExists('Installer Language','Please select a language.')
ControlClick('Installer Language','Please select a language.', 'Button1')

Case WinExists($title, 'Already Installed')
_Abort()

Case WinExists($title, 'Вас приветствует мастер установки Alcohol 120%')
WinMove($title, 'Вас приветствует мастер установки Alcohol 120%', @DesktopWidth, 0)
ControlClick($title, 'Вас приветствует мастер установки Alcohol 120%', 'Button2')

Case WinExists($title, 'Лицензионное соглашение')
ControlClick($title, 'Лицензионное соглашение', 'Button2')

Case WinExists('Alcohol Soft Setup', 'Additional Features and License Agreement')
WinMove('Alcohol Soft Setup', 'Additional Features and License Agreement', @DesktopWidth, 0)
Sleep(1000)
$oIE = _IEAttach ('Alcohol Soft Setup', 'embedded')
If IsObj($oIE) Then
$oSubmit = _IEGetObjByName ($oIE, "chk1")
If IsObj($oSubmit) Then
_IEAction ($oSubmit, "click")
EndIf
_IELoadWait ($oIE)
$oIE = 0
EndIf
ControlClick('Alcohol Soft Setup', 'Additional Features and License Agreement', 'Button2')
WinWaitClose('Alcohol Soft Setup', 'Additional Features and License Agreement', 1)

Case WinExists($title, 'Компоненты устанавливаемой программы')
ControlClick($title, 'Компоненты устанавливаемой программы', 'Button2')

Case WinExists($title, 'Выбор папки установки')
ControlClick($title, 'Выбор папки установки', 'Button2')

Case WinExists($title, 'Завершение работы мастера установки Alcohol 120%')
ControlCommand($title, 'Завершение работы мастера установки Alcohol 120%', 'Button4', 'UnCheck'); Run
;ControlCommand($title, 'Завершение работы мастера установки Alcohol 120%', 'Button5', 'UnCheck'); Add Drive
ControlClick($title, 'Завершение работы мастера установки Alcohol 120%', 'Button2')

Case Else
Sleep(250)
EndSelect
If TimerDiff($time) > $allowed Then _Abort()
Until Not ProcessExists($pid)

; *** Paste Registration on the next line ***


; Exit if $startmenu = 0 from above.
If Not $startmenu Then Exit

; Remove shortcuts.
If _MainShortcut('Alcohol 120%.lnk') Then
FileDelete('Alcohol Command Launcher.lnk')
;~ FileDelete('Alcohol Manual.lnk')
;~ FileDelete('Uninstall Alcohol 120%.lnk')
;~ _Desktop('Alcohol 120%.lnk')
EndIf

#endregion

Exit

Func _Install($path = Default)
; Run the installer in Default Script directory.
Dim $splash
If $path = Default Then $path = @ScriptDir
If StringRight($path, 1) <> '\' Then $path &= '\'
If StringInStr($executable, '\') Then $path = ''
If Not FileExists($path & $executable) Then Exit 1
If $splash Then _Splash('Installing:' & StringTrimRight(StringReplace(@ScriptName, '_', ' '), 4))
If StringRight($executable, 3) = 'msi' Then
Return Run('"' & @SystemDir & '\msiexec.exe" /i "' & $path & $executable & '"')
Else
Return Run('"' & $path & $executable & '"')
EndIf
EndFunc

Func _Abort()
; close process if exists then exit.
Dim $pid
If ProcessExists($pid) Then
ProcessClose($pid)
Exit 2
Else
Exit 3
EndIf
EndFunc

Func _Desktop($shortcut)
; Delete a Desktop shortcut.
If FileExists(@DesktopDir & '\' & $shortcut) Then
Return FileDelete(@DesktopDir & '\' & $shortcut)
ElseIf FileExists(@DesktopCommonDir & '\' & $shortcut) Then
Return FileDelete(@DesktopCommonDir & '\' & $shortcut)
EndIf
EndFunc

Func _MainShortcut($shortcut, $rename = '')
; Change working directory to correct StartMenu\Group directory.
Dim $group, $catagory, $splash
If $group = '' Then Return 0
If FileExists(@ProgramsDir & '\' & $group) Then
FileChangeDir(@ProgramsDir & '\' & $group)
ElseIf FileExists(@ProgramsCommonDir & '\' & $group) Then
FileChangeDir(@ProgramsCommonDir & '\' & $group)
Else
Return 0
EndIf
; Wait for main shortcut.
If $splash Then _Splash('Waiting for shortcuts')
For $i = 1 To 20
If FileExists($shortcut) Then ExitLoop
Sleep(500)
Next
If $splash Then _Splash('Cleaning up:' & StringTrimRight(StringReplace(@ScriptName, '_', ' '), 4))
; If catagory not assigned anything, then return.
If $catagory = '' Then Return 1
; Move the group folder into the catagory folder.
If FileChangeDir('..') And DirCopy($group, $catagory & '\' & $group, 1) Then
If DirRemove($group, 1) Then
; If optional rename parameter is used, then rename the group folder.
If $rename <> '' And FileChangeDir($catagory) Then
If DirCopy($group, $rename, 1) And DirRemove($group, 1) Then
Return FileChangeDir($rename)
EndIf
Else
Return FileChangeDir($catagory & '\' & $group)
EndIf
EndIf
EndIf
EndFunc

Func _QuickLaunch($shortcut)
; Delete a Quicklaunch shortcut.
Local $subdirs = '\Microsoft\Internet Explorer\Quick Launch'
If FileExists(@AppDataDir & $subdirs & '\' & $shortcut) Then
Return FileDelete(@AppDataDir & $subdirs & '\' & $shortcut)
ElseIf FileExists(@AppDataCommonDir & $subdirs & '\' & $shortcut) Then
Return FileDelete(@AppDataCommonDir & $subdirs & '\' & $shortcut)
EndIf
EndFunc

Func _Splash($text = '')
; Shows a small borderless splash message.
Dim $splash
If $splash Then
If $text Then
SplashTextOn('', $text, 500, 25, -1, 5, 1, '', 14)
Else
SplashOff()
EndIf
EndIf
EndFunc

Func _WinClose($title, $text = '')
; Close a window with further attempts.
For $i = 1 To 10
WinClose($title, $text)
If Not WinExists($title) Then Return 1
Sleep(500)
Next
EndFunc

Func OnAutoItStart()
; A 2nd script instance will exit.
Local $interpreter
$interpreter = StringTrimRight(@ScriptName, 4) & ' Script Interpreter'
If WinExists($interpreter) Then Exit
AutoItWinSetTitle($interpreter)
EndFunc

Pozia
21-12-2009, 01:41
кто нить подскажет как в меню ПКМ для iso внедить команду открыть с помощью Алкоголь?

postalok
23-01-2010, 01:22
Кто-то может собрать инсталлятор Alcohol 52% с тихой установкой? очень нужно ...

beve
28-01-2010, 01:52
Кто-то может собрать инсталлятор Alcohol 52% с тихой установкой? очень нужно ... »
Сдесь (http://torrents.ru/forum/viewtopic.php?t=1926027) посмотри.

postalok
01-02-2010, 01:38
beve, -1! Что это? у меня есть Alcohol 120% мне нужен Alcohol 52% с тихой установкой ...
P.S не "сдесь" а "здесь" ...

XCV
10-02-2010, 20:10
кто нибудь пробовал "перепаковать" инсталятор алкоголя чтобы получить дистрибутив с возможностью тихой установки без AutoIt скриптов и других ухищрений? я попытался, но пока установленный алкоголь с моего дистрибутива отказывается создавать виртуальные приводы, хотя образы дисков снимает... наверно что-то где-то не учел, может кто подскажет?

Habetdin
10-02-2010, 20:23
XCV, наверно что-то где-то не учел »
SPTD? Регистрацию dll?

Bond01
10-02-2010, 20:38
XCV, Вы надеюсь новый ковыряете Alcohol52 FE 2.0.0.1331

XCV
11-02-2010, 02:37
SPTD? Регистрацию dll? »
SPTD? естественно устанавливаю предварительно, dll возможно какую либо и пропустил, вопрос какую?XCV, Вы надеюсь новый ковыряете Alcohol52 FE 2.0.0.1331 »
да

Kukishin
16-04-2010, 20:54
Alcohol 52% v1.9.8.7612 Silent Install (http://ifolder.ru/17327703)
1. Требуется предустановленный SPTD драйвер.
2. Скрипт написан с помощью Sing of Mistery. Большинство антивирусов ее недолюбливают. Просьба сильно не пинать.

hobbit25
17-04-2010, 20:25
Kukishin, так вроде уже 2.0 есть я и сам Silent Install ваял на 2 версию




© OSzone.net 2001-2012