Content Type
Profiles
Forums
Events
Everything posted by MHz
-
TaskKill /F /IM RunDll.exe If you have XP Home, then you may need to get PSKill from systernals site.
-
Windows Installer message during the unattended install
MHz replied to coucou's topic in Application Installs
Try this Setup=msiexec /i suptools.msi /qb TempMode Silent=1 Overwrite=1 And try this If RegRead("HKCU\Control Panel\International", "sLanguage") = "FRA" Then Run('msiexec /i "' & @ScriptDir & '\MBSASetup-FR.msi" /qr') Else Run('msiexec /i "' & @ScriptDir & '\MBSASetup-EN.msi" /qr') EndIf -
Identified as Wise (latest v5.1) /S Identified as NullSoft (even icon gives it away) /S Use the extracted MSI /qn /norestart driver0=a348bus driver1=a348scsi You need to get the MSI from it and install that. I use this other reader/editor here instead (NullSoft Installer, uses /S to install). Identified as Wise /S You may need to close RullDll32.exe at the end of install or use AutoIt to politely handle it. I don't use so you can workout. CMenu Identifies most of these as easy as ABC. 7Zip is just an Archiver. Install from CmdLines.txt for no wizard.
-
They run in sequence. You can also add the switches to the displayed comment to silently install.
-
ReplayMusic Unattended? SetupFactory type installer
MHz replied to simcam68's topic in Application Installs
If you want to just install it and continue, then you could start a second instance to monitor IE and the Wizard. Then you can continue with the other installations that you have. This will work compiled or not compiled. The 2nd instance will run for 5 seconds and monitor. ;AutoIt v3 ;ReplayMusic Semi-Silent install Finisher ;WinXP SP2 $Pid1 = 'iexplore.exe' $Title1 = 'Applian Installer/Uninstaller' $Title2 = 'Replay Music Quick Tour' $Title3 = 'New Connection Wizard' ;Start new instance to monitor IE and Wizard when /restart is used by the script If $CMDLINE[0] And $CMDLINE[1] = '/restart' Then ;Only 2 instances of this script allowed If UBound(ProcessList(@ScriptName)) > 3 Then Exit For $i = 1 To 5 ;IE popup tour If ProcessExists($Pid1) Then ProcessClose($Pid1) If WinExists($Title2) Then WinClose($Title2) ;New Connection Wizard - Sometimes Occurs If WinExists($Title3) Then ControlClick ($Title3, '' , 'Button4') Sleep(1000) Next Exit EndIf ;Only 1 instance of this script allowed If UBound(ProcessList(@ScriptName)) > 2 Then Exit RunWait('"' & @ScriptDir & '\RMSetup.exe" /S /W') ProcessWait('installtr.exe', 5) Do ;First popup window - Driver install If WinExists($Title1) Then ControlClick($Title1, '', 'Button1') ;IE popup tour If ProcessExists($Pid1) Then ProcessClose($Pid1) Sleep(1000) Until Not ProcessExists('installtr.exe') ;Create new instance to monitor IE and Wizard If @Compiled Then Run('"' & @ScriptFullPath & '" /restart') Else Run('"' & @AutoItExe & '" "' & @ScriptFullPath & '" /restart') EndIf Exit Just run the script as usual and it should do the rest for you. -
How to change background under RunOnceEx window
MHz replied to `Felix`'s topic in Unattended Windows 2000/XP/2003
It can be done with AutoIt3. A sample (Hope you like Bliss.bmp) ; GuiConstants Global Const $WS_POPUP = 0x80000000 $picture = 'Bliss.bmp' GUICreate('My Window', @DesktopWidth, @DesktopHeight, 0, 0, $WS_POPUP) GUICtrlCreatePic(@WindowsDir & '\Web\Wallpaper\' & $picture, 0, 0, @DesktopWidth, @DesktopHeight) GUISetState() Sleep(5000) Proof of Concept that runs at T-12 for me. On top or not can be done . She can even hide automated installs for me . So long as you have imagination and willingness to script, then AutoIt can do it. -
ReplayMusic Unattended? SetupFactory type installer
MHz replied to simcam68's topic in Application Installs
Looks like your doing the long way round to just install this program. I trimmed out the unneeded stuff and arranged better to achieve some better result. You should be able to add the registration entries into the AutoIt script also so it is more comsolidated. In RunOnceEx.cmd, it should look like this. FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\win51ip.SP2 SET CDROM=%%i: SET PP=%cdrom%\Install\ REG ADD %KEY%\051 /VE /D "ReplayMusic" /f REG ADD %KEY%\051 /V 1 /D "%PP%\ReplayMusic\_ReplayScript.exe" /f REG ADD %KEY%\051 /V 2 /D "REGEDIT /S %PP%\ReplayMusic\Registration.reg" /f The _ReplayScript.exe is the compiled AutoIt script. This is the AutoIt script named _ReplayScript.au3 ;AutoIt v3 ;ReplayMusic Semi-Silent install Finisher ;WinXP SP2 $Done = 0 $Title = 'Applian Installer/Uninstaller' $Title2 = 'Replay Music Quick Tour' RunWait('"' & @ScriptDir & '\RMSetup.exe" /S /W') ProcessWait('iexplore.exe', 3) Do Select ;IE popup tour Case ProcessExists('iexplore.exe') ProcessClose('iexplore.exe') ;IE popup tour Case WinExists($Title2) WinClose($Title2) ;First popup window - Driver install Case WinExists($Title) ControlClick($Title, '', 'Button1') If Not $Done Then While Not StringInStr(WinGetText($Title), 'Installation Complete') Sleep(500) WEnd $Done = 1 EndIf EndSelect Sleep(500) Until Not ProcessExists('irsetup.exe') And _ Not ProcessExists('installtr.exe') And _ Not ProcessExists('iexplore.exe') Exit No need to convert to shortnames if you just use quotes as shown in the RunWait line. I used RunWait as the install does complete about the same time the windows show, and makes it reliable. I chose to wait for iexplore.exe with timeout to ensure that it appears before the end of script and will be closed. Then the last window can be processed with ease. Put the compiled script and the installer in ""%PP%\ReplayMusic\" Edit: Updated AutoIt code Added variable to disable use of While loop with 2nd Case selection to prevent hang. -
Ok, read your post over and over to understand what you want. Why is duplicate files a problem when it is handled within the directory of the CD? It is as clean as anything else? If you want to save some room on your HDD with a project like this, then use NTFSLink. It does Hardlinks and Junctions to keep duplicates on your HDD to, well, your MFT. For creating your image, then CDImage is proven a winner by my standards. Unless you want to express more...
-
Noted, Thanks.
-
I have scutinized the script to see if it may cause this, but the script looks harmless in what it does. There is no reason for the script to cause this. This may yet another of the many bugs that Nero may still need to fix with version 7.
-
I do not get that error. I get 2 MSI files executing at the same time. Even this works, and both MSI files are executed in sequence. Setup=msiexec /i ACDSee_Pro.msi Setup=msiexec /i ACDSee_rus.msi TempMode Silent=1 Overwrite=1
-
At a command prompt, type CD /? to get more information on CD (CHDIR).
-
Try this WinRAR comment ;The comment below contains SFX script commands Setup=Office2003\setup.exe TRANSFORMS=options.MST /qb- TempMode Silent=1 Overwrite=1 I assume that the Office2003 folder is in the archive.
-
Silent Install Alcohol 120% 195.3105 and register!
MHz replied to hiro1's topic in Application Installs
Look at the link that muiz has posted. It has been mentioned there of installing the STPD service at Cmdlines.txt will set the service installed and running when you install Alcohol later at RunOnceEx or GuiRunOnce. The same method is used for Daemon Tools 4, which can act as another reference if searched. -
[Help]Integration of custom ntoskrnl.exe
MHz replied to Nepali's topic in Unattended Windows 2000/XP/2003
My PC has a single processor also, but it uses the dual processor kernal as likely cause of the dual channel capabilities. I would have to edit ntkrnlpa.exe to change the boot screen. As for the latter, I am not sure that renaming a kernal to cheat Windows will work. -
[Help]Integration of custom ntoskrnl.exe
MHz replied to Nepali's topic in Unattended Windows 2000/XP/2003
Did you do the ntkrnlpa.exe ? -
Help me to redirect to a file any errors from my batch.
MHz replied to har-vas's topic in Unattended Windows 2000/XP/2003
If you manually start a VBS from where it is, then it's working directory is where it is. Executing from the registry, usually means that the systemdrive is the working directory, so it is not strange for your script to fail. This is what I would try Set WshShell = WScript.CreateObject("WScript.Shell") Dim ScriptFullPath ScriptFullPath = Replace(WScript.ScriptFullName, WScript.ScriptName, "") if WshShell.CurrentDirectory <> ScriptFullPath Then WshShell.CurrentDirectory = ScriptFullPath end if WshShell.Run ("Alcohol195.exe") WScript.Sleep 8000 WshShell.SendKeys "{DOWN}" WScript.Sleep 300 WshShell.SendKeys "{TAB}" WScript.Sleep 300 WshShell.SendKeys "{ENTER}" WScript.Sleep 300 WshShell.SendKeys "{TAB}" WScript.Sleep 300 WshShell.SendKeys " " WScript.Sleep 300 WshShell.SendKeys "{TAB}" WScript.Sleep 300 WshShell.SendKeys "{TAB}" WScript.Sleep 300 WshShell.SendKeys "{TAB}" WScript.Sleep 300 WshShell.SendKeys "{ENTER}" WScript.Sleep 2000 WshShell.SendKeys "{ENTER}" WScript.Quit -
is it possible to make runonceex wait until install completed
MHz replied to gratz's topic in Unattended Windows 2000/XP/2003
The registry will wait for cmd to finish. cmd /c "PathToFile\file.cmd" -
Try using logging of the install. e.g. ECHO Instalando MSN Messenger 7.5 start /wait MSN_Messenger_XP_7_5_0324_esp.msi /qn /e %systemdrive%\MSN.log
-
I agree. Favorites in Regedit is precious to use as a method to store key addresses. Using the left arrow key on the keyboard is an easy and simple method without losing the ability with using Regedit favorites.
-
You may consider using msiexec in your commands to execute your msi files. e.g. msiexec /i %PP%Folder\File.msi /qn The registry would monitor the process id of msiexec for process close. Please remove your posted Nero Serial! And please use code tags in future [ CODE ] ... [ /CODE ] to wrap code, minus the spaces in the my displayed tags in this line.
-
AutoIT Script Collection - Contributions Only
MHz replied to FuzzBall's topic in Application Installs
[size=3][b]Alcohol 120% 1.9.6.4629[/b][/size] [url="http://www.alcohol-soft.com//"]Homepage[/url] [b]Comments:[/b] The "Get Registration Script" will retrieve the registration from the registry and add it into your clipboard, so you can easily paste into your "Install Script". This script uses an include file, "IE.au3" which will be included into the main script when compiled. "IE.au3" is included with AutoIt 3.2.0.1 and above so you should already have it. The use of COM code is suitable to add to this version of installer for it's use of embedded Html. For a seamless (no roboot...) install at 1st logon, then this install script requires you to install the SPTD Scsi driver as posted [url="http://www.msfn.org/board/index.php?showtopic=78544"]here[/url] at a previous time like T-12 of Windows Setup (Thanks to Shark for distributing the unattended version). The install script below was never intended to handle the SPTD Scsi driver installation also. The Starwind service is not the scsi driver, but only is suitable for Network use so is not needed for home users without a network setup. [b]Download: Install Script:[/b] [attachment=15153:attachment] [b]Download: Get Registration Script:[/b] [attachment=15154:attachment] -
line 76 on the script I posted. On your script, just add the code on the end of script.
-
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). $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 & "')")
-
Gosh, it looks like you are making life hard for yourself. Try using single quote by default and use double quotes to wrap paths with spaces as shown below. Your command parameters are now all one string. I have not added RogueSpear's suggestion as you can do that. RunWait('msiexec /i "Adobe Audition 2.0.msi" /QN /norestart') FileChangeDir(@ScriptDir & '\commonfilesinstaller') RunWait('msiexec /i "Adobe Common File Installer.msi" /QN') FileChangeDir(@ScriptDir & '\bridge') RunWait('msiexec /i "Adobe Bridge 1.0.msi" /QN') FileChangeDir(@ScriptDir & '\help center') RunWait('msiexec /i "Adobe Help Center 1.0.msi" /QN')