PDFCreator 0.9.9

Post Reply
bjoern.runge
Posts: 104
Joined: 18. Apr 2007, 10:17
Contact:

PDFCreator 0.9.9

Post by bjoern.runge » 02. Feb 2010, 14:07

Kann man dem Silent Installer von Sourceforge PDFCreator beibringen während der Installation nicht die Toolbar runterzuladen und installieren zu wollen?

Danke!

Grüße
Björn

imbas
Posts: 60
Joined: 07. May 2008, 08:23
Location: Stuttgart
Contact:

Post by imbas » 02. Feb 2010, 14:20

Das ist zwar von der Version 0.98, aber ich hoffe es funktioniert trotzdem:
PDFCreator-0_9_8_setup.exe /silent /components=\"!toolbar\" /tasks=\"!desktop_icon\"" /f

bjoern.runge
Posts: 104
Joined: 18. Apr 2007, 10:17
Contact:

Post by bjoern.runge » 02. Feb 2010, 14:45

Danke!

für Interessierte der (aus meiner Sicht) beste Setup Syntax ist:
Call "%Src%PDFCreatorsetup.exe" /SILENT /components="!toolbar",helpfiles,helpfilesgerman,languages,languagesgerman /tasks="!desktop_icon"" /f /SUPPRESSMSGBOXES /LOG="%APP%Install.log" /NOCANCEL /NORESTART

User avatar
heinrichmi
Posts: 211
Joined: 12. Nov 2009, 10:13
Location: Würzburg
Contact:

Post by heinrichmi » 01. Mar 2010, 13:36

Hallo Björn und alle anderen,

welche Parameter verwendet Ihr für die deinstallation?

Danke!
Michael Heinrich

MIWE Michael Wenz GmbH
Image

Empirum 19.0.0 UEM mit PM, M42-Cloud, PB, VM-Hosting, Citrix Farm Deployment, ServiceStore 9.0.4

bjoern.runge
Posts: 104
Joined: 18. Apr 2007, 10:17
Contact:

Post by bjoern.runge » 01. Mar 2010, 13:43

Call "%ProgramFilesDir%\PDFCreator\unins000.exe" /SILENT

Grüße Björn

User avatar
heinrichmi
Posts: 211
Joined: 12. Nov 2009, 10:13
Location: Würzburg
Contact:

Post by heinrichmi » 01. Mar 2010, 13:53

Super, Danke!

Viele Grüße!
Michael Heinrich

MIWE Michael Wenz GmbH
Image

Empirum 19.0.0 UEM mit PM, M42-Cloud, PB, VM-Hosting, Citrix Farm Deployment, ServiceStore 9.0.4

Moeki
Posts: 212
Joined: 06. Feb 2006, 14:22
Contact:

Post by Moeki » 01. Mar 2010, 14:22

Das ganze funktioniert auch per Saveinf

Code: Select all

;Installation
AddMeter 25
CALL "%SRC%\PDFCreator-0_9_9_setup" /LOADINF=%SRC%\pdfcreator.inf /NORESTART /NOCANCEL /SILENT


;Deinstallation
-CALL "%APP%\unins000.exe" /NORESTART /SILENT /NOCANCEL
/AW setzen wir per Registry noch die Sprache
HKCU,"Software\PDFCreator\Program\Language","german"

Gruß,
Marko.
W

User avatar
heinrichmi
Posts: 211
Joined: 12. Nov 2009, 10:13
Location: Würzburg
Contact:

Post by heinrichmi » 01. Mar 2010, 19:37

@Marko

Danke für den Tip! Habe ich getestet aber es kommt ein Feher das er
eine MSI zwecks einer Toolbar nicht installieren kann. Hmmmm.

@Björn

Die Sprache des PDF Creator ist trotz "languages,languagesgerman" immer noch Deutsch. Hast du eine Idee?
Michael Heinrich

MIWE Michael Wenz GmbH
Image

Empirum 19.0.0 UEM mit PM, M42-Cloud, PB, VM-Hosting, Citrix Farm Deployment, ServiceStore 9.0.4

User avatar
Captain_Slow
Posts: 115
Joined: 01. Mar 2010, 15:40
Contact:

Re: PDFCreator 0.9.9

Post by Captain_Slow » 30. Apr 2010, 10:01

so funktionierts bei mir :

Call "%Src%\PDFCreator-0_9_9_setup.exe" /LOADINF=%SRC%\%LANG%.inf /SILENT /LOG="%APP%\Install.log" /NOCANCEL /NORESTART

Wobei ich %LANG% über die SysStrings 07/09 ausgesteuert habe:
LANG=ENG / DEU

ENG.inf:

Code: Select all

[Setup]
Lang=english
Dir=C:\Program Files\PDFCreator
Group=PDFCreator
NoIcons=0
SetupType=custom
Components=program,ghostscript,comsamples,helpfiles,helpfiles\english,languages,languages\english
Tasks=desktopicon,desktopicon\common,fileassoc,winexplorer
Printername=PDFCreator
ServerInstallation=0
Win9xPrinterdriver=0
WinNtPrinterdriver=0
Win2k32bitPrinterdriver=0
DEU.inf:

Code: Select all

[Setup]
Lang=german
Dir=C:\Programme\PDFCreator
Group=PDFCreator
NoIcons=0
SetupType=custom
Components=program,ghostscript,comsamples,helpfiles,helpfiles\german,languages,languages\english,languages\german
Tasks=desktopicon,desktopicon\common,fileassoc,winexplorer
Printername=PDFCreator
ServerInstallation=0
Win9xPrinterdriver=0
WinNtPrinterdriver=0
Win2k32bitPrinterdriver=0
Empirum V17.0.2
MS SQL 2012
MS Windows Server 2012 R2

---------------------------------------------------------------
"...und die Hölle sieht genauso aus wie der Himmel ?!"

"Ja ! ... aber du bist der Admin !"

User avatar
slueben
Posts: 54
Joined: 28. Aug 2009, 19:07
Location: Köln
Contact:

Re: PDFCreator 0.9.9

Post by slueben » 20. May 2010, 16:58

Moin,
ich hab etwas unelegant gerade den PDFCreator 0.9.9 paketiert.
Es gibt genau zwei ini-dateien, eine pdf32.ini und eine pdf64.ini. Eine habe ich per /saveinf erstellt, die andere daraus kopiert und nur den Programmpfad angepasst.
Installation läuft sauber incl. Deinstallation mit den gewünschten Features.

Hier die setup.inf:

Code: Select all

[SetupInfo]
Author                  =administrator
CreationDate            =20.05.2010 16:01:18
InventoryID             =
Description             =
Method                  =
Tested on               =
Dependencies            =
Command line options    =/S0
Last Change             =
Build                   =

[VarDefInfo]
; <Variable>, <Type: 0=Computer 1=User>, <Allow NULL values: 0=No 1=Yes>

[Setup]
Version=10.5
ShowCaption=1
BlockInput=0
Platform=*

[Requirements]

[Application]
ProductName=PDFCreator
DeveloperName=pdfforge
Version=0.9.9
Revision=0
SetupName=%ProductName% %Version% %SetupWizard%
Text1="%ProductName% %Version%",         Arial,           30, , 00FFFF, 4,    , LEFT BOLD ITALIC
Text2="%DeveloperName%",                 Arial,           24, , 00FFFF, 4,    , LEFT BOLD ITALIC
Text8="%Company%",                       Arial,           18, , 00FFFF, 4,  10, RIGHT BOLD ITALIC
Text9="%InstallationFor% %WindowsUser%", Arial,           16, , 007F00, 4, -18, BOTTOM ITALIC LEFT
BackgroundColor=FF0000,000000
CopyDialogRect=0%, 0%, 100%, 100%, HCENTER VCENTER
UserKeyName=%DeveloperName%\%ProductName%
MachineKeyName=%DeveloperName%\%ProductName%\%Version%
UninstallKeyName=%DeveloperName% %ProductName% %Version%
UninstallDisplayName=%ProductName% %Version%
UninstallString=%ReinstallString% /U
ReinstallString="%CommonSetupDir%\Setup.exe" "%App%\%SetupInfDir%\Setup.inf"
ReinstallMode=1
SrcDir=..
ApplicationDir=%ProgramFilesDir%\%ProductName%
SetupInfDir=Install
AskUninstallOld=1
ShellLinks=1
CommonShellLinks=1
CreateUnresolvableShellLinks=1
UseStringSection=Strings:09
UseSysStringSection=SysStrings:09
DateWarning=1
SizeWarning=1
Reboot=0
PreventExternalReboot=1
StartServicesOnReboot=0
CallTimeOut=3600
AbortAfterCallTimeOut=1
DisableCancelButton=1
ShowEndMessage=1
EndMessage=%EndMessageDesc%


[Strings:07]
Disk1=Installationsmedium 1
EndMessageDesc=Die Installation wurde erfolgreich abgeschlossen!
ErrorLogMessage=Die Installation/Deinstallation wurde mit einer Fehlermeldung abgebrochen!
InstallationFor=Installation für:
InstallerDesc=Dienstprogramm zum Installieren einzelner Komponenten.
InstallerName=Installationsprogramm
SetupWizard=Installations-Assistent
Uninstallation=deinstallieren
ErrorText=Fehler
CallingText=beim Aufruf von

[Strings:09]
Disk1=Installation media 1
EndMessageDesc=Installation was completed successfully!
ErrorLogMessage=The installation/uninstallation aborted with an error message!
InstallationFor=Installation for:
InstallerDesc=Service program to install single components.
InstallerName=Setup program
SetupWizard=Installation Wizard
Uninstallation=Uninstallation
ErrorText=Error
CallingText=launching

[SysStrings:07]
Users=Benutzer

[SysStrings:09]
Users=Users

[Environment]
CommonSetupDir=%CommonFilesDir%\Setup%SetupBits%
V_MachineValuesPath=%SoftwareDepotServerName%\Values$\MachineValues\%DomainName%
V_UserValuesPath=%HKLM,"Software\matrix42\Software Depot","HomeServer"%\Values$\UserValues\%UserDomain%
Wow6432Node=

; Maschinenabhängige Variablen
; machine dependent variables
;VM_<Variable>=%%%V_MachineValuesPath%\%ComputerName%.ini,%ComputerName%,<Variable>%%

; Userabhängige Variablen
; user dependent variables
;VU_<Variable>=%%%V_UserValuesPath%\%WindowsUser%.ini,%WindowsUser%,<Variable>%%

; !!! Setzen der entsprechenden ReplaceEnv Befehle für die Variablen im Abschnitt [Product] nicht vergessen!!!
; !!! Don't forget to set the appropriate ReplaceEnv instructions for the variables in the section [Product]!!!

[Encryption]

[Disks]
1=%Disk1%

[Options]
Installer = %InstallerName%, COPYALWAYS, Installer, "%InstallerDesc%"
Product   = %ProductName%,   COPYALWAYS, Product,   "%ProductDesc%"

[OptionDependencies]

[OptionGroups]

[Installer]
1:..\..\..\..\User\Setup.exe,          %CommonSetupDir%, OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP, 0
1:..\..\..\..\User\SetupDeu.chm,       %CommonSetupDir%, OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP, 0
1:..\..\..\..\User\SetupEnu.chm,       %CommonSetupDir%, OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP, 0
1:..\..\..\..\User\Mx42SynSem.dll,     %System%,         OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP WINDOWS32, 0
1:..\..\..\..\User\x64\Mx42SynSem.dll, %System%,         OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP WINDOWS64, 0
1:%SetupInfDir%\Setup.inf,                             , NORMAL,                                             0
1:%Temp%\Setup64.exe,                  %CommonSetupDir%\Setup.exe, OPTIONAL NOSIZEWARNING SETUP ALWAYS WINDOWS64,      0

[FileCheckMachine]
ReplaceEnv V_MachineValuesPath
If DoesFileExist ("%V_MachineValuesPath%\%ComputerName%.ini") == "0" Then "FileIsntThere" EndIf

[FileCheckClient]
ReplaceEnv V_UserValuesPath
If "%UserDomain%" <> "%ComputerName%" Then "CheckClientFile" EndIf

[CheckClientFile]
If DoesFileExist ("%V_UserValuesPath%\%WindowsUser%.ini") == "0" Then "FileIsntThere" EndIf

[FileIsntThere]
ErrorLogMsg Values$\MachineValues\%DomainName%\%ComputerName%.ini or Values$\UserValues\%UserDomain%\%WindowsUser%.ini not found!
Abort

[Check64bit],Windows64
If "%WindowsBits%" == "64" Then "Wow6432Node" EndIf

[Wow6432Node],Windows64
Set Wow6432Node "Wow6432Node\"

[Product]
;#FileCheckMachine, MACHINE
;#FileCheckClient, CLIENT
;ReplaceEnv <Variable>

#Set:Product
#Set:Installation, DONTDELETE
#Set:Deinstallation, DELETE
#Reg:OnUninstallProduct, DELETE
#Reg:Product
#Ini:Product
#Security:Product

[Set:Product]

[SET:Installation]
AddMeter 50
Call "%Src%\PDFCreator-0_9_9_setup.exe" /loadinf="%SRC%\pdf%windowsbits%.ini" /norestart /silent /LOG="%APP%\install.log"
If %ErrorLevel% <> "0" Then "SET:InstallationError" EndIf

[SET:Deinstallation]
If "%ProgramFiles%\PDFCreator\unins000.exe" <> "" Then "SET:Deinstallation2" EndIf

[SET:Deinstallation2]
If %ErrorLevel% <> "0" Then "SET:DeInstallationError" EndIf
-Call "%ProgramFiles%\PDFCreator\unins000.exe" /silent /RemoveOptions
-AddMeter 50

[Reg:OnUninstallProduct]

[Reg:Product]

[Ini:Product]

[Security:Product]

[Shell:Product]

[SET:InstallationError]
ErrorLogMsg %ErrorText% %ErrorLevel% %CallingText% PDFCreator-0_9_9_setup.exe
Abort

[SET:DeInstallationError]
-Abort
-ErrorLogMsg %ErrorText% %ErrorLevel% %CallingText% %ProgramFiles%\PDFCreator\unins000.exe
Mit freundlichen Grüßen

Stefan Lüben
______________________________________
Ev. Verwaltungsverband in Bonn
Leiter Informationstechnik

Post Reply

Return to “Paketierung”

Who is online

Users browsing this forum: No registered users and 4 guests