Thursday, June 27, 2013

pdfcreator release and unpack,visual studio develop log

1.download file and install

microsoft visual basic 6 // build ide

pdfcreate 1.7.0 source // newest source

pdfcreate 1.3.2 source // this have setup folder

pdfcreator 1.7.0 setup file

InnoExtractor  // extra pdfcreator 1.7.0,and extra ghostscript

ghost script // if your don’t used innoextractor to extra ghostscript in pdfcreator 1.7.0

inno setup // setup tool

IPDK // in here

HTML Help workshop

2.crack pdf create 1.7.0 setup file,extract ghostscript

run innoextractor, open PDFCreator-1_7_0_setup.exe,extract to one folder.

then your can ghostscript to your pdfcreator 1.7.0 source\Ghostscript\.

image

or your can install ghostscript by this location.

3.copy setup folder from 1.3.2 to 1.7.0

ManifestManager\

PDFCreatorRestart\

Setup\

SystemFiles\

compiler PDFCreator-1_3_2-source\PDFCreatorRestart\PDFCreatorRestart.vbp,make release PDFCreatorRestart.exe,then copy PDFCreatorRestart.exe to PDFCreator-1_7_0-source\PDFCreatorRestart\

and ManifestManager.exe like this.

4.compiler pdfcreator 1.7.0

open PDFCreator-1_7_0-source\PDFCreator.vbg

image

if your see cann’t reference Edanmo\olelib.tib,then project-> Reference:

image

then click”browser”,select “your source path\TLBs\Edanmo\olelib.tlb”,click ok.

imageimageimage

 

run:

image

then,right mouse click project,publish –> make output.

image

5.build setup

inno setup run PDFCreator-1_7_0-source\Setup\PDFCreator.iss.

modify:

#define GhostscriptVersion "9.05"

 




to

#define GhostscriptVersion "9.07"

 




if your html help wordshop is install to other location,then modify:

#define HHWPath "C:\Programme\HTML Help Workshop"

 




to:

E:\Program Files (x86)\HTML Help Workshop

6.modify some other error


maybe you need modify setup\languages.inc,remove some content if your not want to used.


7.files content sample


PDFCreator-1_7_0-source\Setup\PDFCreator.iss

; PDFCreator Installation
; Installation script created by pdfforge GbR

;#define FastCompilation
;#define Test

;#define CompileHelp
#define IncludeGhostscript
;#define IncludeOC
;#define IncludeIM
#define OCEndDate "2012-04-15"
#define Localization

#define GhostscriptPath "..\GhostScript"

#ifdef Test
#undef CompileHelp
#define FastCompilation
#endif

#ifdef FastCompilation
#define Compression="none"
#define InternalCompressLevel="none"
#else
#define Compression="lzma2/ultra64"
#define InternalCompressLevel="ultra64"
#endif

#Ifdef IncludeGhostscript
#define GhostscriptVersion "9.07"
#define GhostscriptSetupString "GPLGhostscript"
#if (fileexists("..\Ghostscript\gs" + GhostscriptVersion + "\bin\gsdll32.dll")==0)
#pragma error "Copy Ghostscript version '" + GhostscriptVersion + "' to the path 'Ghostcript' first!"
#endif
#ENDIF

#if (fileexists("..\PDFCreator\PDFCreator.exe")==0)
#error Compile PDFCreator first!
#endif
#if (fileexists("..\PDFCreatorRestart\PDFCreatorRestart.exe")==0)
#error Compile PDFCreatorRestart first!
#endif
#if (fileexists("..\TransTool\TransTool.exe")==0)
#error Compile TransTool first!
#endif

;remove the german localization
#IFNDEF Test
#IFDEF Localization
#if (fileexists("C:\IPDK\VBLOCAL.EXE")==0)
#error Please install the IPDK!
#endif
#expr Exec("C:\IPDK\VBLOCAL.EXE","..\PDFCreator\PDFCreator.exe * 0x409 ~ 0x0",".\")
#expr Exec("
C:\IPDK\VBLOCAL.EXE","..\PDFCreatorRestart\PDFCreatorRestart.exe * 0x409 ~ 0x0",".\")
#expr Exec("
C:\IPDK\VBLOCAL.EXE","..\TransTool\TransTool.exe * 0x409 ~ 0x0",".\")
#endif
#endif

;add manifest to exe files
#IFNDEF Test
#if (fileexists("
..\ManifestManager\ManifestManager.exe")==0)
#error Compile ManifestManager first!
#endif
#expr Exec("
..\ManifestManager\ManifestManager.exe","/ADD""..\PDFCreator\PDFCreator.exe""","..\ManifestManager\")
#expr Exec("
..\ManifestManager\ManifestManager.exe","/ADD""..\PDFCreatorRestart\PDFCreatorRestart.exe""","..\ManifestManager\")
#expr Exec("
..\ManifestManager\ManifestManager.exe","/ADD""..\TransTool\TransTool.exe""","..\ManifestManager\")
#endif

#ifdef CompileHelp
#define HHWPath "
E:\Program Files (x86)\HTML Help Workshop"
#if (fileexists(HHWPath + "
\HHC.EXE")==0)
#error Please install the "
HTML Help Workshop" first!
#endif
#expr Exec(HHWPath + "
\HHC.EXE", "..\Help\english\PDFCreator.hhp",".\")
#expr Exec(HHWPath + "
\HHC.EXE", "..\Help\german\PDFCreator.hhp" ,".\")
#expr Exec(HHWPath + "
\HHC.EXE", "..\Help\french\PDFCreator.hhp" ,".\")
#endif

#define GetFileVersionVBExe(str S) Local[0]=GetFileVersion(S), Local[1]=Copy(Local[0],1,Pos("
.",Local[0])), Local[2]=Copy(Local[0],Pos(".",Local[0])+1,Len(Local[0])-Pos(".",Local[0])), Local[3]=Copy(Local[2],1,Pos(".",Local[2])), Local[4]=Copy(Local[0],RPos(".",Local[0])+1,Len(Local[0])-RPos(".",Local[0])), S = Local[1] + Local[3] + Local[4]
#define GetFileVersionVBExeLine(str S) Local[0]=GetFileVersion(S), Local[1]=Copy(Local[0],1,Pos("
.",Local[0])-1), Local[2]=Copy(Local[0],Pos(".",Local[0])+1,Len(Local[0])-Pos(".",Local[0])), Local[3]=Copy(Local[2],1,Pos(".",Local[2])-1), Local[4]=Copy(Local[0],RPos(".",Local[0])+1,Len(Local[0])-RPos(".",Local[0])), S = Local[1] + '_' + Local[3] + '_' + Local[4]
#define GetFileVersionCompact(str S) Local[0]=GetFileVersion(S), Local[1]=Copy(Local[0],1,Pos("
.",Local[0])-1), Local[2]=Copy(Local[0],Pos(".",Local[0])+1,Len(Local[0])-Pos(".",Local[0])), Local[3]=Copy(Local[2],1,Pos(".",Local[2])-1), Local[4]=Copy(Local[0],RPos(".",Local[0])+1,Len(Local[0])-RPos(".",Local[0])), S = Local[1] + Local[3] + Local[4]

#define Homepage "
http://www.pdfforge.org"
#define SourceforgeHomepage "http://www.sf.net/projects/pdfcreator"
#define WelcomePage "http://www.pdfforge.org/pdfcreator/welcome"
#define Appname "PDFCreator"
#define AppExename "PDFCreator.exe"

#define AppVersion GetFileVersionVBExe("..\PDFCreator\PDFCreator.exe")

#define PDFCreatorVersion GetFileVersionVBExe("..\PDFCreator\PDFCreator.exe")
#define SetupAppVersion GetFileVersionVBExeLine("..\PDFCreator\PDFCreator.exe")
#define TransToolVersion GetFileVersionVBExe("..\Transtool\Transtool.exe")
#define PDFCreatorRestartVersion GetFileVersionVBExe("..\PDFCreatorRestart\PDFCreatorRestart.exe")
#define pdfcmonVersion32 GetFileVersion("..\Printer\Monitor\pdfcmon32.dll")
#define pdfcmonVersion64 GetFileVersion("..\Printer\Monitor\pdfcmon64.dll")

#define ReleaseCandidate ""

#define BetaVersion ""

#IF (BetaVersion!="")
#define AppVersionStr AppVersion + " Beta " + BetaVersion
#define SetupAppVersionStr SetupAppVersion + "_" + "Beta_" + BetaVersion
#ELSE
#IF (ReleaseCandidate!="")
#define AppVersionStr AppVersion + " RC" + ReleaseCandidate
#define SetupAppVersionStr SetupAppVersion + "_" + "RC" + ReleaseCandidate
#ELSE
#define AppVersionStr AppVersion
#define SetupAppVersionStr SetupAppVersion
#ENDIF
#ENDIF

#define AppID "{0001B4FD-9EA3-4D90-A79E-FD14BA3AB01D}"
#define AppIDStr "{" + AppID
#define AppIDreg "{0001B4FD-9EA3-4D90-A79E-FD14BA3AB01D%7d"
#define PDFCreatorExeID "{A7332D94-E8FE-40B2-937F-8515FC0FF52F}"
#define PDFCreatorExeIDstr "{" + PDFCreatorExeID
#define TransToolExeID "{B7BCA0D2-7305-4318-BA7A-01B028D910EB}"
#define TransToolExeIDStr "{" + TransToolExeID
#define UninstallID AppID
#define UninstallIDreg AppIDreg
#define UninstallIDStr "{"+ UninstallID
#define UninstallIDStr2 "{"+ UninstallIDreg

#define UninstallReg "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + UninstallID
#define UninstallRegStr "
SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + UninstallIDStr
#define UninstallRegStr2 "
SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + UninstallIDStr2
#define PrintReg "
System\CurrentControlSet\Control\Print\"
#define PrintRegMon "
System\CurrentControlSet\Control\Print\Monitors\"

#define DefaultPrinterMonitorname "
pdfcmon"
#define DefaultPrinterPortname "
pdfcmon"
#define DefaultPrinterDrivername "
PDFCreator"
#define DefaultPrintername "
PDFCreator"

#include "
PostscriptPrinterSettings.inc"

;#define UpdateIsPossible
;#define UpdateIsPossibleMinVersion "
0.9.8"

#IFDEF IncludeOC
#include "
OCpre.iss"
#ENDIF

#IFDEF IncludeIM
#include "
IMpre.iss"
#define ITD
#ENDIF

[Setup]
AllowNoIcons=true
AlwaysRestart=false
AppContact={#Homepage}
AppCopyright=?Frank Heind鰎fer, Philip Chinery
AppID={#AppIDStr}
AppName={#AppName}
AppVerName={#AppName} {#AppVersionStr}
AppPublisher=Philip Chinery, Frank Heind鰎fer
AppPublisherURL={#Homepage}
AppSupportURL={#Homepage}
AppUpdatesURL={#Homepage}
AppVersion={#AppVersion}
ArchitecturesAllowed=x86 x64
ChangesAssociations=true
CreateUninstallRegKey=false
DefaultDirName={reg:HKLM\{#UninstallRegStr2},Inno Setup: App Path|{pf}\{#AppName}}
DefaultGroupName={#AppName}
DisableStartupPrompt=true
ExtraDiskSpaceRequired=10303775
LanguageDetectionMethod=locale
LicenseFile=.\License\Program license - english.rtf
LZMAUseSeparateProcess=yes
#Ifdef IncludeGhostscript
OutputBaseFilename={#AppName}-{#SetupAppVersionStr}_setup
#ELSE
OutputBaseFilename={#AppName}-{#SetupAppVersionStr}_setup_WithoutGhostscript
#ENDIF
OutputDir=Installation
RestartIfNeededByRun=true
ShowTasksTreeLines=false
ShowUndisplayableLanguages=true
SolidCompression=true
UsePreviousAppDir=true
VersionInfoVersion={#AppVersion}
VersionInfoCompany=Frank Heind鰎fer, Philip Chinery
VersionInfoDescription=PDFCreator is the easy way of creating PDFs.
VersionInfoProductName={#AppName}
VersionInfoProductVersion={#AppVersion}
VersionInfoTextVersion={#AppVersion}
WizardImageFile=..\Pictures\Setup\PDFCreatorBig.bmp
WizardSmallImageFile=..\Pictures\Setup\PDFCreator.bmp
MinVersion=0,5.0.2195

#IFDEF ITD
#define ITDRoot ReadReg(HKEY_LOCAL_MACHINE,'Software\Sherlock Software\InnoTools\Downloader','InstallPath','')
#include ITDRoot+'\it_download.iss'
#define ITDLanguageGerman "
itd_de.ini"
#define ITDLanguageGermanSource '.\ITD\' + ITDLanguageGerman
#define ITDLanguageGermanDestination ITDRoot + '\languages\' + ITDLanguageGerman
#if FileExists(ITDLanguageGermanSource)
#if FileExists(ITDLanguageGermanDestination) == 0
#pragma Message 'Copy ITD language file: ' + ITDLanguageGerman
#expr CopyFile('.\ITD\' + ITDLanguageGerman, ITDRoot + '\languages\' + ITDLanguageGerman)
#endif
#endif
#ENDIF

[InstallDelete]
#Ifdef GhostscriptVersion
Name: {app}\Gs{#GhostscriptVersion}\Fonts\*.*; Type: filesandordirs; Components: ghostscript
Name: {app}\GS{#GhostscriptVersion}\gs{#GhostscriptVersion}\Lib\*.*; Type: filesandordirs; Components: ghostscript
Name: {app}\GS{#GhostscriptVersion}\gs{#GhostscriptVersion}\Bin\gsdll32.dll; Type: files; Components: ghostscript
#ENDIF
Name: {app}\languages\*.ini; Type: files; Components: program
Name: {app}\unload.tmp; Type: files; Components: program

[Files]
;We sort all files by extension for a maximal compression
;license file
Source: "
License\Program license - german - OC.rtf"; DestDir: {app}; Components: program; Flags: deleteafterinstall dontcopy
Source: "
License\Program license - english - OC.rtf"; DestDir: {app}; Components: program; Flags: deleteafterinstall dontcopy

;Systemfiles
Source: ..\SystemFiles\ASYCFILT.DLL; DestDir: {sys}; Components: program; Flags: 32bit sharedfile uninsnosharedfileprompt restartreplace uninsneveruninstall

;psapi.dll - only for NT4 to enum processes
Source: ..\SystemFiles\PSAPI.DLL; DestDir: {sys}; Components: program; Flags: 32bit sharedfile uninsnosharedfileprompt restartreplace uninsneveruninstall; MinVersion: 0,4.0.1381; OnlyBelowVersion: 0,5.0.2195

;Please use newest MSVBVM60.DLL
;http://support.microsoft.com/default.aspx?scid=kb;en-us;823746
Source: ..\SystemFiles\MSVBVM60.DLL; DestDir: {sys}; Components: program; Flags: 32bit sharedfile uninsnosharedfileprompt restartreplace regserver uninsneveruninstall

Source: ..\SystemFiles\MSMPIDE.DLL; DestDir: {sys}; Components: program; Flags: 32bit sharedfile uninsnosharedfileprompt
Source: ..\SystemFiles\OLEPRO32.DLL; DestDir: {sys}; Components: program; Flags: 32bit sharedfile uninsnosharedfileprompt restartreplace regserver uninsneveruninstall; OnlyBelowVersion: 0,6.0
Source: ..\SystemFiles\OLEAUT32.DLL; DestDir: {sys}; Components: program; Flags: 32bit sharedfile uninsnosharedfileprompt restartreplace regserver uninsneveruninstall; OnlyBelowVersion: 0,6.0

;Language satellite system files
;http://msdn.microsoft.com/vbasic/downloads/tools/ipdk.aspx
;Language: German
;Source: C:\IPDK\German\CMCT3DE.DLL; DestDir: {sys}; Components: program; Flags: sharedfile uninsnosharedfileprompt; Check: IsLanguage('german')
Source: C:\IPDK\German\MSCC2DE.DLL; DestDir: {sys}; Components: program; Flags: 32bit sharedfile uninsnosharedfileprompt; Check: IsLanguage('german')
Source: C:\IPDK\German\MSCMCDE.DLL; DestDir: {sys}; Components: program; Flags: 32bit sharedfile uninsnosharedfileprompt; Check: IsLanguage('german')
Source: C:\IPDK\German\VB6DE.DLL; DestDir: {sys}; Components: program; Flags: 32bit sharedfile uninsnosharedfileprompt; Check: IsLanguage('german')
;Language: Italian
;Source: C:\IPDK\Italian\CMCT3IT.DLL; DestDir: {sys}; Components: program; Flags: sharedfile uninsnosharedfileprompt; Check: IsLanguage('italian')
Source: C:\IPDK\Italian\MSCC2IT.DLL; DestDir: {sys}; Components: program; Flags: 32bit sharedfile uninsnosharedfileprompt; Check: IsLanguage('italian')
Source: C:\IPDK\Italian\MSCMCIT.DLL; DestDir: {sys}; Components: program; Flags: 32bit sharedfile uninsnosharedfileprompt; Check: IsLanguage('italian')
Source: C:\IPDK\Italian\VB6IT.DLL; DestDir: {sys}; Components: program; Flags: 32bit sharedfile uninsnosharedfileprompt; Check: IsLanguage('italian')
;Language: French
;Source: C:\IPDK\French\CMCT3FR.DLL; DestDir: {sys}; Components: program; Flags: sharedfile uninsnosharedfileprompt; Check: IsLanguage('french')
Source: C:\IPDK\French\MSCC2FR.DLL; DestDir: {sys}; Components: program; Flags: 32bit sharedfile uninsnosharedfileprompt; Check: IsLanguage('french')
Source: C:\IPDK\French\MSCMCFR.DLL; DestDir: {sys}; Components: program; Flags: 32bit sharedfile uninsnosharedfileprompt; Check: IsLanguage('french')
Source: C:\IPDK\French\VB6FR.DLL; DestDir: {sys}; Components: program; Flags: 32bit sharedfile uninsnosharedfileprompt; Check: IsLanguage('french')

;Printerdriver files
;PPD-File
; Win9x/Me
Source: ..\Printer\Adobe\PDFCREATOR_german.PPD; DestName: ADIST5.PPD; DestDir: {code:PrinterDriverDirectory|Windows 4.0}; Components: program; Flags: ignoreversion; Check: InstallPDFCreatorPrinter AND InstallWin9xPrinterdriver AND IsLanguage('german') AND (NOT UseOwnPPDFile)
Source: ..\Printer\Adobe\PDFCREATOR_english.PPD; DestName: ADIST5.PPD; DestDir: {code:PrinterDriverDirectory|Windows 4.0}; Components: program; Flags: ignoreversion; Check: InstallPDFCreatorPrinter AND InstallWin9xPrinterdriver AND NOT IsLanguage('german') AND NOT UseOwnPPDFile
Source: {code:GetExternalPPDFile}; DestName: ADIST5.PPD; DestDir: {code:PrinterDriverDirectory|Windows 4.0}; Components: program; Flags: ignoreversion external; Check: InstallPDFCreatorPrinter AND UseOwnPPDFile
; WinNt4, Win2k, WinXP, Win2k3 - 32bit
Source: ..\Printer\Adobe\PDFCREATOR_german.PPD; DestName: PDFCREAT.PPD; DestDir: {code:PrinterDriverDirectory|Windows NT x86}; Components: program; Flags: ignoreversion deleteafterinstall; Check: InstallPDFCreatorPrinter AND (InstallWinNtPrinterdriver OR InstallWin2kXP2k3Printerdriver32bit) AND IsLanguage('german') AND NOT UseOwnPPDFile
Source: ..\Printer\Adobe\PDFCREATOR_english.PPD; DestName: PDFCREAT.PPD; DestDir: {code:PrinterDriverDirectory|Windows NT x86}; Components: program; Flags: ignoreversion deleteafterinstall; Check: InstallPDFCreatorPrinter AND (InstallWinNtPrinterdriver OR InstallWin2kXP2k3Printerdriver32bit) AND NOT IsLanguage('german') AND NOT UseOwnPPDFile
Source: {code:GetExternalPPDFile}; DestName: PDFCREAT.PPD; DestDir: {code:PrinterDriverDirectory|Windows NT x86}; Components: program; Flags: ignoreversion deleteafterinstall external; Check: InstallPDFCreatorPrinter AND UseOwnPPDFile
; WinXP, Win2k3 - 64bit
Source: ..\Printer\Adobe\PDFCREATOR_german.PPD; DestName: PDFCREAT.PPD; DestDir: {code:PrinterDriverDirectory|Windows x64}; Components: program; Flags: ignoreversion deleteafterinstall; Check: InstallPDFCreatorPrinter AND (InstallWinXP2k3Printerdriver64bit) AND IsLanguage('german') AND NOT UseOwnPPDFile
Source: ..\Printer\Adobe\PDFCREATOR_english.PPD; DestName: PDFCREAT.PPD; DestDir: {code:PrinterDriverDirectory|Windows x64}; Components: program; Flags: ignoreversion deleteafterinstall; Check: InstallPDFCreatorPrinter AND (InstallWinXP2k3Printerdriver64bit) AND NOT IsLanguage('german') AND NOT UseOwnPPDFile
Source: {code:GetExternalPPDFile}; DestName: PDFCREAT.PPD; DestDir: {code:PrinterDriverDirectory|Windows x64}; Components: program; Flags: ignoreversion deleteafterinstall external; Check: InstallPDFCreatorPrinter AND UseOwnPPDFile

;Driver files

; WinXP, Win2003 - x86 (32bit)
Source: ..\Printer\Adobe\WinXP2k3-x86\AdobePS5.dll; DestDir: {code:PrinterDriverDirectory|Windows NT x86}; Components: program; Flags: deleteafterinstall; Check: InstallPDFCreatorPrinter AND InstallWin2kXP2k3Printerdriver32bit; MinVersion: 0,5.01.2600; OnlyBelowVersion: 0,0
Source: ..\Printer\Adobe\WinXP2k3-x86\AdobePSu.dll; DestDir: {code:PrinterDriverDirectory|Windows NT x86}; Components: program; Flags: deleteafterinstall; Check: InstallPDFCreatorPrinter AND InstallWin2kXP2k3Printerdriver32bit; MinVersion: 0,5.01.2600; OnlyBelowVersion: 0,0
Source: ..\Printer\Adobe\WinXP2k3-x86\ADOBEPSU.HLP; DestDir: {code:PrinterDriverDirectory|Windows NT x86}; Components: program; Flags: ignoreversion deleteafterinstall; Check: InstallPDFCreatorPrinter AND InstallWin2kXP2k3Printerdriver32bit; MinVersion: 0,5.01.2600; OnlyBelowVersion: 0,0
Source: ..\Printer\Adobe\WinXP2k3-x86\AdobePS5.ntf; DestDir: {code:PrinterDriverDirectory|Windows NT x86}; Components: program; Flags: ignoreversion deleteafterinstall; Check: InstallPDFCreatorPrinter AND InstallWin2kXP2k3Printerdriver32bit; MinVersion: 0,5.01.2600; OnlyBelowVersion: 0,0
Source: ..\Printer\Adobe\WinXP2k3-x86\PS_SCHM.GDL; DestDir: {code:PrinterDriverDirectory|Windows NT x86}; Components: program; Flags: deleteafterinstall; Check: InstallPDFCreatorPrinter AND InstallWin2kXP2k3Printerdriver32bit; MinVersion: 0,5.01.2600; OnlyBelowVersion: 0,0
Source: ..\Printer\Adobe\WinXP2k3-x86\PSCRIPT.HLP; DestDir: {code:PrinterDriverDirectory|Windows NT x86}; Components: program; Flags: deleteafterinstall; Check: InstallPDFCreatorPrinter AND InstallWin2kXP2k3Printerdriver32bit; MinVersion: 0,5.01.2600; OnlyBelowVersion: 0,0
Source: ..\Printer\Adobe\WinXP2k3-x86\PS5UI.DLL; DestDir: {code:PrinterDriverDirectory|Windows NT x86}; Components: program; Flags: deleteafterinstall; Check: InstallPDFCreatorPrinter AND InstallWin2kXP2k3Printerdriver32bit; MinVersion: 0,5.01.2600; OnlyBelowVersion: 0,0
Source: ..\Printer\Adobe\WinXP2k3-x86\PSCRIPT5.DLL; DestDir: {code:PrinterDriverDirectory|Windows NT x86}; Components: program; Flags: deleteafterinstall; Check: InstallPDFCreatorPrinter AND InstallWin2kXP2k3Printerdriver32bit; MinVersion: 0,5.01.2600; OnlyBelowVersion: 0,0
Source: ..\Printer\Adobe\WinXP2k3-x86\PSCRIPT.NTF; DestDir: {code:PrinterDriverDirectory|Windows NT x86}; Components: program; Flags: deleteafterinstall; Check: InstallPDFCreatorPrinter AND InstallWin2kXP2k3Printerdriver32bit; MinVersion: 0,5.01.2600; OnlyBelowVersion: 0,0
; WinXP, Win2003 - x64 (64bit)
;Source: ..\Printer\Adobe\WinXP2k3-x64\PS_SCHM.GDL; DestDir: {code:PrinterDriverDirectory|Windows x64}; Components: program; Flags: deleteafterinstall; Check: InstallPDFCreatorPrinter AND InstallWinXP2k3Printerdriver64bit; MinVersion: 0,5.01.2600; OnlyBelowVersion: 0,0
Source: ..\Printer\Adobe\WinXP2k3-x64\PSCRIPT.HLP; DestDir: {code:PrinterDriverDirectory|Windows x64}; Components: program; Flags: deleteafterinstall; Check: InstallPDFCreatorPrinter AND InstallWinXP2k3Printerdriver64bit; MinVersion: 0,5.01.2600; OnlyBelowVersion: 0,0
Source: ..\Printer\Adobe\WinXP2k3-x64\PS5UI.DLL; DestDir: {code:PrinterDriverDirectory|Windows x64}; Components: program; Flags: deleteafterinstall; Check: InstallPDFCreatorPrinter AND InstallWinXP2k3Printerdriver64bit; MinVersion: 0,5.01.2600; OnlyBelowVersion: 0,0
Source: ..\Printer\Adobe\WinXP2k3-x64\PSCRIPT5.DLL; DestDir: {code:PrinterDriverDirectory|Windows x64}; Components: program; Flags: deleteafterinstall; Check: InstallPDFCreatorPrinter AND InstallWinXP2k3Printerdriver64bit; MinVersion: 0,5.01.2600; OnlyBelowVersion: 0,0
Source: ..\Printer\Adobe\WinXP2k3-x64\PSCRIPT.NTF; DestDir: {code:PrinterDriverDirectory|Windows x64}; Components: program; Flags: deleteafterinstall; Check: InstallPDFCreatorPrinter AND InstallWinXP2k3Printerdriver64bit; MinVersion: 0,5.01.2600; OnlyBelowVersion: 0,0

;Ghostscript
#IFDEF GhostscriptVersion
Source: {#GhostscriptPath}\gs{#GhostscriptVersion}\Bin\gsdll32.dll; DestDir: {app}\GS{#GhostscriptVersion}\gs{#GhostscriptVersion}\Bin; Components: ghostscript; Flags: ignoreversion
Source: {#GhostscriptPath}\gs{#GhostscriptVersion}\Bin\gsdll32.lib; DestDir: {app}\GS{#GhostscriptVersion}\gs{#GhostscriptVersion}\Bin; Components: ghostscript; Flags: ignoreversion
#ENDIF

;Monitor files
Source: ..\Printer\Monitor\pdfcmon32.dll; Components: program; DestDir: {sys}; MinVersion: 0,4.00.1381; DestName: pdfcmon.dll; Check: "
InstallPDFCreatorPrinter AND (Not IsWin64)"; Flags: 32bit sortfilesbyextension comparetimestamp;
Source: ..\Printer\Monitor\pdfcmon64.dll; Components: program; DestDir: {sys}; MinVersion: 0,5.02.3790; DestName: pdfcmon.dll; Check: "
InstallPDFCreatorPrinter AND IsWin64"; Flags: 64bit sortfilesbyextension comparetimestamp;

;Source: ..\SystemFiles\COMCT332.OCX; DestDir: {sys}; Components: program; Flags: sharedfile uninsnosharedfileprompt regserver
Source: ..\SystemFiles\MSCOMCT2.OCX; DestDir: {sys}; Components: program; Flags: 32bit sharedfile uninsnosharedfileprompt regserver
Source: ..\SystemFiles\MSCOMCTL.OCX; DestDir: {sys}; Components: program; Flags: 32bit sharedfile uninsnosharedfileprompt regserver
Source: ..\SystemFiles\MSMAPI32.OCX; DestDir: {sys}; Components: program; Flags: 32bit sharedfile uninsnosharedfileprompt regserver

Source: ..\SystemFiles\STDOLE2.TLB; DestDir: {sys}; Components: program; Flags: 32bit sharedfile uninsnosharedfileprompt restartreplace uninsneveruninstall regtypelib; OnlyBelowVersion: 0,6.0

;Program files
Source: ..\PDFCreator\PDFCreator.exe; DestDir: {app}; Components: program; Flags: comparetimestamp
Source: ..\PDFCreatorRestart\PDFCreatorRestart.exe; DestDir: {app}; Components: program; Flags: comparetimestamp
Source: ..\Transtool\TransTool.exe; DestDir: {app}\languages; Components: program; Flags: comparetimestamp

;vblocal.exe from IPDK
Source: C:\IPDK\vblocal.exe; DestDir: {app}; Components: program; Flags: deleteafterinstall overwritereadonly onlyifdoesntexist ignoreversion

;ShFolder for older systems
;http://www.microsoft.com/downloads/release.asp?releaseid=30340
Source: ShFolder\ShFolder.Exe; DestDir: {app}; Components: program; Flags: ignoreversion deleteafterinstall; MinVersion: 4.0.950,4.0.1381; OnlyBelowVersion: 4.1.2222,5.0.2195

;Help files
;Source: ..\Help\english\PDFCreator_english.chm; DestDir: {app}; Components: HELPfiles\English; Flags: ignoreversion
;Source: ..\Help\german\PDFCreator_german.chm; DestDir: {app}; Components: HELPfiles\German; Flags: ignoreversion
;Source: ..\Help\french\PDFCreator_french.chm; DestDir: {app}; Components: HELPfiles\French; Flags: ignoreversion

Source: License\GNU License.txt; DestDir: {app}; Components: program; Flags: ignoreversion comparetimestamp
Source: License\FairPlay License.txt; DestDir: {app}; Components: program; Flags: ignoreversion comparetimestamp; Check: IsDotNET20Installed
Source: License\FairPlay License.txt; DestDir: {app}\PlugIns\pdfforge\; Components: program; Flags: ignoreversion comparetimestamp; Check: IsDotNET20Installed
Source: History.txt; DestDir: {app}; Components: program; Flags: ignoreversion comparetimestamp

;Languages
;Source: ..\PDFCreator\Languages\basque.ini; DestDir: {app}\languages; Components: languages\basque; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\bosnian.ini; DestDir: {app}\languages; Components: languages\bosnian; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\catalan.ini; DestDir: {app}\languages; Components: languages\catalan; Flags: ignoreversion
Source: ..\PDFCreator\Languages\chinese_simplified.ini; DestDir: {app}\languages; Components: languages\chinese_simplified; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\chinese_traditional.ini; DestDir: {app}\languages; Components: languages\chinese_traditional; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\corsican.ini; DestDir: {app}\languages; Components: languages\corsican; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\croatian.ini; DestDir: {app}\languages; Components: languages\croatian; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\czech.ini; DestDir: {app}\languages; Components: languages\czech; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\danish.ini; DestDir: {app}\languages; Components: languages\danish; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\dutch.ini; DestDir: {app}\languages; Components: languages\dutch; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\english.ini; DestDir: {app}\languages; Components: languages\english; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\estonian.ini; DestDir: {app}\languages; Components: languages\estonian; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\finnish.ini; DestDir: {app}\languages; Components: languages\finnish; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\french.ini; DestDir: {app}\languages; Components: languages\french; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\galician.ini; DestDir: {app}\languages; Components: languages\galician; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\german.ini; DestDir: {app}\languages; Components: languages\german; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\greek.ini; DestDir: {app}\languages; Components: languages\greek; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\hebrew.ini; DestDir: {app}\languages; Components: languages\hebrew; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\hungarian.ini; DestDir: {app}\languages; Components: languages\hungarian; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\indonesian.ini; DestDir: {app}\languages; Components: languages\indonesian; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\italian.ini; DestDir: {app}\languages; Components: languages\italian; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\irish.ini; DestDir: {app}\languages; Components: languages\irish; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\japanese.ini; DestDir: {app}\languages; Components: languages\japanese; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\latvian.ini; DestDir: {app}\languages; Components: languages\latvian; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\ligurian.ini; DestDir: {app}\languages; Components: languages\ligurian; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\lithuanian.ini; DestDir: {app}\languages; Components: languages\lithuanian; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\norwegian_bokmal.ini; DestDir: {app}\languages; Components: languages\norwegian_bokmal; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\polish.ini; DestDir: {app}\languages; Components: languages\polish; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\portuguese_br.ini; DestDir: {app}\languages; Components: languages\portuguese_br; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\romanian.ini; DestDir: {app}\languages; Components: languages\romanian; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\russian.ini; DestDir: {app}\languages; Components: languages\russian; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\serbian_cyrillic.ini; DestDir: {app}\languages; Components: languages\serbian_cyrillic; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\slovak.ini; DestDir: {app}\languages; Components: languages\slovak; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\slovenian.ini; DestDir: {app}\languages; Components: languages\slovenian; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\spanish.ini; DestDir: {app}\languages; Components: languages\spanish; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\swedish.ini; DestDir: {app}\languages; Components: languages\swedish; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\turkish.ini; DestDir: {app}\languages; Components: languages\turkish; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\ukrainian.ini; DestDir: {app}\languages; Components: languages\ukrainian; Flags: ignoreversion
;Source: ..\PDFCreator\Languages\valencian.ini; DestDir: {app}\languages; Components: languages\valencian; Flags: ignoreversion

;Reg file
Source: {code:GetExternalREGFile}; DestName: PDFCreator-external.reg; DestDir: {%tmp}; Components: program; Flags: ignoreversion external deleteafterinstall; Check: UseOwnREGFile

;Ghostscript
#IFDEF IncludeGhostscript
;The next line is only for Ghostscript version <= 8.62
;Source: {#GhostscriptPath}\gs{#GhostscriptVersion}\Fonts\*.*; DestDir: {app}\Gs{#GhostscriptVersion}\Fonts; Components: ghostscript; Flags: ignoreversion sortfilesbyextension
;Source: {#GhostscriptPath}\gs{#GhostscriptVersion}\gs{#GhostscriptVersion}\Resource\*.*; DestDir: {app}\GS{#GhostscriptVersion}\gs{#GhostscriptVersion}\Resource; Components: ghostscript; Flags: ignoreversion sortfilesbyextension recursesubdirs
Source: {#GhostscriptPath}\gs{#GhostscriptVersion}\Lib\*.*; DestDir: {app}\GS{#GhostscriptVersion}\gs{#GhostscriptVersion}\Lib; Components: ghostscript; Flags: ignoreversion sortfilesbyextension
#ENDIF

;ICC file
Source: ICC\ISOcoated_v2_300_eci.icc; DestDir: {app}\GS{#GhostscriptVersion}\gs{#GhostscriptVersion}\Lib; Components: ghostscript; Flags: ignoreversion sortfilesbyextension
Source: ICC\eciRGB_v2.icc; DestDir: {app}\GS{#GhostscriptVersion}\gs{#GhostscriptVersion}\Lib; Components: ghostscript; Flags: ignoreversion sortfilesbyextension

; Scripts
; Scripts: RunProgramAfterSaving
Source: ..\Scripts\RunProgramAfterSaving\AddWatermarkToPDF.vbs; DestDir: {app}\Scripts\RunProgramAfterSaving; Components: program; Flags: ignoreversion
Source: ..\Scripts\RunProgramAfterSaving\EncryptAES128.vbs; DestDir: {app}\Scripts\RunProgramAfterSaving; Components: program; Flags: ignoreversion; Check: IsDotNET20Installed
Source: ..\Scripts\RunProgramAfterSaving\FTPUpload.vbs; DestDir: {app}\Scripts\RunProgramAfterSaving; Components: program; Flags: ignoreversion
Source: ..\Scripts\RunProgramAfterSaving\Logger.vbs; DestDir: {app}\Scripts\RunProgramAfterSaving; Components: program; Flags: ignoreversion
Source: ..\Scripts\RunProgramAfterSaving\Watermark.pdf; DestDir: {app}\Scripts\RunProgramAfterSaving; Components: program; Flags: ignoreversion
Source: ..\Scripts\RunProgramAfterSaving\NetSend.vbs; DestDir: {app}\Scripts\RunProgramAfterSaving; Components: program; Flags: ignoreversion
Source: ..\Scripts\RunProgramAfterSaving\PopUpMessage.vbs; DestDir: {app}\Scripts\RunProgramAfterSaving; Components: program; Flags: ignoreversion
Source: ..\Scripts\RunProgramAfterSaving\SayIt.vbs; DestDir: {app}\Scripts\RunProgramAfterSaving; Components: program; Flags: ignoreversion
Source: ..\Scripts\RunProgramAfterSaving\MSAgent.vbs; DestDir: {app}\Scripts\RunProgramAfterSaving; Components: program; Flags: ignoreversion
; Scripts: RunProgramBeforSaving
Source: ..\Scripts\RunProgramBeforeSaving\AddBookmarks.vbs; DestDir: {app}\Scripts\RunProgramBeforeSaving; Components: program; Flags: ignoreversion
Source: ..\Scripts\RunProgramBeforeSaving\PopUpMessage.vbs; DestDir: {app}\Scripts\RunProgramBeforeSaving; Components: program; Flags: ignoreversion
; Samples: Com


#IFDEF IncludeOC
Source: "
{#OC_OCSETUPHLP_FILE_PATH}"; Flags: dontcopy ignoreversion;
#ENDIF

; PlugIns
; pdfforge


; Images2PDF
Source: ..\Images2PDF\Images2PDF.exe; DestDir: {app}\Images2PDF\; Components: Images2PDF
Source: ..\Images2PDF\Images2PDFC.exe; DestDir: {app}\Images2PDF\; Components: Images2PDF
Source: ..\Images2PDF\Languages\*.ini; DestDir: {app}\Images2PDF\Languages\; Components: Images2PDF

; PDFArchitect
;Source: "
..\PDFArchitect\PDFArchitect.exe"; DestDir: {app}\PDFArchitect\; Flags: comparetimestamp; Components: PDFArchitect
;Source: "
..\PDFArchitect\DataStorage.dll"; DestDir: {app}\PDFArchitect\; Components: PDFArchitect
;Source: "
..\PDFArchitect\DynamicTranslator.dll"; DestDir: {app}\PDFArchitect\; Components: PDFArchitect
;Source: "
..\PDFArchitect\Gnostice.PDFOne.dll"; DestDir: {app}\PDFArchitect\; Components: PDFArchitect
;Source: "
..\PDFArchitect\PDFOne.net\Ionic.Zlib.dll"; DestDir: {app}\PDFArchitect\; Components: PDFArchitect
;Source: "
..\PDFArchitect\PDFOne.net\CMaps\*.*"; DestDir: {app}\PDFArchitect\CMaps\; Components: PDFArchitect
;Source: "
..\PDFArchitect\PDFOne.net\FreeType\FreeType32.dll"; DestDir: {app}\PDFArchitect\; Flags: comparetimestamp IgnoreVersion; DestName: FreeType.dll; Check: Not IsX64; Components: PDFArchitect
;Source: "
..\PDFArchitect\PDFOne.net\FreeType\FreeType64.dll"; DestDir: {app}\PDFArchitect\; Flags: comparetimestamp IgnoreVersion; DestName: FreeType.dll; Check: IsX64; Components: PDFArchitect
;Source: "
..\PDFArchitect\Languages\*.ini"; DestDir: {app}\PDFArchitect\Languages; Flags: comparetimestamp; Components: PDFArchitect
;Source: "
..\PDFArchitect\PDFArchitect-english.settings"; DestDir: {userappdata}\pdfforge\PDFArchitect; DestName: PDFArchitect.settings; Flags: ignoreversion; Components: PDFArchitect

; InstallCheck
; Source: Installation\InstallCheck.exe; DestDir: {tmp}; Flags: deleteafterinstall overwritereadonly;

; ITD
#IFDEF IncludeIM
Source: {#ITDRoot}\languages\*.ini; Flags: dontcopy
#ENDIF

[Icons]
Name: {group}\{#Appname}; Filename: {app}\{#AppExename}; WorkingDir: {app}; IconFilename: {app}\{#AppExename}; IconIndex: 0; Flags: createonlyiffileexists
Name: {group}\Licen



 


PDFCreator-1_7_0-source\Setup\languages.inc

; english must be the first entry
Name: english; MessagesFile: compiler:Default.isl
;Name: basque; MessagesFile: compiler:Languages\Basque.isl
;Name: bosnian; MessagesFile: Innosetup languages files\Bosnian-1-5.1.0.isl
;Name: catalan; MessagesFile: compiler:Languages\Catalan.isl
Name: chinese_simplified; MessagesFile: Innosetup languages files\ChineseSimp-12-5.1.11.isl
;Name: chinese_traditional; MessagesFile: Innosetup languages files\ChineseTrad-2-5.1.11.isl
;Name: croatian; MessagesFile: Innosetup languages files\Croatian-5-5.1.11.isl
;Name: czech; MessagesFile: compiler:Languages\Czech.isl
;Name: danish; MessagesFile: compiler:Languages\Danish.isl
;Name: dutch; MessagesFile: compiler:Languages\Dutch.isl
;Name: estonian; MessagesFile: Innosetup languages files\Estonian-3-5.1.11.isl
;Name: finnish; MessagesFile: compiler:Languages\Finnish.isl
;Name: french; MessagesFile: compiler:Languages\French.isl
;Name: galician; MessagesFile: Innosetup languages files\Galician-2-5.1.11.isl
;Name: german; MessagesFile: compiler:Languages\German.isl; LicenseFile: .\License\Program license - german.rtf
;Name: greek; MessagesFile: Innosetup languages files\Greek-4-5.1.11.isl
;Name: hebrew; MessagesFile: compiler:Languages\Hebrew.isl
;Name: hungarian; MessagesFile: compiler:Languages\Hungarian.isl
;Name: indonesian; MessagesFile: Innosetup languages files\Indonesian-5.1.11.isl
;Name: italian; MessagesFile: compiler:Languages\Italian.isl
;Name: japanese; MessagesFile: compiler:Languages\Japanese.isl
;Name: korean; MessagesFile: Innosetup languages files\Korean-5-5.1.11.isl
;Name: latvian; MessagesFile: Innosetup languages files\Latvian-1-5.1.11.isl
;Name: lithuanian; MessagesFile: Innosetup languages files\Lithuanian-4-5.1.11.isl
;Name: norwegian_bokmal; MessagesFile: compiler:Languages\Norwegian.isl
;Name: polish; MessagesFile: compiler:Languages\Polish.isl
;Name: portuguese_br; MessagesFile: compiler:Languages\BrazilianPortuguese.isl
;Name: romanian; MessagesFile: Innosetup languages files\Romanian-6-5.1.11.isl
;Name: russian; MessagesFile: compiler:Languages\Russian.isl
;Name: serbian_cyrillic; MessagesFile: Innosetup languages files\SerbianCyrillic-5.1.11.isl
;Name: slovak; MessagesFile: compiler:Languages\Slovak.isl
;Name: slovenian; MessagesFile: compiler:Languages\Slovenian.isl
;Name: spanish; MessagesFile: compiler:Languages\Spanish.isl
;Name: swedish; MessagesFile: Innosetup languages files\Swedish-10-5.1.12.isl
;Name: turkish; MessagesFile: Innosetup languages files\Turkish-3-5.1.11.isl
;Name: ukrainian; MessagesFile: Innosetup languages files\Ukrainian-5-5.1.0.isl
;Name: valencian; MessagesFile: Innosetup languages files\Valencian-1-5.1.11.isl



 


5 comments:

吴迪 said...

你好 我按照您的方法 实验了pdfcreator 重新打包 但是在inno setup 执行脚本发生编译问题

pkrss said...

有什么错误?

Ankit Nagpal said...

There is no inno setup file (.iss) for version 1.9.3

pkrss said...

but your can get .iss file from old code depositary.

Gerardo said...

It was hard to find your posts in google. I found it on 18 spot, you have to
build some quality backlinks , it will help you to increase traffic.
I know how to help you, just search in google - k2 seo tricks