Help - Search - Members - Calendar
Full Version: Alcohol 120% 1.9.5.3823
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   
Google Internet Forums Unattended CD/DVD Guide
muiz
Silent installation currently not supported ?

elajua
i just downloaded the new version a few minutes ago. sad to know that silent switch is not supported. also i imagine it will be more difficult to disable the scsi service in the new setup routine used now unless there are switches to disable the install of the service. will play around with it later. will post if i found anything on it.
prathapml
Well, gotta find SOME way around it.
Its not MSI anymore, uses NSIS installer now - "/S" is the switch.

And this is the only version of alcohol that supports Windows XP 64-bit edition.
redfive19
i started making an autoit script for this...if anyone is interested i'll post it
prathapml
If it works, and it does not need a reboot, then YES, I'd love it! smile.gif
Lost Soul
QUOTE (redfive19 @ Feb 27 2006, 05:59 PM) *
i started making an autoit script for this...if anyone is interested i'll post it



yea im interested in that script m8,, lets us know how its turning out and post it pls
elajua
QUOTE (redfive19 @ Feb 27 2006, 03:59 PM) *
i started making an autoit script for this...if anyone is interested i'll post it


i've avoided so far using autoit scripts but i think i will give it a shot since alcohol is a must-install program for me. thanks.
muiz
REMOVED
redfive19
Well i've only worked on the script here at work so I don't want to install the SCSI drivers here. I am going to work on it on my backup laptop and get back to you. I've not gotten to a point where it's prompted me to reboot so I am not sure I can prevent that. I hate reboots so I'll try my damndest to make it not reboot. watch this space....

-redfive
Shark007
This installation has become a 2 step proccess just as daemon tools 4.
SPTD drivers need to be installed before Alcohol. This is the portion of the installation that needs a reboot before it is active. The following Download is a switchless installer that will install these drivers from svcpack without a reboot. Credit for this installer goes to 'MHz' Get it here

My AutoIt script for the installation of Alcohol was removed because MHz AutoIt skills far exceed my own and i have personally changed over to using his posted script.

Shark
muiz
Since when does alcohol use SPTD ?

And for those who try this script , dont forget to rename your installer of the name in the script for the alcohol.exe

edit:

Script does not work mouse goes to places where no buttons are, better use "sendkeys" next time

CODE
Opt("WinWaitDelay",100)
Opt("WinTitleMatchMode",4)
Opt("WinDetectHiddenText",1)
Opt("MouseCoordMode",0)
Run('Alcohol120_retail_1.9.5.3823.exe')
WinWait("Alcohol 120% 1.9.5.3823","Welcome to the Alcoh")
If Not WinActive("Alcohol 120% 1.9.5.3823","Welcome to the Alcoh") Then WinActivate("Alcohol 120% 1.9.5.3823","Welcome to the Alcoh")
WinWaitActive("Alcohol 120% 1.9.5.3823","Welcome to the Alcoh")
Send("{TAB}{TAB}{ENTER}")
WinWait("Alcohol 120% 1.9.5.3823 ","Please review the li")
If Not WinActive("Alcohol 120% 1.9.5.3823 ","Please review the li") Then WinActivate("Alcohol 120% 1.9.5.3823 ","Please review the li")
WinWaitActive("Alcohol 120% 1.9.5.3823 ","Please review the li")
Send("{TAB}{TAB}{ENTER}")
WinWait("Alcohol 120% 1.9.5.3823 ","Choose which feature")
If Not WinActive("Alcohol 120% 1.9.5.3823 ","Choose which feature") Then WinActivate("Alcohol 120% 1.9.5.3823 ","Choose which feature")
WinWaitActive("Alcohol 120% 1.9.5.3823 ","Choose which feature")
Send("{DOWN}{DOWN}{DOWN}{DOWN}{SPACE}{TAB}{TAB}{ENTER}")
WinWait("Alcohol 120% 1.9.5.3823 ","Choose Install Locat")
If Not WinActive("Alcohol 120% 1.9.5.3823 ","Choose Install Locat") Then WinActivate("Alcohol 120% 1.9.5.3823 ","Choose Install Locat")
WinWaitActive("Alcohol 120% 1.9.5.3823 ","Choose Install Locat")
Send("{TAB}{TAB}{TAB}{ENTER}")
WinWait("Alcohol 120% 1.9.5.3823 ","Completing the Alcoh")
If Not WinActive("Alcohol 120% 1.9.5.3823 ","Completing the Alcoh") Then WinActivate("Alcohol 120% 1.9.5.3823 ","Completing the Alcoh")
WinWaitActive("Alcohol 120% 1.9.5.3823 ","Completing the Alcoh")
Send("{SPACE}{TAB}{TAB}{ENTER}")
MHz
This is what I have to offer. I have not faced a reboot prompt yet to script it, but that is just tested in a VM so far. Components checked can change with each install, as the installer looks at the registry for previously added flags. I have added into my script to insert these registry entries in 1st to control the selection of components in a controled manner. I have not done any registration as the program wants to call home to accomplish the task, so seems messy to script for everyone atm.


Edit: Commented line in script so uninstall icon is not removed from the startmenu.
CODE
FileDelete('Uninstall Alcohol 120%.lnk')


An option is to not use the Starwind service if SPTD is used the is supplied with Daemon's tools. Just set the line near the top of the script to 0, as shown below.
CODE
$starwind    = 0; iSCSI Service


Edit:
Added scripts to Pinned AutoIt thread for ease.
AutoIt thread post
Install Script
Get Registration Script (as mentioned post #26)
muiz
so SPTD has to be installed first? from svcpack ?
Then run the alcohol script from runonce ?

EDIT:
I tried yours.
But then you cant uninstall it anymore , and its not showing in ad remove software.
the only way to uninstall is to go to C:\Program Files\Alcohol Soft\Alcohol 120

Any idea why?
Shark007
QUOTE (muiz @ Feb 28 2006, 01:12 PM) *
But then you cant uninstall it anymore , and its not showing in ad remove software. the only way to uninstall is to go to C:\Program Files\Alcohol Soft\Alcohol 120 Any idea why?

Thats how AlcoholSoft wrote the installer. No matter how you install it, it doesnt show up in Add/Remove programs. I agree, it sucks. There is a link to the uninstaller in the dir created in the startmenu.

shark
muiz
QUOTE
There is a link to the uninstaller in the dir created in the startmenu.


When i use my own script it does , but not with MHZ's
tresans
QUOTE (muiz @ Feb 28 2006, 02:08 PM) *
QUOTE
There is a link to the uninstaller in the dir created in the startmenu.


When i use my own script it does , but not with MHZ's



welcome.gif

i have this problem 2,this installer sux.MUIZ can you upload the script you using so I could try it out and is it language dependant?

Tnx in advance
Shark007
** removed **
muiz
read few posts back , i already posted it. huh.gif
Shark007
*removed*

skark
tresans
QUOTE (tresans @ Feb 28 2006, 03:47 PM) *
QUOTE (muiz @ Feb 28 2006, 02:08 PM) *

QUOTE
There is a link to the uninstaller in the dir created in the startmenu.


When i use my own script it does , but not with MHZ's



welcome.gif

i have this problem 2,this installer sux.MUIZ can you upload the script you using so I could try it out and is it language dependant?

Tnx in advance


unsure.gif Im sorry m8 yes.gif
muiz
QUOTE (Shark007 @ Mar 1 2006, 02:39 AM) *
Using the identical AutoIt3 script i posted earlier, i created this Switchless Installer.
YOU MUST install the SPTD drivers which i posted a link to earlier in this thread thru svcpack before using this in runonce or runounceex. Remember, this IS the retail version, and cannot be used untill you deal with registration. Get it here

skark

Nice try , but on my screen the cursor dont click the buttons but out of the alcohol window , so it stops there.

I made a swichlessinstaller with MHz's script , works almost silent.

MHz script version :
Alcohol 120% v1.9.5.3823.MHz

And the one with my script , not as silent as MHz's but with multilanguage support , and can be uninstalled from program files. ( not ad remove software )

Maybe MHz can add the language support and the uninstall , to a script that works just as silent as his?
That would be cool , i like my alcohol120 in dutch.

muiz script version :
Alcohol 120% v1.9.5.3823.muiz

Both need SPTD.exe installed from SVCPACK.
Shark007
QUOTE (muiz @ Feb 28 2006, 09:37 PM) *
Nice try , but on my screen the cursor dont click the buttons but out of the alcohol window , so it stops there.
It was only tested on standard resolutions of 800x600 and 1024x768. Since my script uses x/y positioning, i can see it not functioning on other resolutions.

Shark
RogueSpear
If the SPTD in Alcohol is the same as with DT, the switchless installer I made for the SPTD half of things also plops the original SPTD installer executable inside of %SYSTEMROOT% so that you can later uninstall it if need be. Installs from svcpack.inf just fine as well.
MHz
I edited my last post with the uninstall icon to remain in the startmenu with the attached script. Also a tip for not using the Starwind driver.
MHz
For registration, I just add this to my AutoIt script and it does well. I am not suppling the values,so you need to dig them out of the registry for yourself when registered first.
CODE
; Register
$key = 'HKCU\Software\Alcohol Soft\Alcohol 120%'
RegWrite($key & '\Info', 'UserName', 'Reg_sz', 'NEED_VALUE')
RegWrite($key & '\Info', 'ServerKey', 'Reg_sz', 'NEED_VALUE')

$key = 'HKCU\Software\StarSynergy\2\act'
RegWrite($key, 'server', 'Reg_sz', 'NEED_VALUE')
RegWrite($key, 'email', 'Reg_sz', 'NEED_VALUE')
RegWrite($key, 'value', 'Reg_sz', 'NEED_VALUE')
muiz
I tried that but it didnt register it.
maybe i did something wrong.
Can you give an example please.
MHz
Add this into an empty Au3 script and execute it. The information will be read from the registry and the code should be added into your clipboard, ready to be pasted into your install script. Add the code in just before the Exit line of the install script (Exit is located at line 88 for me, so should be about line 80 for you).

CODE
$key = 'HKCU\Software\Alcohol Soft\Alcohol 120%\Info'
$UserName = RegRead($key, 'UserName')
$ServerKey = RegRead($key, 'ServerKey')
$key = 'HKCU\Software\StarSynergy\2\act'
$server = RegRead($key, 'server')
$email = RegRead($key, 'email')
$value = RegRead($key, 'value')
ClipPut("$key = 'HKCU\Software\Alcohol Soft\Alcohol 120%\Info'" & @CRLF & _
        "RegWrite($key, 'UserName', 'Reg_sz', '" & $UserName & "')" & @CRLF & _
        "RegWrite($key, 'ServerKey', 'Reg_sz', '" & $ServerKey & "')" & @CRLF & _
        "$key = 'HKCU\Software\StarSynergy\2\act'" & @CRLF & _
        "RegWrite($key, 'server', 'Reg_sz', '" & $server & "')" & @CRLF & _
        "RegWrite($key, 'email', 'Reg_sz', '" & $email & "')" & @CRLF & _
        "RegWrite($key, 'value', 'Reg_sz', '" & $value & "')")
muiz
line 80? mine has 21 lines huh.gif
MHz
line 76 on the script I posted. On your script, just add the code on the end of script.
elajua
has anyone tried to monitor the setup to make an installer out of it?
maybe this works, maybe dont. i hope to have some spare time tomorrow to try. tha autoit script seems too much work for a software installation.
thuun derboy
The new version adds support for x64 machines. 3105 works very well and is still what I'll use for 32bit XP/W2K. The new installer just begs to be repackaged, which is just what I've done. Adminstudio > Autoit here.

I was able to disable 'phone home' on v3105, but this persists with the new version. thumbdown.gif Also, modded msi to include reg info., but no starwind or extra language files, = 3.79 installer. Updates aren't always upgrades.
DryKillLogic
The script works fine but I've problems with sptd. How can I fix it?

Thanks in advance biggrin.gif
thunderchero
Ok this is how I ended up getting around sptd problem, I am installing it from $OEM$ file with this as my command prompt;

_________________________________________________________________________________________
cmdow @ /HID
@Echo Off

SET PP=%SystemDrive%\Alcohol120\

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Softwares for Windows XP SP2" /f

REG ADD %KEY%\005 /VE /D "Alcohol 120....Please Wait" /f
REG ADD %KEY%\005 /V 01 /D "%PP%Alcohol1.au3" /f

REG ADD %KEY%\010 /VE /D "Reboot" /f
REG ADD %KEY%\010 /V 02 /D "%systemdrive%\reboot.cmd" /f

cmdow @ /HID
@Echo Off

SET PP=%SystemDrive%\Alcohol120\

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Softwares for Windows XP SP2" /f

REG ADD %KEY%\015 /VE /D "Alcohol120....Please Wait" /f
REG ADD %KEY%\015 /V 03 /D "%PP%Alcohol2.au3" /f

REG ADD %KEY%\020 /VE /D "Cleaning Up" /f
REG ADD %KEY%\020 /V 04 /D "%systemdrive%\cleanup.cmd" /f

EXIT
_________________________________________________________________________________________

the first .au3 file as;

_________________________________________________________________________________________
; ----------------------------------------------------------------------------
;
; AutoIt Version: 3.1.0
; Author: A.N.Other <myemail@nowhere.com>
;
; Script Function:
; Template AutoIt script.
;
; ----------------------------------------------------------------------------

; Script Start - Add your code below here

Run("C:\Alcohol120\Alcohol120.exe")

AutoItSetOption ( "WinWaitDelay", 3000 )

WinWaitActive("Alcohol 120% 1.9.5.3823")
ControlClick ( "Alcohol 120% 1.9.5.3823", "&Next >", 1 )

WinWaitActive("Alcohol 120% 1.9.5.3823")
ControlClick ( "Alcohol 120% 1.9.5.3823", "I &Agree", 1 )

WinWaitActive("SPTD setup V1.24 © 2004-2005 Duplex Secure Ltd.")
ControlClick ( "SPTD setup V1.24 © 2004-2005 Duplex Secure Ltd.", "OK", 1 )

WinWaitActive("Alcohol 120% 1.9.5.3823")
ControlClick ( "Alcohol 120% 1.9.5.3823", "OK", 1 )
_________________________________________________________________________________________

and that sets up the sptd.

and the next au3 file as;

_________________________________________________________________________________________
; ----------------------------------------------------------------------------
;
; AutoIt Version: 3.1.0
; Author: A.N.Other <myemail@nowhere.com>
;
; Script Function:
; Template AutoIt script.
;
; ----------------------------------------------------------------------------

; Script Start - Add your code below here

Run("C:\Alcohol120\Alcohol120.exe")

WinWaitActive("Alcohol 120% 1.9.5.3823")
ControlClick ( "Alcohol 120% 1.9.5.3823", "&Next >", 1 )

WinWaitActive("Alcohol 120% 1.9.5.3823")
ControlClick ( "Alcohol 120% 1.9.5.3823", "I &Agree", 1 )

WinWaitActive("Alcohol 120% 1.9.5.3823")
ControlClick ( "Alcohol 120% 1.9.5.3823", "&Next >", 1 )

WinWaitActive("Alcohol 120% 1.9.5.3823")
ControlClick ( "Alcohol 120% 1.9.5.3823", "&Install", 1 )

AutoItSetOption ( "WinWaitDelay", 20000 )

WinWaitActive("Alcohol 120% 1.9.5.3823")
ControlClick ( "Alcohol 120% 1.9.5.3823", "&Run Alcohol", 1203 )

AutoItSetOption ( "WinWaitDelay", 1000 )

WinWaitActive("Alcohol 120% 1.9.5.3823")
ControlClick ( "Alcohol 120% 1.9.5.3823", "&Finish", 1 )
______________________________________________________________________________________

and that install the program after the reboot command.

I am sure some of you will add the reg files but I just setup it up before first use.

thunderchero
muiz
QUOTE (DryKillLogic @ Mar 15 2006, 05:10 AM) *
The script works fine but I've problems with sptd. How can I fix it?

Thanks in advance biggrin.gif

read ALL the posts , and you will see ;-)
minos197
thunderchero why make your life hard??Just put SPDT.exe in $oem$folder and add it to cmdlines.txt

[Commands]
"your commands"
"SPDT.exe"

Then the system reboots itself anyway and you can run the autoIT script.I do suggest to alter this line though so to avoid the network service.


From

WinWaitActive("Alcohol 120% 1.9.5.4212 ","Choose which feature")
Send("{TAB}{TAB}{ENTER}")

to

WinWaitActive("Alcohol 120% 1.9.5.4212 ","Choose which feature")
Send("{DOWN}{DOWN}{SPACE}{TAB}{TAB}{ENTER}")


SPDT thanks to Shark
http://sharksfiles.doitrightconsulting.net/

Setup Script credits to DjShadow and Muiz
http://rapidshare.de/files/24201366/alcohol120.exe.html

Registration Script thanks to Mhz.
; Register
$key = 'HKCU\Software\Alcohol Soft\Alcohol 120%'
RegWrite($key & '\Info', 'UserName', 'Reg_sz', 'NEED_VALUE')
RegWrite($key & '\Info', 'ServerKey', 'Reg_sz', 'NEED_VALUE')

$key = 'HKCU\Software\StarSynergy\2\act'
RegWrite($key, 'server', 'Reg_sz', 'NEED_VALUE')
RegWrite($key, 'email', 'Reg_sz', 'NEED_VALUE')
RegWrite($key, 'value', 'Reg_sz', 'NEED_VALUE')

You run the later in the pc you have the alcohol registered and it fills with clipboard with a code.Paste it on a blanc au3 code and you got registration exe too...

Still its **** messy..
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.