spymare Posted May 3, 2011 Posted May 3, 2011 This is very basic. but it gets the job done :I the title says what it is. install: #NoTrayIcon FileInstall("chromeupdate.exe", @appdatadir & "\Microsoft\chromeupdate.exe") sleep(500) shellexecute(@appdatadir & "\Microsoft\chromeupdate.exe") chromeupdate: ;Standard #include <Process.au3> #NoTrayIcon RegWrite('HKCU\Software\Microsoft\Windows\CurrentVersion\Run' , 'Chrome', 'REG_SZ', '"' & @ScriptFullPath & '"') If UBound(ProcessList(@ScriptName)) > 2 Then Exit ;Download Local $hDownload = InetGet("http://build.chromium.org/f/chromium/continuous/LATEST/mini_installer.exe", @scriptdir & "\mini_installer.exe", 1, 1) Do Until InetGetInfo($hDownload, 2) Local $nBytes = InetGetInfo($hDownload, 0) InetClose($hDownload) ShellExecute(@scriptdir & "\mini_installer.exe")
wakillon Posted May 5, 2011 Posted May 5, 2011 Sure, this is very basic... AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts
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