Silent Install Without The Toolbar?

Previously, to deploy PDF Creator 1.0.2 I used the following command which prevented the yahoo toolbar from installing:

PDFCreator-1_0_2_setup.exe" /VERYSILENT /components=\\"!toolbar\\" /tasks=\\"!desktop_icon\\"" /f /norestart

The problem, however, is that when I deploy PDF Creator 1.2.0 using a similar command line, it no longer works and the toolbar is installed!

PDFCreator-1_2_0_setup.exe" /VERYSILENT /components=\\"!toolbar\\" /tasks=\\"!desktop_icon\\"" /f /norestart

How can I modify the command line to prevent the toolbar installing with 1.2.0 ???

Thanks,
Steve.

I've updated this thread title to 1.2.0 since it has been released and this is what I am now trying to get the desired installation results:

1. Generate an ini file with the correct setup parameters:
 
"PATH\\PDFCreator-1_2_0_setup.exe" /SAVEINF:"PATH\\PDFCreator.ini"
 
The generated PDFCreator.ini file looks like this:
 
[Setup]
Lang=english
Dir=C:\\Program Files (x86)\\PDFCreator
Group=PDFCreator
NoIcons=0
SetupType=custom
Components=program,ghostscript,comsamples,helpfiles,helpfiles\\english,languages,languages\\english
Tasks=winexplorer
Printername=PDFCreator
ServerInstallation=0
Win9xPrinterdriver=0
WinNtPrinterdriver=0
Win2k32bitPrinterdriver=0
Win2k64bitPrinterdriver=0
Toolbar=0
 
PS. I am installing on windows 7 64-bit
 
2. Execute the installer, loading the ini file and passing some additional parameters (http://www.pdfforge.org/content/setup-command-line-parameters):
 
"PATH\\PDFCreator-1_2_0_setup.exe" /ForceInstall /VERYSILENT /NOCANCEL /NORESTART /LOADINF:"PATH\\PDFCreator.ini"
 
This appears to work just fine. The installer runs silently and the old version is removed without prompting, BUT the toolbar is still installed!
 
Why doesn't it work? Why is there no FAQ article on this? Can anyone help?
 
Many Thanks, Steve.

Same problem here... I try to remove it with command line.

How to do that ?

never mind...that obviously didn't work for this release...now I have to undo some installs that were done through a deployment tool.  I'll repost if I sort it out.

turns out that doesn't work with this release...crap. 

here's another thread with the answer:

 

http://www.pdfforge.org/forum/open-discussion/6172-problems-setup-pdfcreator-110

 

I've updated this thread title to 1.2.0 since it has been released and this is what I am now trying to get the desired installation results:

1. Generate an ini file with the correct setup parameters:

"PATH\\PDFCreator-1_2_0_setup.exe" /SAVEINF:"PATH\\PDFCreator.ini"

2. Execute the installer, loading the ini file and passing some additional parameters:

"PATH\\PDFCreator-1_2_0_setup.exe" /ForceInstall /VERYSILENT /NOCANCEL /NORESTART /LOADINF:"PATH\\PDFCreator.ini"

This appears to work just fine. The installer runs silently and the old version is removed without prompting, BUT the toolbar is still installed!
 
Why? Can anyone help?
 
Thanks, Steve...

for the last several revisions I have always used the switch:  /DontUseYahooSearch

OK, well I've done this a hundred times, but that stupid toolbar still installs. Very annoying.

Command:

"\\\\UNC_Path\\PDFCreator\\1.2.0\\PDFCreator-1_2_0_setup.exe" /LOADINF:"\\\\UNC_Path\\PDFCreator\\1.2.0\\pdfcreator.inf" /VERYSILENT /FORCEINSTALL

Inf:

[Setup]
Lang=english
Dir=C:\\Program Files (x86)\\PDFCreator
Group=PDFCreator
NoIcons=0
SetupType=custom
Components=program,ghostscript,helpfiles,helpfiles\\english,languages,languages\\english
Tasks=winexplorer
Printername=PDFCreator
ServerInstallation=0
Win9xPrinterdriver=0
WinNtPrinterdriver=0
Win2k32bitPrinterdriver=0
Win2k64bitPrinterdriver=0
Toolbar=0

This is identical to the setup that many of you are using and are able to make it work, but it doesn't work for me in our environment and I see that I am not alone.

I am now looking for a way to script the removal of the toolbar after the install completes. Does anyone know the command line for this?

Thanks. 

 

Any news on this issue ?

 

Has the new version solved this problem ?

Note. I've updated the name of this thread to "Silent Installation without Toolbar 1.2.0" since the release of 1.2.0.

The problem of installing without toolbar still exists. I've read several posts on this but no-one seems to have cracked it. In addition I have read this FAQ page which details all the command line parameters:
http://www.pdfforge.org/content/setup-command-line-parameters

So, this is what I have just tried. First I need to generate an ini file containing all the required setup parameters:

"PATH\\PDFCreator-1_2_0_setup.exe" /SAVEINF:"PATH\\PDFCreator.ini"

I run through the setup and "pdfcreator.ini" is created with all the options I choose, such as not installing the toolbar. The generated ini file looks like this:

[Setup]
Lang=english
Dir=C:\\Program Files (x86)\\PDFCreator
Group=PDFCreator
NoIcons=0
SetupType=custom
Components=program,ghostscript,comsamples,helpfiles,helpfiles\\english,languages,languages\\english
Tasks=winexplorer
Printername=PDFCreator
ServerInstallation=0
Win9xPrinterdriver=0
WinNtPrinterdriver=0
Win2k32bitPrinterdriver=0
Win2k64bitPrinterdriver=0
Toolbar=0

 So far so good... :)

Then on a test machine that currently has v1.0.2 installed, I run the following command to execute the installer with all the correct parameters:

 "PATH\\PDFCreator-1_2_0_setup.exe" /LOADINF:"PATH\\PDFCreator.ini"

This prompts me to remove the old version first, but I need this to happen automatically. I add the /ForceInstall switch and bunch of others that seem appropriate:

"PATH\\PDFCreator-1_2_0_setup.exe" /ForceInstall /VERYSILENT /NOCANCEL /NORESTART /LOADINF:"PATH\\PDFCreator.ini"

This seems to work just fine... The old version is removed, the new version is installed, there are no prompts... BUT the toolbar is still installed!

We only want to install the PDF printer. Why doesn't this work? Why is there not an FAQ article showing us how to do this?

Any help greatly appreciated.

Thanks, Steve.

I've updated this thread title to 1.2.0 since it has been released and this is what I am now trying to get the desired installation results:

1. Generate an ini file with the correct setup parameters:
 
"PATH\\PDFCreator-1_2_0_setup.exe" /SAVEINF:"PATH\\PDFCreator.ini"
 
The generated PDFCreator.ini file looks like this:
 
[Setup]
Lang=english
Dir=C:\\Program Files (x86)\\PDFCreator
Group=PDFCreator
NoIcons=0
SetupType=custom
Components=program,ghostscript,comsamples,helpfiles,helpfiles\\english,languages,languages\\english
Tasks=winexplorer
Printername=PDFCreator
ServerInstallation=0
Win9xPrinterdriver=0
WinNtPrinterdriver=0
Win2k32bitPrinterdriver=0
Win2k64bitPrinterdriver=0
Toolbar=0
 
PS. I am installing on windows 7 64-bit
 
2. Execute the installer, loading the ini file and passing some additional parameters (http://www.pdfforge.org/content/setup-command-line-parameters):
 
"PATH\\PDFCreator-1_2_0_setup.exe" /ForceInstall /VERYSILENT /NOCANCEL /NORESTART /LOADINF:"PATH\\PDFCreator.ini"
 
This appears to work just fine. The installer runs silently and the old version is removed without prompting, BUT the toolbar is still installed!
 
Why doesn't it work? Why is there no FAQ article on this? Can anyone help?
 
Many Thanks, Steve...

 Hi,

After many hours, that works for me with the following INF file :

 

``` [Setup] Lang=english NoIcons=1 SetupType=custom Components=program,ghostscript,languages,languages\\english Tasks= Printername=PDFCreator ServerInstallation=0 Win9xPrinterdriver=0 WinNtPrinterdriver=0 Win2k32bitPrinterdriver=0 Win2k64bitPrinterdriver=0 Toolbar=0 ```


and command line :

```

setup.exe /LOADINF="pdfcreator.inf" /VERYSILENT /FORCEINSTALL

<p>Regards,<br />Matt<br />&nbsp;</p>

I use Windows XP-SP3; I found a (silly) workaround for this toolbar-issue; the installation should be done off-line (meaning: you must NOT be connected to Internet). In alternative, if you use a firewall like Comodo-free-firewall you must NOT accept the connection when *stub.exe (the toolbar) is trying to access Internet connection.

NOTE: of course the previous workaround seems to be good when using

setup.exe /LOADFILE=pdfcreator.inf /AllTheOther-SwitchParameters

However, this should be corrected by the PDFCreator developers; a workaround could be to create a fake-toolbar (a .exe file that do... nothing!) when in the [Setup] part of the .inf file contains Toolbar=0 OR if the /NoToolbar (Toolbar=0) switch is passed. Note that is a silly hack not a definitive solution.

Hi,

Had similar issues trying to get this to work, but was unable to create an INI file.

 Discovered it was because the examples above that have /SAVEINF:PDFCreator.ini or /LOADINF:PDFCreator.ini should be /SAVEINF=PDFCreator/ini or /LOADINF=PDFCreator.ini

 The colon doesn't work, it's meant to be an equals sign,

 Cheers,

Taomyn

Hi!

I use also a combination of .inf file and command line switches.

My .inf file looks like this:

``` [Setup] Lang=german Dir=C:\\Programme\\PDFCreator Group=PDFCreator NoIcons=0 SetupType=custom Components=program,ghostscript,helpfiles,helpfiles\\english,helpfiles\\german,languages,languages\\english,languages\\german Tasks=fileassoc,winexplorer Printername=PDFCreator ServerInstallation=0 Win9xPrinterdriver=0 WinNtPrinterdriver=0 Win2k32bitPrinterdriver=0 Win2k64bitPrinterdriver=0 Toolbar=0 DontUseYahooSearch=0 ```

Then I call the setup the same way as bozzac does it with:

```

[EXE-File] /LOADINF="[UNC-PATH]\silentinstall.inf" /VERYSILENT /FORCEINSTALL

<p>Works fine, replaces the previous version and does not install the Toolbar.</p><p>&nbsp;</p>

 Thanks for all your responses. It seems the solution is to:

1. Generate an ini file:
"[UNC_Path]\\PDFCreator-1_2_0_setup.exe" /SAVEINF="[UNC_Path]\\PDFCreator.ini"

2. Install with:
"[UNC_Path]\\PDFCreator-1_2_0_setup.exe" /LOADINF="[UNC_Path]\\PDFCreator.ini" /VERYSILENT /FORCEINSTALL

It seems I had typed SAVEINF: and LOADINF: instead of  SAVEINF= and LOADINF= into my examples above (apologies for this), but I was actually using the latter in my scripts and it still wasn't working for me.

I'm going to try again with exactly what I've just posted here. The switches on the install command are slightly different to what I was using before (removed /NOCANCEL and /NORESTART) so I'll see how it goes and post my results.

Many thanks again to everyone that has contributed :)

Steve.

Installed v1.2.0 without toolbar: (Working for me)

Setup.ini:

 [Setup]
Lang=Czech
Components=program,ghostscript,comsamples,helpfiles,helpfiles\\czech
Toolbar=0

Command:

pdfcreator-1_2_0_setup.exe /LoadInf="Setup.ini" /verysilent /sp- /norestart /nocancel

No window will appear during installation

I still can not get the toolbar not to install in 1.2.0. Anyone else finally get this?

t