MSFN Forum: Foxit Reader - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Foxit Reader Autoit script Rate Topic: -----

#1 User is offline   bobthenob 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 25-November 05

Posted 21 December 2005 - 04:09 PM

foxit reader
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



#2 User is offline   blinkdt 

  • Somewhat Knowledgeable
  • PipPipPipPip
  • Group: Members
  • Posts: 582
  • Joined: 30-September 03
  • OS:Vista Ultimate x64
  • Country: Country Flag

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 :rolleyes:

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 :blushing:

This post has been edited by blinkdt: 13 January 2007 - 02:44 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy