MSFN Forum: Silent install 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

Silent install foxit reader problem with xcopy Rate Topic: -----

#1 User is offline   Telenut 

  • Member
  • PipPip
  • Group: Members
  • Posts: 147
  • Joined: 24-February 05

Posted 11 September 2005 - 08:06 AM

Hi,

I want to install foxit reader silent. But I'm not able to copy it from my cd to the 'program files' dir.
Can someone give me the exact commando for xcopy to do this?

this is the code I use now:
set CDROM=d:
for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\wpi.ico set CDROM=%%i:
echo Found CD-Rom as drive %CDROM%
md "%programfiles%\pdfreader"
xcopy %cdrom%\software\BasicSoft\pdfreader\ "%programfiles%\pdfreader\" /E
assoc .pdf=acrobat
ftype acrobat="%programfiles%\pdfreader\foxitreader.exe" "%%1" "%%*"


#2 User is offline   totoymola 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 944
  • Joined: 24-September 04

Posted 11 September 2005 - 10:38 AM

Hi. How many files are you trying to copy? If I'm not mistaken, you only need to copy the main foxit executable, right? Then, why do you have use XCOPY when you can simply use the COPY command?

Anyway, try this: (you can skip the md "%programfiles%\pdfreader")
xcopy /s /i "%cdrom%\software\BasicSoft\pdfreader" "%programfiles%\pdfreader"


You can try different combinations of switches. (ex: /e /i )

Please post your results. :)

This post has been edited by totoymola: 11 September 2005 - 10:39 AM


#3 User is offline   Telenut 

  • Member
  • PipPip
  • Group: Members
  • Posts: 147
  • Joined: 24-February 05

Posted 11 September 2005 - 10:41 AM

Great, seems like that one works!
(Had to copy 2 files. there is a dll file too)

thx mate
I felt stupid after trying a half an hour.

#4 User is offline   totoymola 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 944
  • Joined: 24-September 04

Posted 11 September 2005 - 11:00 AM

No problem friend. It happens to me too all the time. :)

I'm very glad to hear its working now. :)

Another suggestion:
If you want to make everything simple, try making an sfx.

This post has been edited by totoymola: 11 September 2005 - 11:01 AM


#5 User is offline   Telenut 

  • Member
  • PipPip
  • Group: Members
  • Posts: 147
  • Joined: 24-February 05

Posted 11 September 2005 - 11:34 AM

I made an sfx with izarc, but I've got an alert every time. So I don't know how to make them silent with izarc.
Have no winrar here, I only use free software :P
Could try 7z offcourse... But I prefer izarc, more user friendly. (although 7zip supports drag and drop now too..)

#6 User is offline   Telenut 

  • Member
  • PipPip
  • Group: Members
  • Posts: 147
  • Joined: 24-February 05

Posted 17 September 2005 - 03:36 AM

New version is out now... With installer. But no option to doe it silent :s

#7 User is offline   totoymola 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 944
  • Joined: 24-September 04

Posted 17 September 2005 - 03:09 PM

I will look at the latest release when I get home later. :)

#8 User is offline   totoymola 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 944
  • Joined: 24-September 04

Posted 18 September 2005 - 04:25 PM

Dude, I can't find the Foxit PDF installer.

Anyways, I created my own installer. Feel free to use it.

Get it from HERE.

Just run it without any switch, and it should install silently.

:)

#9 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 18 September 2005 - 07:18 PM

The installer is on their download page. It is pretty with no silent switches that work with it.
I downloaded the zip and used Inno Setup to create the installer as you would have done totoymola.

ISS
 
; Source files should be in folder named {app}, next to this script.

[Setup]
OutputBaseFilename=Foxit Reader v1.3.0.909
AppCopyright=Foxit
AppName=Foxit PDF Reader
AppVerName=Foxit PDF Reader v1.3
DefaultDirName={pf}\Foxit
ShowLanguageDialog=auto
AppendDefaultGroupName=false
DisableProgramGroupPage=true
AllowNoIcons=true
DirExistsWarning=no
InternalCompressLevel=ultra
SolidCompression=true
UsePreviousGroup=false
UninstallDisplayIcon={app}\Foxit Reader.exe
UninstallDisplayName=Foxit Reader
AppPublisher=Foxit Software
AppVersion=1.3.0.909
VersionInfoVersion=1.3.0.909
VersionInfoCompany=Foxit Software
VersionInfoDescription=PDF Reader
WizardImageFile=C:\Program Files\Inno Setup 5\WizModernImage-IS.bmp
WizardSmallImageFile=C:\Program Files\Inno Setup 5\WizModernSmallImage-IS.bmp
DisableDirPage=true
ChangesAssociations=true
AlwaysShowDirOnReadyPage=true

[Files]
Source: {app}\Foxit Reader.exe; DestDir: {app}

[Icons]
Name: {commonstartmenu}\Foxit Reader; Filename: {app}\Foxit Reader.exe; WorkingDir: {app}; IconFilename: {app}\Foxit Reader.exe; Comment: PDF Reader; IconIndex: 0

[Registry]
Root: HKCR; SubKey: .pdf; ValueType: string; ValueData: FoxitReader.Document; Flags: uninsclearvalue
Root: HKCR; SubKey: .pdf; ValueType: string; ValueData: application/pdf; ValueName: Content Type; Flags: uninsdeletevalue
Root: HKCR; SubKey: FoxitReader.Document\Shell\Open\Command; ValueType: string; ValueData: """{app}\FoxitReader.exe"" ""%1"""; Flags: uninsdeletevalue
Root: HKCR; Subkey: FoxitReader.Document\DefaultIcon; ValueType: string; ValueData: {app}\FoxitReader.exe,1; Flags: uninsdeletevalue 


#10 User is offline   Telenut 

  • Member
  • PipPip
  • Group: Members
  • Posts: 147
  • Joined: 24-February 05

Posted 18 September 2005 - 10:54 PM

totoymola, on Sep 19 2005, 12:25 AM, said:

Dude, I can't find the Foxit PDF installer.

Anyways, I created my own installer.  Feel free to use it.

Get it from HERE.

Just run it without any switch, and it should install silently.

:)
<{POST_SNAPBACK}>


Nice job, but it does not register itself as default reader.
But I can do that with a batch script.

#11 User is offline   totoymola 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 944
  • Joined: 24-September 04

Posted 19 September 2005 - 11:40 AM

Telenut, on Sep 18 2005, 09:54 PM, said:

Nice job, but it does not register itself as default reader.
But I can do that with a batch script.
<{POST_SNAPBACK}>


No dude. It should be associated with PDF files. Try it again. It works pretty good on my machine. Please try it again, preferably on a clean machine. Or uninstall your existing default PDF reader first.

:)

#12 User is offline   totoymola 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 944
  • Joined: 24-September 04

Posted 19 September 2005 - 11:43 AM

MHZ, I was actually planning to use Inno for this small application. But I figured out that I'm not that familiar with it. :D Thats why I created an MSI instead. But I'm pretty sure that the output installer created with Inno is smaller compared to an MSI because of its 7Zip compression. :)

#13 User is offline   JudgeDuck 

  • Group: Members
  • Posts: 6
  • Joined: 18-September 05

Posted 20 September 2005 - 06:04 AM

Can anybody please tell me what is wrong with this batch file, it keeps giving me errors:

REG ADD %KEY%\080 /VE /D "Foxit PDF Reader" /f
REG ADD %KEY%\080 /VE 1 /D "COPY \"%CDROM%\Software\Foxit\Foxit.exe\" \"%systemdrive%\Applications\Foxit\Foxit.exe\"" /f
REG ADD %KEY%\080 /VE 2 /D "ASSOC .pdf=FoxitReader.Document" /f
REG ADD %KEY%\080 /VE 3 /D "FTYPE FoxitReader.Document=%SYSTEMDRIVE%\Applications\Foxit\Foxit.exe \"%%1\""

%KEY% and %CDROM% are defined and work perfectly with other commands, so that is not the problem. I guess there is something wrong with the command itself but what?

#14 User is offline   r0sWell 

  • Member
  • PipPip
  • Group: Members
  • Posts: 179
  • Joined: 09-June 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 20 September 2005 - 07:15 AM

i made my own SFX archive for Foxit PDF Reader.


just take 'FoxitReader.exe' and 'fpdfdll5.dll' and put them in a SFX archive with WinRAR.

and for the comment :

Path=Foxit PDF Reader
SavePath
Silent=1
Overwrite=1
Shortcut=P, "FoxitReader.exe", "", "", "Foxit PDF Reader"

it create the folder for Foxit and the shortcut :)
simple and it works well.

This post has been edited by r0sWell: 20 September 2005 - 07:16 AM


#15 User is offline   JudgeDuck 

  • Group: Members
  • Posts: 6
  • Joined: 18-September 05

Posted 20 September 2005 - 11:15 AM

But what about the .pdf association?
You need to press to make the application the default pdf reader.

I want that automated also ;)

There should be multiple errors in my batch file :(

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