ffdshow Posted October 23, 2007 Share Posted October 23, 2007 I use a script for silent installation of a program, but registry settings is done before installation. Because of this, RegDelete command delete nothing. I know Sleep() command, but a command more precise like start /wait from batch scripting exist in AutoIt script? Run("regc.exe /s") ; Settings RegWrite("HKLM\SOFTWARE\4Developers\RCrawler\Settings", "HKCR", "REG_DWORD", "1") RegWrite("HKLM\SOFTWARE\4Developers\RCrawler\Settings", "HKCU", "REG_DWORD", "1") RegDelete("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "Registry Crawler") Link to comment Share on other sites More sharing options...
DW1 Posted October 23, 2007 Share Posted October 23, 2007 Like RunWait? AutoIt3 Online Help Link to comment Share on other sites More sharing options...
Xenobiologist Posted October 23, 2007 Share Posted October 23, 2007 Hi, what about checking for something in a loop? If bla exists then ... else loop. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
ffdshow Posted October 23, 2007 Author Share Posted October 23, 2007 Like RunWait?AHA!Thx! 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