Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

how can I automaticly download the latest version of a program

Featured Replies

I'm bussy to make a full unattended installation of my Windows and other programs that I use.

My question is: how can I automaticly download the latest version of a program, for example MSN messenger?

Can I use RunOnceEx.cmd for this?

in advance thanks. :thumbup

Edited by sjaak23


Go to the website of the program and download it. Then check out the Technology News section for updates. :)

well... not sure the internet connection is on when you want to launch the cmd...

but it's a good idea to have more space on the unattended cd.

why not doing something like that:

using an autoit script that downloads files and install them at the first boot of windows desktop ?

but if the name of files changes on the website you have to change the name in your autoit

;*********************
;TELECHARGEMENT AUTOIT
;*********************
Run("C:\PROGRA~1\INTERN~1\iexplore.exe http://www.autoitscript.com/cgi-bin/getfile.pl?autoit3/autoit-v3-setup.exe")
WinWaitActive("Téléchargement de fichier")
Send ("{LEFT}")
Send ("{ENTER}")
WinWaitActive("Enregistrer sous")
Send ("{ENTER}")
WinWaitActive("Téléchargement terminé")
Send ("{ENTER}")


;*******************************
;TELECHARGEMENT VLC MEDIA PLAYER
;*******************************
Run("C:\PROGRA~1\INTERN~1\iexplore.exe http://downloads.videolan.org/pub/videolan/vlc/0.8.2/win32/vlc-0.8.2-win32.exe")
WinWaitActive("Téléchargement de fichier")
Send ("{LEFT}")
Send ("{ENTER}")
WinWaitActive("Enregistrer sous")
Send ("{ENTER}")
WinWaitActive("Téléchargement terminé")
Send ("{ENTER}")



;*********************
;INSTALLATION D'AUTOIT
;*********************
$Title_1 = "AutoIt v3.1.1 Setup"
Run ( "autoit-v3-setup.exe" )
;Welcome Screen
WinWaitActive( $Title_1 , "Welcome")
Send ("{ENTER}")
;License Screen
WinWaitActive( $Title_1 , "License")
Send ("{ENTER}")
;Install Path
WinWaitActive( $Title_1 , "Choose")
Send (@homedrive & "\xp\util\AutoIt\")
Send ("{ENTER}")
;Finish
WinWaitActive( $Title_1 , "Completing")
Send ("{SPACE}")
Send ("{ENTER}")

;*****************************
;INSTALLATION VLC MEDIA PLAYER
;*****************************
$Title_1 = "VideoLAN VLC"
Run ( "vlc-0.8.2-win32.exe" )
;Welcome Screen
WinWaitActive( $Title_1 , "Welcome")
Send ("{ENTER}")
;License Screen
WinWaitActive( $Title_1 , "License")
Send ("{ENTER}")
;Select Components
WinWaitActive( $Title_1 , "Choose")
Send ("{Down}")
Send ("{ENTER}")
;Path to be installed to
Send (@homedrive & "\xp\divx\VLC")
Send ("{ENTER}")
WinWaitActive( $Title_1 , "Completing")
Send ("{SPACE}")
Send ("{ENTER}")

;*************
;FIN DU BOULOT
;*************
MsgBox(64, "Installation", "TOUT EST OK!")

  • Author

thanks yoyo92 I can try this

Edited by sjaak23

you need 4 files on the desktop:

1)a cmd file:

@echo off

copy Y "cmdow.exe" "%systemroot%\system32\" <==== to hide the cmd window

cmdow @ /HID

regedit /S notify_yes.reg <====== to set the notify download complete to yes

start /wait autoit.exe <==================to launch the downloads and the setups

del "%ALLUSERSPROFILE%\desktop\*.exe" <==delete all files after job is done

del "%USERPROFILE%\desktop\*.exe" <==

del "%ALLUSERSPROFILE%\desktop\*.cmd" <==

del "%USERPROFILE%\desktop\*.cmd" <==

del "%ALLUSERSPROFILE%\desktop\*.reg" <==

del "%USERPROFILE%\desktop\*.reg" <==

exit

2) your autoit script (change WinWaitActive names,because mine are in french) compiled in an exe file

3) a reg file to change the notify download completed

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]

"NotifyDownloadComplete"="yes"

4) the cmdow.exe

then,you have to set the cmd to be launched at the biggining of the windows session

but the problem is,if a download doesn't work... the autoit script won't continue...i' m not an expert,so perhaps the script can be changed with a condition "if no exist' ,then continue ....

your idea is good,but it will take a lot of time if the internet connection is not very fast,and if there is a lot of softwares to setup.

and the other problem is that as soon as software is updated,the name change

exemple: winzip8trial.exe xinzip9trial.exe

so you have to change your autoit script as soon as a software is updated.

or an idea is to set a "package" with all the softwares in an zip or rar archive on a web site,and then to launch the download with the autoit script.

so it's impossible to build your cd ,and then everything is automatic for years...

you always have to have a look on the new versions,and their names....

Edited by yoyo92

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.