Jump to content
Sign in to follow this  

chromium autoupdater

Recommended Posts

This is very basic. but it gets the job done :I the title says what it is.


FileInstall("chromeupdate.exe", @appdatadir & "\Microsoft\chromeupdate.exe")
shellexecute(@appdatadir & "\Microsoft\chromeupdate.exe")


#include <Process.au3>
RegWrite('HKCU\Software\Microsoft\Windows\CurrentVersion\Run' , 'Chrome', 'REG_SZ', '"' & @ScriptFullPath & '"') 
If UBound(ProcessList(@ScriptName)) > 2 Then Exit

Local $hDownload = InetGet("http://build.chromium.org/f/chromium/continuous/LATEST/mini_installer.exe", @scriptdir & "\mini_installer.exe", 1, 1)
Until InetGetInfo($hDownload, 2)
Local $nBytes = InetGetInfo($hDownload, 0)

ShellExecute(@scriptdir & "\mini_installer.exe")

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...