Arablover Posted October 10, 2003 Posted October 10, 2003 A while ago someone posted a script ot install Irfanview and the associated plugins.But it was in German!Has anyone managed to convert this script to English?If so, please post it!Cheers.Jeremy
Thanatos Posted October 10, 2003 Posted October 10, 2003 'Automatic, but not silent install of Irfan View'view only all images with Irfan viewSet WshShell = WScript.CreateObject("WScript.Shell")On Error Resume NextWshShell.Popup "Do NOT MOVE the mouse an do NOT PRESS any button!",5," - Warning - ",48'Run setup from location on hdd''you have to check the path !WshShell.Run ("%systemdrive%\Install\Applications\iview\iview385.exe")'if your hdd is slow, increase the next valueWScript.Sleep 5000WshShell.SendKeys "{TAB}"WScript.Sleep 2000'Check the value!'Change ALL shortcuts to your language !'For german = w means "weiter"'For english = n means "next"WshShell.SendKeys "n"WScript.Sleep 2000WshShell.SendKeys "n"WScript.Sleep 2000WshShell.SendKeys "{ENTER}"WScript.Sleep 2000WshShell.SendKeys "n"WScript.Sleep 2000WshShell.SendKeys "n"WScript.Sleep 2000WshShell.SendKeys "y"WScript.Sleep 2000WshShell.SendKeys "{ENTER}"WScript.Sleep 2000'If you don't need the plug-ins, activate the next line and clear the following code'Wscript.Quit'install the plug-ins'you have to check the path !WshShell.Run ("%systemdrive%\Install\Applications\iview\all_plugins.exe")WScript.Sleep 2000WshShell.SendKeys "n"WScript.Sleep 2000WshShell.SendKeys "{ENTER}"WScript.Sleep 1000Wscript.QuitREAD the instructions included inside the file
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