Natürlich
Das Script ist momentan aber nur für Windows 7 x64 geeignet.
Für ein entsprechend anderes System, müssen die Datei-Pfade und Registry-Values angepasst werden.
@Admins: Ich darf keine *.reg, *.opsi und keine *.ins Files hochladen. Ist das so gewünscht?
setup32.ins
Code: Alles auswählen
; Copyright (c) uib gmbh (www.uib.de)
; This sourcecode is owned by uib
; and published under the Terms of the General Public License.
; credits: http://www.opsi.org/credits/
[Actions]
requiredWinstVersion >= "4.10.8.6"
DefVar $MsiId$
DefVar $UninstallProgram$
DefVar $LogDir$
DefVar $ProductId$
DefVar $MinimumSpace$
DefVar $InstallDir$
DefVar $ExitCode$
DefVar $LicenseRequired$
DefVar $LicenseKey$
DefVar $LicensePool$
Set $LogDir$ = "%SystemDrive%\tmp"
; ----------------------------------------------------------------
; - Please edit the following values -
; ----------------------------------------------------------------
;$ProductId$ should be the name of the product in opsi
; therefore please: only lower letters, no umlauts,
; no white space use '-' as a seperator
Set $ProductId$ = "freepdf"
Set $MinimumSpace$ = "1 MB"
; the path were we find the product after the installation
Set $InstallDir$ = "%ProgramFiles32Dir%\FreePDF_XP"
Set $LicenseRequired$ = "false"
Set $LicensePool$ = "p_" + $ProductId$
; ----------------------------------------------------------------
if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
LogError "Not enough space on %SystemDrive%, " + $MinimumSpace$ + " on drive %SystemDrive% needed for " + $ProductId$
isFatalError
; Stop process and set installation status to failed
else
comment "Show product picture"
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$
if FileExists("%ScriptPath%\delsub32.ins")
comment "Start uninstall sub section"
;Sub "%ScriptPath%\delsub32.ins"
endif
Message "Installing " + $ProductId$ + " ..."
comment "Copy files"
Files_install /32Bit
comment "Patch Registry"
DosInAnIcon_register
exitWindows /Reboot
endif
[DosInAnIcon_register]
regedit /s "%ScriptPath%\freepdf\freepdf.reg"
mkdir "$InstallDir$"
[Files_install]
copy -s "%ScriptPath%\freepdf\c\Program Files\FreePDF_XP\*.*" "$InstallDir$"
copy -s "%ScriptPath%\freepdf\c\ProgramData\Microsoft\windows\Start Menu\programs\*.*" "%SystemDrive%\ProgramData\Microsoft\windows\Start Menu\programs\"
copy -s "%ScriptPath%\freepdf\c\users\All Users\Microsoft\windows\Start Menu\programs\*.*" "%SystemDrive%\users\All Users\Microsoft\windows\Start Menu\programs\"
copy -s "%ScriptPath%\freepdf\c\windows\inf\*.*" "%SystemDrive%\windows\inf\"
copy -s "%ScriptPath%\freepdf\c\windows\system32\DriverStore\FileRepository\*.*" "%SystemDrive%\windows\system32\DriverStore\FileRepository\"
uninstall32.ins
Code: Alles auswählen
; Copyright (c) uib gmbh (www.uib.de)
; This sourcecode is owned by uib gmbh
; and published under the Terms of the General Public License.
; credits: http://www.opsi.org/credits/
[Actions]
requiredWinstVersion >= "4.10.8.6"
DefVar $MsiId$
DefVar $UninstallProgram$
DefVar $LogDir$
DefVar $ExitCode$
DefVar $ProductId$
DefVar $InstallDir$
DefVar $LicenseRequired$
DefVar $LicensePool$
Set $LogDir$ = "%SystemDrive%\tmp"
; ----------------------------------------------------------------
; - Please edit the following values -
; ----------------------------------------------------------------
Set $ProductId$ = "freepdf"
Set $InstallDir$ = "%ProgramFiles32Dir%\FreePDF_XP"
Set $LicenseRequired$ = "false"
Set $LicensePool$ = "p_" + $ProductId$
; ----------------------------------------------------------------
comment "Show product picture"
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$
Message "Uninstalling " + $ProductId$ + " ..."
if FileExists("%ScriptPath%\delsub32.ins")
comment "Start uninstall sub section"
Sub "%ScriptPath%\delsub32.ins"
endif
delsub32.ins
Code: Alles auswählen
Set $UninstallProgram$ = $InstallDir$ + "\fpsetup.exe"
Message "Uninstalling " + $ProductId$ + " ..."
if FileExists($UninstallProgram$)
comment "Uninstall program found, starting uninstall"
Winbatch_uninstall
sub_check_exitcode
endif
comment "Delete files"
Files_uninstall /32Bit
[Winbatch_uninstall]
$UninStallProgram$ /Q /r
[Files_uninstall]
delete -sf "$InstallDir$\"
freepdf.reg
Ersatz für die freepdf.reg:
printer.reg
Code: Alles auswählen
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\FreePDF_printer]
"ChangeID"=dword:6877fb72
"StatusExt"=dword:00000000
"Status"=dword:00000080
"Name"="FreePDF_printer"
"Share Name"=""
"Print Processor"="winprint"
"Datatype"="RAW"
"Parameters"=""
"Action"=dword:00000000
"ObjectGUID"=""
"DsKeyUpdate"=dword:00000000
"DsKeyUpdateForeground"=dword:00000003
"Description"=""
"Printer Driver"="FreePDF_XP"
"Default DevMode"=hex:46,00,72,00,65,00,65,00,50,00,44,00,46,00,5f,00,70,00,72,\
00,69,00,6e,00,74,00,65,00,72,00,00,00,50,00,44,00,46,00,2c,00,4c,00,6f,00,\
63,00,61,00,6c,00,4f,00,6e,00,6c,00,79,00,2c,00,44,00,00,00,01,04,00,06,dc,\
00,44,03,53,ef,81,01,01,00,09,00,9a,0b,34,08,64,00,01,00,0f,00,58,02,02,00,\
01,00,58,02,03,00,01,00,41,00,34,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,01,00,00,00,02,00,\
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,50,52,49,56,e2,30,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,18,00,00,00,00,00,10,27,10,27,10,\
27,00,00,10,27,00,00,00,00,00,00,00,00,70,00,44,03,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,00,00,00,00,00,\
00,10,00,50,34,03,00,28,88,04,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,24,01,df,8c,03,00,00,00,05,00,04,\
00,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
70,00,00,00,53,4d,54,4a,00,00,00,00,10,00,60,00,46,00,72,00,65,00,65,00,50,\
00,44,00,46,00,5f,00,58,00,50,00,00,00,52,65,73,6f,6c,75,74,69,6f,6e,00,36,\
30,30,64,70,69,00,50,61,67,65,53,69,7a,65,00,4c,65,74,74,65,72,00,50,61,67,\
65,52,65,67,69,6f,6e,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00
"Priority"=dword:00000001
"Default Priority"=dword:00000000
"StartTime"=dword:0000003c
"UntilTime"=dword:0000003c
"Separator File"=""
"Location"=""
"Attributes"=dword:00000200
"txTimeout"=dword:0000afc8
"dnsTimeout"=dword:00003a98
"Security"=hex:01,00,0c,80,d0,00,00,00,dc,00,00,00,00,00,00,00,14,00,00,00,02,\
00,bc,00,07,00,00,00,00,00,24,00,0c,00,0f,00,01,05,00,00,00,00,00,05,15,00,\
00,00,f7,9a,58,9b,49,d1,4b,af,53,11,be,e6,7b,15,00,00,00,09,24,00,30,00,0f,\
00,01,05,00,00,00,00,00,05,15,00,00,00,f7,9a,58,9b,49,d1,4b,af,53,11,be,e6,\
7b,15,00,00,00,09,14,00,00,00,00,10,01,01,00,00,00,00,00,03,00,00,00,00,00,\
00,14,00,08,00,02,00,01,01,00,00,00,00,00,01,00,00,00,00,00,0a,14,00,00,00,\
00,20,01,01,00,00,00,00,00,01,00,00,00,00,00,00,18,00,0c,00,0f,00,01,02,00,\
00,00,00,00,05,20,00,00,00,20,02,00,00,00,0b,18,00,00,00,00,10,01,02,00,00,\
00,00,00,05,20,00,00,00,20,02,00,00,01,01,00,00,00,00,00,05,12,00,00,00,01,\
01,00,00,00,00,00,05,12,00,00,00
"CreatorSid"=hex:01,05,00,00,00,00,00,05,15,00,00,00,f7,9a,58,9b,49,d1,4b,af,\
53,11,be,e6,7b,15,00,00
"SpoolDirectory"=""
"Port"="FreePDFXP1:"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\FreePDF_printer\DsDriver]
"printBinNames"=hex(7):00,00,00,00
"printCollate"=hex:01
"printColor"=hex:01
"printDuplexSupported"=hex:00
"printStaplingSupported"=hex:00
"printMaxXExtent"=dword:00007fff
"printMaxYExtent"=dword:00007fff
"printMinXExtent"=dword:000000fe
"printMinYExtent"=dword:000000fe
"printMediaSupported"=hex(7):4c,00,65,00,74,00,74,00,65,00,72,00,00,00,4c,00,\
65,00,64,00,67,00,65,00,72,00,00,00,4c,00,65,00,67,00,61,00,6c,00,00,00,41,\
00,33,00,00,00,41,00,34,00,00,00,41,00,35,00,00,00,31,00,31,00,78,00,31,00,\
37,00,00,00,41,00,32,00,00,00,41,00,36,00,00,00,4c,00,65,00,74,00,74,00,65,\
00,72,00,53,00,6d,00,61,00,6c,00,6c,00,00,00,41,00,30,00,00,00,41,00,31,00,\
00,00,41,00,34,00,53,00,6d,00,61,00,6c,00,6c,00,00,00,41,00,37,00,00,00,41,\
00,38,00,00,00,41,00,39,00,00,00,41,00,31,00,30,00,00,00,43,00,30,00,00,00,\
43,00,31,00,00,00,43,00,32,00,00,00,43,00,33,00,00,00,43,00,34,00,00,00,43,\
00,35,00,00,00,43,00,36,00,00,00,46,00,4c,00,53,00,41,00,00,00,46,00,4c,00,\
53,00,45,00,00,00,48,00,61,00,6c,00,66,00,4c,00,65,00,74,00,74,00,65,00,72,\
00,00,00,50,00,41,00,34,00,00,00,4e,00,6f,00,74,00,65,00,00,00,42,00,65,00,\
6e,00,75,00,74,00,7a,00,65,00,72,00,64,00,65,00,66,00,69,00,6e,00,69,00,65,\
00,72,00,74,00,65,00,20,00,53,00,65,00,69,00,74,00,65,00,6e,00,67,00,72,00,\
f6,00,df,00,65,00,20,00,66,00,fc,00,72,00,20,00,50,00,6f,00,73,00,74,00,53,\
00,63,00,72,00,69,00,70,00,74,00,00,00,00,00
"printMediaReady"=hex(7):41,00,34,00,00,00,00,00
"printNumberUp"=dword:00000006
"printMemory"=dword:00002625
"printOrientationsSupported"=hex(7):50,00,4f,00,52,00,54,00,52,00,41,00,49,00,\
54,00,00,00,4c,00,41,00,4e,00,44,00,53,00,43,00,41,00,50,00,45,00,00,00,00,\
00
"printMaxResolutionSupported"=dword:00000fa0
"printLanguage"=hex(7):50,00,6f,00,73,00,74,00,53,00,63,00,72,00,69,00,70,00,\
74,00,00,00,00,00
"printRateUnit"="PagesPerMinute"
"driverVersion"=dword:00000401
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\FreePDF_printer\DsSpooler]
"driverName"="FreePDF_XP"
"portName"=hex(7):46,00,72,00,65,00,65,00,50,00,44,00,46,00,58,00,50,00,31,00,\
3a,00,00,00,00,00
"printStartTime"=dword:0000003c
"printEndTime"=dword:0000003c
"printerName"="FreePDF_printer"
"printKeepPrintedJobs"=hex:00
"printShareName"=""
"printSpooling"="PrintAfterSpooled"
"priority"=dword:00000001
"uNCName"="\\\\WITZEL-PC.ima.local\\FreePDF_printer"
"serverName"="WITZEL-PC.ima.local"
"shortServerName"="WITZEL-PC"
"versionNumber"=dword:00000004
"url"="http://WITZEL-PC.ima.local/"
"flags"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\FreePDF_printer\PnPData]
"HardwareID"="freepdf_xp"
"Manufacturer"="FreePDF_XP"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\FreePDF_printer\PrinterDriverData]
"InitDriverVersion"=dword:00000600
"FreeMem"=dword:00002625
"JobTimeOut"=dword:00000000
"Protocol"=dword:00000000
"PrinterDataSize"=dword:00000230
"PrinterData"=hex:00,06,30,02,81,0c,00,00,80,96,98,00,00,00,00,00,2c,01,00,00,\
64,00,58,02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,24,01,df,8c,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"FeatureKeywordSize"=dword:00000002
"FeatureKeyword"=hex:00,00
"Forms?"=dword:8cdf0124
"DependentFiles"=hex(7):50,00,53,00,43,00,52,00,49,00,50,00,54,00,2e,00,4e,00,\
54,00,46,00,00,00,50,00,53,00,5f,00,53,00,43,00,48,00,4d,00,2e,00,47,00,44,\
00,4c,00,00,00,00,00
printer64.reg
Code: Alles auswählen
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Print\Printers\FreePDF_printer]
"ChangeID"=dword:6877fb72
"StatusExt"=dword:00000000
"Status"=dword:00000080
"Name"="FreePDF_printer"
"Share Name"=""
"Print Processor"="winprint"
"Datatype"="RAW"
"Parameters"=""
"Action"=dword:00000000
"ObjectGUID"=""
"DsKeyUpdate"=dword:00000000
"DsKeyUpdateForeground"=dword:00000003
"Description"=""
"Printer Driver"="FreePDF_XP"
"Default DevMode"=hex:46,00,72,00,65,00,65,00,50,00,44,00,46,00,5f,00,70,00,72,\
00,69,00,6e,00,74,00,65,00,72,00,00,00,50,00,44,00,46,00,2c,00,4c,00,6f,00,\
63,00,61,00,6c,00,4f,00,6e,00,6c,00,79,00,2c,00,44,00,00,00,01,04,00,06,dc,\
00,44,03,53,ef,81,01,01,00,09,00,9a,0b,34,08,64,00,01,00,0f,00,58,02,02,00,\
01,00,58,02,03,00,01,00,41,00,34,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,01,00,00,00,02,00,\
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,50,52,49,56,e2,30,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,18,00,00,00,00,00,10,27,10,27,10,\
27,00,00,10,27,00,00,00,00,00,00,00,00,70,00,44,03,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,00,00,00,00,00,\
00,10,00,50,34,03,00,28,88,04,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,24,01,df,8c,03,00,00,00,05,00,04,\
00,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
70,00,00,00,53,4d,54,4a,00,00,00,00,10,00,60,00,46,00,72,00,65,00,65,00,50,\
00,44,00,46,00,5f,00,58,00,50,00,00,00,52,65,73,6f,6c,75,74,69,6f,6e,00,36,\
30,30,64,70,69,00,50,61,67,65,53,69,7a,65,00,4c,65,74,74,65,72,00,50,61,67,\
65,52,65,67,69,6f,6e,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00
"Priority"=dword:00000001
"Default Priority"=dword:00000000
"StartTime"=dword:0000003c
"UntilTime"=dword:0000003c
"Separator File"=""
"Location"=""
"Attributes"=dword:00000200
"txTimeout"=dword:0000afc8
"dnsTimeout"=dword:00003a98
"Security"=hex:01,00,0c,80,d0,00,00,00,dc,00,00,00,00,00,00,00,14,00,00,00,02,\
00,bc,00,07,00,00,00,00,00,24,00,0c,00,0f,00,01,05,00,00,00,00,00,05,15,00,\
00,00,f7,9a,58,9b,49,d1,4b,af,53,11,be,e6,7b,15,00,00,00,09,24,00,30,00,0f,\
00,01,05,00,00,00,00,00,05,15,00,00,00,f7,9a,58,9b,49,d1,4b,af,53,11,be,e6,\
7b,15,00,00,00,09,14,00,00,00,00,10,01,01,00,00,00,00,00,03,00,00,00,00,00,\
00,14,00,08,00,02,00,01,01,00,00,00,00,00,01,00,00,00,00,00,0a,14,00,00,00,\
00,20,01,01,00,00,00,00,00,01,00,00,00,00,00,00,18,00,0c,00,0f,00,01,02,00,\
00,00,00,00,05,20,00,00,00,20,02,00,00,00,0b,18,00,00,00,00,10,01,02,00,00,\
00,00,00,05,20,00,00,00,20,02,00,00,01,01,00,00,00,00,00,05,12,00,00,00,01,\
01,00,00,00,00,00,05,12,00,00,00
"CreatorSid"=hex:01,05,00,00,00,00,00,05,15,00,00,00,f7,9a,58,9b,49,d1,4b,af,\
53,11,be,e6,7b,15,00,00
"SpoolDirectory"=""
"Port"="FreePDFXP1:"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Print\Printers\FreePDF_printer\DsDriver]
"printBinNames"=hex(7):00,00,00,00
"printCollate"=hex:01
"printColor"=hex:01
"printDuplexSupported"=hex:00
"printStaplingSupported"=hex:00
"printMaxXExtent"=dword:00007fff
"printMaxYExtent"=dword:00007fff
"printMinXExtent"=dword:000000fe
"printMinYExtent"=dword:000000fe
"printMediaSupported"=hex(7):4c,00,65,00,74,00,74,00,65,00,72,00,00,00,4c,00,\
65,00,64,00,67,00,65,00,72,00,00,00,4c,00,65,00,67,00,61,00,6c,00,00,00,41,\
00,33,00,00,00,41,00,34,00,00,00,41,00,35,00,00,00,31,00,31,00,78,00,31,00,\
37,00,00,00,41,00,32,00,00,00,41,00,36,00,00,00,4c,00,65,00,74,00,74,00,65,\
00,72,00,53,00,6d,00,61,00,6c,00,6c,00,00,00,41,00,30,00,00,00,41,00,31,00,\
00,00,41,00,34,00,53,00,6d,00,61,00,6c,00,6c,00,00,00,41,00,37,00,00,00,41,\
00,38,00,00,00,41,00,39,00,00,00,41,00,31,00,30,00,00,00,43,00,30,00,00,00,\
43,00,31,00,00,00,43,00,32,00,00,00,43,00,33,00,00,00,43,00,34,00,00,00,43,\
00,35,00,00,00,43,00,36,00,00,00,46,00,4c,00,53,00,41,00,00,00,46,00,4c,00,\
53,00,45,00,00,00,48,00,61,00,6c,00,66,00,4c,00,65,00,74,00,74,00,65,00,72,\
00,00,00,50,00,41,00,34,00,00,00,4e,00,6f,00,74,00,65,00,00,00,42,00,65,00,\
6e,00,75,00,74,00,7a,00,65,00,72,00,64,00,65,00,66,00,69,00,6e,00,69,00,65,\
00,72,00,74,00,65,00,20,00,53,00,65,00,69,00,74,00,65,00,6e,00,67,00,72,00,\
f6,00,df,00,65,00,20,00,66,00,fc,00,72,00,20,00,50,00,6f,00,73,00,74,00,53,\
00,63,00,72,00,69,00,70,00,74,00,00,00,00,00
"printMediaReady"=hex(7):41,00,34,00,00,00,00,00
"printNumberUp"=dword:00000006
"printMemory"=dword:00002625
"printOrientationsSupported"=hex(7):50,00,4f,00,52,00,54,00,52,00,41,00,49,00,\
54,00,00,00,4c,00,41,00,4e,00,44,00,53,00,43,00,41,00,50,00,45,00,00,00,00,\
00
"printMaxResolutionSupported"=dword:00000fa0
"printLanguage"=hex(7):50,00,6f,00,73,00,74,00,53,00,63,00,72,00,69,00,70,00,\
74,00,00,00,00,00
"printRateUnit"="PagesPerMinute"
"driverVersion"=dword:00000401
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Print\Printers\FreePDF_printer\DsSpooler]
"driverName"="FreePDF_XP"
"portName"=hex(7):46,00,72,00,65,00,65,00,50,00,44,00,46,00,58,00,50,00,31,00,\
3a,00,00,00,00,00
"printStartTime"=dword:0000003c
"printEndTime"=dword:0000003c
"printerName"="FreePDF_printer"
"printKeepPrintedJobs"=hex:00
"printShareName"=""
"printSpooling"="PrintAfterSpooled"
"priority"=dword:00000001
"uNCName"="\\\\WITZEL-PC.ima.local\\FreePDF_printer"
"serverName"="WITZEL-PC.ima.local"
"shortServerName"="WITZEL-PC"
"versionNumber"=dword:00000004
"url"="http://WITZEL-PC.ima.local/"
"flags"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Print\Printers\FreePDF_printer\PnPData]
"HardwareID"="freepdf_xp"
"Manufacturer"="FreePDF_XP"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Print\Printers\FreePDF_printer\PrinterDriverData]
"InitDriverVersion"=dword:00000600
"FreeMem"=dword:00002625
"JobTimeOut"=dword:00000000
"Protocol"=dword:00000000
"PrinterDataSize"=dword:00000230
"PrinterData"=hex:00,06,30,02,81,0c,00,00,80,96,98,00,00,00,00,00,2c,01,00,00,\
64,00,58,02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,24,01,df,8c,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"FeatureKeywordSize"=dword:00000002
"FeatureKeyword"=hex:00,00
"Forms?"=dword:8cdf0124
"DependentFiles"=hex(7):50,00,53,00,43,00,52,00,49,00,50,00,54,00,2e,00,4e,00,\
54,00,46,00,00,00,50,00,53,00,5f,00,53,00,43,00,48,00,4d,00,2e,00,47,00,44,\
00,4c,00,00,00,00,00
Dateistruktur
Code: Alles auswählen
root@ikls806:/home/opsiproducts/freepdf/CLIENT_DATA# ls -R
.:
delsub32.ins freepdf freepdf.files freepdf.png setup32.ins Thumbs.db uninstall32.ins
./freepdf:
c freepdf.reg
./freepdf/c:
ProgramData Program Files users windows
./freepdf/c/ProgramData:
Microsoft
./freepdf/c/ProgramData/Microsoft:
windows
./freepdf/c/ProgramData/Microsoft/windows:
Start Menu
./freepdf/c/ProgramData/Microsoft/windows/Start Menu:
programs
./freepdf/c/ProgramData/Microsoft/windows/Start Menu/programs:
freepdf
./freepdf/c/ProgramData/Microsoft/windows/Start Menu/programs/freepdf:
FreePDF Assistant.lnk FreePDF Config.lnk FreePDF Handbuch (de).lnk FreePDF Join.lnk freepdf.lnk FreePDF Manual (en).lnk
./freepdf/c/Program Files:
FreePDF_XP
./freepdf/c/Program Files/FreePDF_XP:
bosnian.lan Espa_ol.lan fpredmon.exe freepdf.exe Hungarian.lan Portugu_s(Brasil).lan russian.lan
cesky.lan fpassist.exe fpsetup.exe freepdfxp.inf Medium Quality.fpp Portugu_s(Portugal).lan setup.exe
Chinese simplified.lan fpjoin.exe FreePDFde.pdf french.lan Nederlands.lan redmonnt.dll unredmon.exe
ebook.fpp fpmailer.exe FreePDFen.pdf High Quality.fpp polish.lan redrun.exe
./freepdf/c/users:
all users
./freepdf/c/users/all users:
microsoft
./freepdf/c/users/all users/microsoft:
windows
./freepdf/c/users/all users/microsoft/windows:
start menu
./freepdf/c/users/all users/microsoft/windows/start menu:
programs
./freepdf/c/users/all users/microsoft/windows/start menu/programs:
freepdf
./freepdf/c/users/all users/microsoft/windows/start menu/programs/freepdf:
FreePDF Assistant.lnk FreePDF Config.lnk FreePDF Handbuch (de).lnk FreePDF Join.lnk freepdf.lnk FreePDF Manual (en).lnk
./freepdf/c/windows:
inf prefetch system32
./freepdf/c/windows/inf:
oem99.inf
./freepdf/c/windows/prefetch:
RUNDLL32.EXE-90D15E69.pf RUNDLL32.EXE-970D4B34.pf
./freepdf/c/windows/system32:
driverstore
./freepdf/c/windows/system32/driverstore:
filerepository
./freepdf/c/windows/system32/driverstore/filerepository:
freepdfxp.inf_amd64_neutral_391ac37a3eb3478d
./freepdf/c/windows/system32/driverstore/filerepository/freepdfxp.inf_amd64_neutral_391ac37a3eb3478d:
freepdfxp.inf freepdfxp.PNF FREEPDFXP.PPD
ZUSÄTZLICH (!!)
Du brauchst eventuell noch das Paket msvbvm50.
Das sind VB Runtime Libraries ohne die der FreePDF manchmal nicht läuft. Ich habe es bei mir als Dependency eingetragen.
Die entsprechende Datei gibt es bei Microsoft zum DL.
setup32.ins
Code: Alles auswählen
; Copyright (c) uib gmbh (www.uib.de)
; This sourcecode is owned by uib
; and published under the Terms of the General Public License.
; credits: http://www.opsi.org/credits/
[Actions]
requiredWinstVersion >= "4.10.8.6"
DefVar $LogDir$
DefVar $ProductId$
DefVar $MinimumSpace$
DefVar $ExitCode$
Set $LogDir$ = "%SystemDrive%\tmp"
; ----------------------------------------------------------------
; - Please edit the following values -
; ----------------------------------------------------------------
;$ProductId$ should be the name of the product in opsi
; therefore please: only lower letters, no umlauts,
; no white space use '-' as a seperator
Set $ProductId$ = "msvbvm50"
Set $MinimumSpace$ = "10 MB"
; ----------------------------------------------------------------
if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
LogError "Not enough space on %SystemDrive%, " + $MinimumSpace$ + " on drive %SystemDrive% needed for " + $ProductId$
isFatalError
; Stop process and set installation status to failed
else
comment "Show product picture"
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$
Message "Installing " + $ProductId$ + " ..."
comment "Start setup program"
DosInAnIcon_install
endif
[DosInAnIcon_install]
%ScriptDrive%
cd %ScriptPath%
msvbvm50.exe /Q