blinkdt Posted November 2, 2004 Share Posted November 2, 2004 @kurt476 and drthawhizkidkurt476, that's exactly where I started, with a simple batch that eventually became my RunOnceEx.cmd. Drthewhizkid, as RunOnceEx.cmd grew, my AutoIt post-install was steadily whittled away (Dang, I don't need AutoIt to install Acrobat Reader, I can do it THIS [much easier] way!?!) Here's what's left of my AutoIt script:HideAutoItWin, On;---------------------------------------------------------startSplashTextOn, 290, 110, Installation in Progress, Preparing for Ultra install....Sleep, 15000SplashTextOffSend, !{F4}Sleep, 2000SplashTextOn, 290, 110, Installation in Progress, Begin configuring program options....Sleep, 2000SplashTextOffRunWait, %systemdrive%\\configure\\begin.cmdRunWait, regedit /s "%systemdrive%\\Extras\\SAV8\\prefs.reg"RunWait, regedit /s "%systemdrive%\\Extras\\Spybot\\prefs.reg"RunWait, regedit /s "%systemdrive%\\Extras\\WMP10\\prefs.reg"RunWait, regedit /s "%systemdrive%\\Extras\\Diskeeper\\prefs.reg"RunWait, regedit /s "%systemdrive%\\Extras\\SymantecGhost2003\\prefs.reg"Sleep, 2000SplashTextOn, 360, 110, Installation in Progress, Installing Belarc Advisor system analysis tool...Sleep, 2000SplashTextOffRun, %systemdrive%\\Extras\\BelarcAdvisor\\setup.exeWinWaitActive, Belarc Advisor Installation, Welcome to the Belarc Advisor Setup programSend, {ENTER};lengthy wait for slow machinesWinWaitActive, Belarc License Agreement, This is the Belarc license agreementSend, {ENTER}SplashTextOn, 290, 110, Installation in Progress, Preparing Belarc analysis...Sleep, 5000SplashTextOffSplashTextOn, 290, 110, Installation in Progress, Please wait...30 seconds...Sleep, 5000SplashTextOffSplashTextOn, 290, 110, Installation in Progress, Please wait...25 seconds...Sleep, 5000SplashTextOffSplashTextOn, 290, 110, Installation in Progress, Please wait...20 seconds...Sleep, 5000SplashTextOffSplashTextOn, 290, 110, Installation in Progress, Please wait...15 seconds...Sleep, 5000SplashTextOffSplashTextOn, 290, 110, Installation in Progress, Please wait...10 seconds...Sleep, 5000SplashTextOffSplashTextOn, 290, 110, Installation in Progress, Please wait...5 seconds...Sleep, 5000SplashTextOffSplashTextOn, 290, 110, Installation in Progress, Belarc analysis OK!Sleep, 2000SplashTextOffSend, !{F4}RunWait, %systemdrive%\\configure\\BelarcIcons.cmdSleep, 2000SplashTextOn, 360, 110, Installation in Progress, Installing Window Washer system cleaning tool...Sleep, 2000SplashTextOffRunWait, %systemdrive%\\Extras\\WindowWasher\\setup.exeRunWait, regedit /s "%systemdrive%\\Extras\\WindowWasher\\prefs.reg"Sleep, 2000SplashTextOn, 330, 110, Installation in Progress, Installing Google's Picasa image manager...Sleep, 2000SplashTextOffRunWait, %systemdrive%\\Extras\\Picasa\\setup.exeRunWait, %systemdrive%\\configure\\PicasaIcon.cmdRunWait, regedit /s "%systemdrive%\\Extras\\Picasa\\prefs.reg"Sleep, 2000SplashTextOn, 360, 110, Installation in Progress, Installing CursorXP cursor theme manager...Sleep, 2000SplashTextOffRun, %systemdrive%\\Extras\\CursorXP\\setup.exe;accept license agreementWinWaitActive, Stardock CursorXP setupSend, {TAB 2}{SPACE}{TAB}{ENTER};accept default user interface language - Englisht WinWaitActive, Stardock CursorXP setupSend, {ENTER};accept default destination locationWinWaitActive, Stardock CursorXP setupSend, {ENTER}Sleep, 5000;replace default cursor theme packageRunWait, %systemdrive%\\Extras\\CursorXP\\configure.cmdSleep, 2000;bypass README file and configure mouse properties to activateWinWaitActive, Stardock CursorXP setupSend, {TAB}{SPACE}{TAB2}{ENTER}Sleep, 6000;close mouse properties window and move onSend, !{F4};enable QuickLaunch - change taskbar spacing - remove items from system tray and moreRunWait, regedit /s "%systemdrive%\\configure\\registry.reg"RunWait, regedit /s "%systemdrive%\\configure\\quickL.reg"RunWait, regedit /s "%systemdrive%\\configure\\NoRun.reg"Sleep, 2000SplashTextOn, 330, 110, Installation in Progress, Configuring ObjectDock...Sleep, 2000SplashTextOffRun, "C:\\Program Files\\Stardock\\ObjectDock\\ObjectDock.exe"Sleep, 5000Run, "C:\\Program Files\\Stardock\\ObjectDock\\ObjectDock.exe"Sleep, 4000LeftClick, 23, 430Sleep, 500Send, {TAB}Sleep, 500Send, {ENTER}Sleep, 2000;configure Floppy ImageRun, "C:\\Program Files\\FloppyImage\\Floppy Image.exe"Sleep, 2000Send, {ENTER}Sleep, 2000Send, !{F4};run batch file moving extradrivers dir to desktopSplashTextOn, 290, 140, Installation in Progress, Moving folders and files...Sleep, 2000SplashTextOffRunWait, %systemdrive%\\configure\\move.cmdSleep, 1000;cleanup ObjectDock and WindowBlinds files and Start Menu structureSplashTextOn, 290, 140, Installation in Progress, Please wait...Sleep, 2000SplashTextOffRunWait, %systemdrive%\\configure\\end.cmdSleep, 2000RunWait, %systemdrive%\\configure\\kill1.cmdSleep, 2000SplashTextOn, 290, 140, Installation in Progress, Please wait...Sleep, 2000SplashTextOff;---------------------------------------------------------end gameRunWait, %systemdrive%\\configure\\kill2.cmdSleep, 2000Run, %windir%\\Temp\\cleanup.exeSleep, 1000Exit[ADLIB]Information,, Send, {ENTER}Folder Exists,, Send, {ENTER}Components Exist,, Send, {TAB}{ENTER}Internet Sharing Configuration,, Send, !yComputer Name Changes, Welcome to the, Send, {ENTER}System Control Panel Applet, If the pagefile on volume, Send, {ENTER}Microsoft Management Console,, Send, !c;----------------------------------------------------------finishWhat a mess, several outdated entries, written with the "old" AutoIt, but it works. It fires up several silent installs made with InstallRite, imports registry settings for several programs isntalled during RunOnceEx, runs cleanup batch files, puts a nice "Read Me NOW" Web file on the desktop, removes items from startup, yadda, yadda, yadda. Maybe I will clean it up this winter. Link to comment Share on other sites More sharing options...
1chaoticadult Posted November 2, 2004 Share Posted November 2, 2004 (edited) @blinkdtI started with batch files then moved to autoit. I didn't know about autoit until about 3-4 months ago and was using symantec autoinstall aka AI Snapshot to silently install apps. Eventually I start using autoit but then got caught up in my so-called Inno Setup revolution. I like Inno Setup so much I want every app I have to use Inno Setup. Edited November 2, 2004 by drthawhizkid Link to comment Share on other sites More sharing options...
blinkdt Posted November 3, 2004 Share Posted November 3, 2004 @drthawhizkidThanks for the tip, I've downloaded the Inno Setup program and will give it a try. Another tool in the arsenal. Link to comment Share on other sites More sharing options...
1chaoticadult Posted November 3, 2004 Share Posted November 3, 2004 @blinkdtGlad to help out. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now