MSFN Forum: Foxit Reader : file assoc. and disable ads. - 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 : file assoc. and disable ads. Some reg entries for anyone who cares... Rate Topic: -----

#1 User is offline   Martin H 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 802
  • Joined: 24-November 06
  • OS:none specified

Posted 15 August 2007 - 06:59 PM

I personally install Foxit Reader and it's plugins from a batch file in a 7z SFX installer.

The file associations aren't set before you run Foxit Reader once, so i enable them during the install. Also i add some other reg entries to disable the adds shown in the upper right corner and also hides the big bookmark panel which blocks a big part of the screen. Please note that the reg entries contains fixed paths for where i am personally installing Foxit Reader : 'C:\Program Files\Foxit Reader\', and so if you preffer something else, then you need to change it accordingly.

 
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Foxit Software\Foxit Reader\MainFrame]
"ShowEditorAd_908"="0"
"ShowReaderAd_908"="0"
"ShowTypewriterAd_908"="0"
"ShowPOAd_908"="0"
"ShowSDKAd_908"="0"

[HKEY_CURRENT_USER\Software\Foxit Software\Foxit Reader\ChildFrame]
"ShowBookmark"="0"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf]
"Progid"="FoxitReader.Document"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{14E8BBD8-1D1C-4D56-A4DA-D20B75EB814E}]
@="PDF Document"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{14E8BBD8-1D1C-4D56-A4DA-D20B75EB814E}\Verb]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{14E8BBD8-1D1C-4D56-A4DA-D20B75EB814E}\Verb\1]
@="&Open,0,2"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{14E8BBD8-1D1C-4D56-A4DA-D20B75EB814E}\Verb]
@="&Edit,0,2"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{14E8BBD8-1D1C-4D56-A4DA-D20B75EB814E}\ProgID]
@="FoxitReader.Document"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{14E8BBD8-1D1C-4D56-A4DA-D20B75EB814E}\Printable]
@=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{14E8BBD8-1D1C-4D56-A4DA-D20B75EB814E}\MiscStatus]
@="32"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{14E8BBD8-1D1C-4D56-A4DA-D20B75EB814E}\LocalServer32]
@="C:\\PROGRA~1\\FOXITR~1\\FOXIT_~1.EXE"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{14E8BBD8-1D1C-4D56-A4DA-D20B75EB814E}\Insertable]
@=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{14E8BBD8-1D1C-4D56-A4DA-D20B75EB814E}\InprocHandler32]
@="ole32.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{14E8BBD8-1D1C-4D56-A4DA-D20B75EB814E}\DocObject]
@="0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{14E8BBD8-1D1C-4D56-A4DA-D20B75EB814E}\DefaultIcon]
@="C:\\PROGRA~1\\FOXITR~1\\FOXIT_~1.EXE,1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{14E8BBD8-1D1C-4D56-A4DA-D20B75EB814E}\DefaultExtension]
@=".pdf, PDF Files(*.pdf)"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{14E8BBD8-1D1C-4D56-A4DA-D20B75EB814E}\AuxUserType]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{14E8BBD8-1D1C-4D56-A4DA-D20B75EB814E}\AuxUserType\3]
@="Foxit Reader"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{14E8BBD8-1D1C-4D56-A4DA-D20B75EB814E}\AuxUserType\2]
@="PDF"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MIME\Database\Content Type\application/pdf]
"Extension"=".pdf"
"CLSID"="{14E8BBD8-1D1C-4D56-A4DA-D20B75EB814E}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FoxitReader.Document]
"BrowseInPlace"="1"
@="PDF Document"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FoxitReader.Document\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FoxitReader.Document\shell\open]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FoxitReader.Document\shell\open\command]
@="\"C:\\PROGRA~1\\FOXITR~1\\FOXIT_~1.EXE\" \"%1\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FoxitReader.Document\protocol]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FoxitReader.Document\protocol\StdFileEditing]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FoxitReader.Document\protocol\StdFileEditing\verb]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FoxitReader.Document\protocol\StdFileEditing\verb]
@="&Edit"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FoxitReader.Document\protocol\StdFileEditing\server]
@="C:\\PROGRA~1\\FOXITR~1\\FOXIT_~1.EXE"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FoxitReader.Document\Insertable]
@=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FoxitReader.Document\DocObject]
@="0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FoxitReader.Document\DefaultIcon]
@="C:\\PROGRA~1\\FOXITR~1\\FOXIT_~1.EXE,1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FoxitReader.Document\CLSID]
@="{14E8BBD8-1D1C-4D56-A4DA-D20B75EB814E}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.pdf]
"Content Type"="application/pdf"
@="FoxitReader.Document"

 



#2 User is offline   RaGhul 

  • XP Tweaker
  • PipPip
  • Group: Members
  • Posts: 163
  • Joined: 22-December 06
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 16 August 2007 - 11:13 PM

Useful info, Martin. I use Foxit myself, and I also install using a SFX that I picked up somewhere off the web. (I think I pulled it from an addon at nLite.) I'm sure it'll come in handy. ;)

BTW, stop kissin' Xable's butt. He makes a great Update Pack, no doubt. But seriously, sometimes the way you gush over there makes me think you wanna be his girlfriend or somethin'! :P

#3 User is offline   Martin H 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 802
  • Joined: 24-November 06
  • OS:none specified

Posted 23 December 2007 - 03:19 PM

Just wanted to add that the reg keys i posted in the first post of this thread, for setting up Foxit Reader as the default pdf reader on the system, isn't actually needed after all, since the Foxit Reader executable(not the installer!) features a '-Register' command-line switch, which does just that.

Other than that, then the new versions of Foxit Reader comes by default with a couple of big bloated toolbars, which IMHO takes up to much screen-estate, so here follows the captured reg entries needed for disabling the 'bookmarks' sidebar, enabling the option 'View > Toolbars > Hide toolbars' and disable the banner adds :
 
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Foxit Software\Foxit Reader\ChildFrame]
"ShowBookmark"="0"

[HKEY_CURRENT_USER\Software\Foxit Software\Foxit Reader\DockState_PRO]
@=hex:02,00,00,00,20,03,00,00,58,02,00,00,19,00,f6,e8,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,fe,ff,ff,ff,ff,7f,00,00,01,00,00,00,00,00,00,\
  00,00,00,00,00,fe,ff,ff,ff,87,00,00,00,21,00,00,00,04,20,00,00,00,00,00,80,\
  00,00,00,00,00,00,f7,e8,00,00,00,00,00,00,00,00,00,00,00,00,00,00,85,00,00,\
  00,fe,ff,ff,ff,ff,7f,00,00,01,00,00,00,00,00,00,00,85,00,00,00,fe,ff,ff,ff,\
  50,01,00,00,21,00,00,00,04,20,00,00,00,00,00,80,00,00,00,00,00,00,f8,e8,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,95,01,00,00,fe,ff,ff,ff,ff,7f,00,00,\
  01,00,00,00,00,00,00,00,95,01,00,00,fe,ff,ff,ff,8d,02,00,00,21,00,00,00,04,\
  20,00,00,00,00,00,80,00,00,00,00,00,00,f9,e8,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,4e,01,00,00,fe,ff,ff,ff,ff,7f,00,00,01,00,00,00,00,00,00,00,4e,\
  01,00,00,fe,ff,ff,ff,97,01,00,00,21,00,00,00,04,20,00,00,00,00,00,80,00,00,\
  00,00,00,00,fa,e8,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,1f,\
  00,00,00,ff,7f,00,00,01,00,00,00,00,00,00,00,00,00,00,00,1f,00,00,00,ea,00,\
  00,00,42,00,00,00,04,20,00,00,00,00,00,80,00,00,00,00,00,00,fb,e8,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,3f,01,00,00,40,00,00,00,ff,7f,00,00,01,00,\
  00,00,1b,e8,00,00,3f,01,00,00,40,00,00,00,76,01,00,00,63,00,00,00,04,20,00,\
  00,00,00,00,80,00,00,00,00,00,00,fc,e8,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,ff,7f,00,00,01,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,20,00,00,00,00,00,80,00,00,00,00,\
  00,00,f5,e8,00,00,00,00,00,00,00,00,00,00,00,00,00,00,40,01,00,00,61,00,00,\
  00,ff,7f,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,04,20,00,00,00,00,00,80,00,00,00,00,00,00,01,e8,00,00,01,00,00,\
  00,00,00,00,00,00,00,00,00,ff,ff,ff,ff,ff,ff,ff,ff,ff,7f,00,00,00,00,00,00,\
  00,00,1b,e8,00,00,01,00,00,00,00,00,00,00,01,00,00,00,ff,ff,ff,ff,ff,ff,ff,\
  ff,ff,7f,00,00,00,00,00,00,16,00,00,00,00,00,f6,e8,00,00,f7,e8,00,00,f9,e8,\
  00,00,f8,e8,00,00,00,00,00,00,fa,e8,00,00,cc,e8,00,00,cb,e8,00,00,c9,e8,00,\
  00,00,00,00,00,c8,e8,00,00,c7,e8,00,00,c6,e8,00,00,c5,e8,00,00,c4,e8,00,00,\
  00,00,00,00,c3,e8,00,00,fb,e8,00,00,ca,e8,00,00,f5,e8,00,00,00,00,00,00,1e,\
  e8,00,00,01,00,00,00,00,00,00,00,01,00,00,00,ff,ff,ff,ff,ff,ff,ff,ff,ff,7f,\
  00,00,00,00,00,00,01,00,00,00,00,00,1c,e8,00,00,01,00,00,00,00,00,00,00,00,\
  00,00,00,ff,ff,ff,ff,ff,ff,ff,ff,ff,7f,00,00,00,00,00,00,01,00,00,00,00,00,\
  1d,e8,00,00,01,00,00,00,00,00,00,00,00,00,00,00,ff,ff,ff,ff,ff,ff,ff,ff,ff,\
  7f,00,00,00,00,00,00,01,00,00,00,00,00,f3,e8,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,ff,ff,ff,ff,ff,ff,ff,ff,ff,7f,00,00,00,00,00,00,00,00,cc,e8,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,e8,00,00,00,fe,ff,ff,ff,ff,7f,00,00,\
  01,00,00,00,00,00,00,00,e8,00,00,00,fe,ff,ff,ff,d4,01,00,00,21,00,00,00,04,\
  20,00,00,00,00,00,80,38,02,00,00,00,00,cb,e8,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,d2,01,00,00,fe,ff,ff,ff,ff,7f,00,00,01,00,00,00,00,00,00,00,d2,\
  01,00,00,fe,ff,ff,ff,66,02,00,00,21,00,00,00,04,20,00,00,00,00,00,80,00,00,\
  00,00,00,00,ca,e8,00,00,00,00,00,00,00,00,00,00,00,00,00,00,41,01,00,00,61,\
  00,00,00,ff,7f,00,00,01,00,00,00,00,00,00,00,00,00,00,00,82,00,00,00,1e,02,\
  00,00,a5,00,00,00,04,20,00,00,00,00,00,80,38,02,00,00,00,00,c9,e8,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,64,02,00,00,fe,ff,ff,ff,ff,7f,00,00,01,00,\
  00,00,1b,e8,00,00,64,02,00,00,fe,ff,ff,ff,d9,02,00,00,21,00,00,00,04,20,00,\
  00,00,00,00,80,38,02,00,00,00,00,c8,e8,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,fe,ff,ff,ff,ff,7f,00,00,01,00,00,00,1b,e8,00,00,00,00,00,\
  00,fe,ff,ff,ff,68,00,00,00,21,00,00,00,04,20,00,00,00,00,00,80,38,02,00,00,\
  00,00,c7,e8,00,00,00,00,00,00,00,00,00,00,00,00,00,00,66,00,00,00,fe,ff,ff,\
  ff,ff,7f,00,00,01,00,00,00,1b,e8,00,00,66,00,00,00,fe,ff,ff,ff,af,00,00,00,\
  21,00,00,00,04,20,00,00,00,00,00,80,38,02,00,00,00,00,c6,e8,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,ad,00,00,00,fe,ff,ff,ff,ff,7f,00,00,01,00,00,00,\
  1b,e8,00,00,ad,00,00,00,fe,ff,ff,ff,72,01,00,00,21,00,00,00,04,20,00,00,00,\
  00,00,80,00,00,00,00,00,00,c5,e8,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  70,01,00,00,fe,ff,ff,ff,ff,7f,00,00,01,00,00,00,1b,e8,00,00,70,01,00,00,fe,\
  ff,ff,ff,b9,01,00,00,21,00,00,00,04,20,00,00,00,00,00,80,00,00,00,00,00,00,\
  c4,e8,00,00,00,00,00,00,00,00,00,00,00,00,00,00,b7,01,00,00,fe,ff,ff,ff,ff,\
  7f,00,00,01,00,00,00,1b,e8,00,00,b7,01,00,00,fe,ff,ff,ff,3e,02,00,00,21,00,\
  00,00,04,20,00,00,00,00,00,80,00,00,00,00,00,00,c3,e8,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,fe,ff,ff,ff,ff,7f,00,00,01,00,00,00,1b,e8,\
  00,00,00,00,00,00,fe,ff,ff,ff,41,01,00,00,21,00,00,00,04,20,00,00,00,00,00,\
  80,00,00,00,00,00,00,1f,e8,00,00,01,00,00,00,01,00,00,00,01,00,00,00,68,00,\
  00,00,78,00,00,00,ff,7f,00,00,00,00,00,00,03,00,00,00,00,00,fc,e8,00,00,00,\
  00,00,00
"Bars"="18"

[HKEY_CURRENT_USER\Software\Foxit Software\Foxit Reader\MainFrame]
"ShowFFAd_908"="0"
"ShowSDKAd_908"="0"
"ShowPOAd_908"="0"
"ShowTypewriterAd_908"="0"
"ShowReaderAd_908"="0"
"ShowEditorAd_908"="0"
 


I then make a 7z sfx installer which runs the following batch file silently and where 'Foxit Reader.exe' and a couple of the free add-ons(JS, GDI and JPEG2K support) is placed in a subfolder named 'setup' :

Quote

md "%programfiles%\Foxit Reader\"
move setup\*.* "%programfiles%\Foxit Reader\"
regedit /s setup.reg
"%programfiles%\Foxit Reader\Foxit Reader.exe" -Register


#4 User is offline   skavenger 

  • Newbie
  • Group: Members
  • Posts: 40
  • Joined: 19-October 05

Posted 05 January 2008 - 05:00 AM

hiho,

to make foxit the default viewer for pdf-files is used this simple way:

MAKE_DEFAULT_PDFVIEWER.CMD
@echo off
FTYPE FoxitReader.Document="%programfiles%\Foxit PDF Reader\FoxitReader.exe" "%1"
ASSOC .pdf=FoxitReader.Document


For installing it, i use a rar-sfx

Here the options for my sfx
Path=%programfiles%\Foxit PDF Reader
SavePath
Silent=2
Overwrite=1
Shortcut=P, "FoxitReader.exe", "", "", "Foxit PDF Reader"


Hope this helps you.

#5 User is offline   Martin H 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 802
  • Joined: 24-November 06
  • OS:none specified

Posted 05 January 2008 - 11:34 AM

As i posted in my previous post in this thread, then the Foxit Reader executable supports a command-line switch for setting it up as the default pdf reader on the system :
"PathTo\Foxit Reader.exe" -Register


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