Run ("foxitreader_setup.exe")
Winwaitactive("Foxit Reader Install Wizard")
send('{ENTER}')
Winwaitactive("Foxit Reader Install Wizard","Foxit Reader End User License Agreement")
send('{ENTER}')
controlclick("Foxit Reader Install Wizard","Use default settings",1014)
Winwaitactive("Foxit Reader Install Wizard","Destination location:")
send('{ENTER}')
Winwaitactive("Foxit Reader Install Wizard","Setup has successfully")
Send('{ALT}')
controlclick("Foxit Reader Install Wizard","Setup has successfully",1008)
send('{ENTER}')
Winwaitactive("Foxit Reader")
send('{ENTER}')
Winwaitactive("Foxit Reader 1.3")
send('{ALT}{up}{up}{ENTER}')
EXIT
Page 1 of 1
Foxit Reader Autoit script
#1
Posted 21 December 2005 - 04:09 PM
foxit reader
#2
Posted 13 January 2007 - 02:23 PM
Wow, lots of threads about Foxit, but only one describing the AutoIt method of install? That's just wrong
Here's how I'm doing it to accomplish a silent install, with balloon tip indicator, that places a shortcut to the program in the Accessories directory, registers the program as the default PDF reader, and opens the program on first run with no advertising:
1. Get the zipped version directly from Foxit and put the executable in a directory of your choosing.
2. Put this registry file in the same directory, I called mine "adverts.reg:"
3. Run this AutoIt script from the same directory:
Done! As Darth Vader would say, "all too easy." Edited for typos
Here's how I'm doing it to accomplish a silent install, with balloon tip indicator, that places a shortcut to the program in the Accessories directory, registers the program as the default PDF reader, and opens the program on first run with no advertising:
1. Get the zipped version directly from Foxit and put the executable in a directory of your choosing.
2. Put this registry file in the same directory, I called mine "adverts.reg:"
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Foxit Software\Foxit Reader\MainFrame] "AdvertiseIndex"="6" "ShowEditorAd_908"="0" "ShowReaderAd_908"="0" "ShowTypewriterAd_908"="0" "ShowPOAd_908"="0" "ShowSDKAd_908"="0"
3. Run this AutoIt script from the same directory:
TrayTip('Unattended Installation', 'Installing Foxit PDF Reader . . . please wait . . .', 0, 1)
FileCopy( @ScriptDir & "\FoxitReader.exe", @ProgramFilesDir & "\Foxit Software\Foxit Reader\", 9)
FileCreateShortcut( @ProgramFilesDir & "\Foxit Software\Foxit Reader\FoxitReader.exe", _
@ProgramsCommonDir & "\Accessories\Foxit PDF Reader.lnk")
RunWait( @ProgramFilesDir & "\Foxit Software\Foxit Reader\FoxitReader.exe -register")
RunWait( @Comspec & ' /C regedit /S ' & @ScriptDir & '\adverts.reg', '', @SW_HIDE )
TrayTip("clear tip","",0)
Done! As Darth Vader would say, "all too easy." Edited for typos
This post has been edited by blinkdt: 13 January 2007 - 02:44 PM
- ← Some Help to make steam silent install :)
- Application Installs
- Windows Installer message during the unattended install →
Share this topic:
Page 1 of 1



Help

Back to top









