Treiber für Windows 7 6bit eingebaut

This commit is contained in:
Dennis Trinks 2014-02-27 14:49:09 +01:00
parent c578bf2558
commit bf2e657c54
5 changed files with 2 additions and 82 deletions

View File

@ -1,80 +0,0 @@
; 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 $LogDir$
DefVar $ProductId$
DefVar $MinimumSpace$
DefVar $InstallDir$
DefVar $ExitCode$
Set $LogDir$ = "%SystemDrive%\tmp"
; The token BUILDER_VARIABLES will be replaced by opsi-builder.sh
; and adds the following variables:
; from builder-product.cfg : all variables definded by attribute WINST[index]
; from builder-product.cfg : VENDOR PN VERSION RELEASE PRIORITY ADVICE TYPE
; from opsi-builder.cfg : CREATOR_TAG CREATOR_NAME CREATOR_EMAIL
; auto generated winst-variables
; $IconFile$: path to product picture
;
@@BUILDER_VARIABLES@@
; ----------------------------------------------------------------
; - 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$ = "brother7360"
Set $MinimumSpace$ = "150 MB"
; the path were we find the product after the installation
Set $InstallDir$ = "%SystemDrive%\Windows\inf"
; ----------------------------------------------------------------
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"
Registry_install /32Bit
DosInAnIcon_Create
comment "Reboot"
ExitWindows /Reboot
endif
[Files_install]
copy -s "$Drv_Dir$32\*.*" "$InstallDir$\opsi_projects_drivers"
[Registry_install]
; Example of setting some values of an registry key:
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]
set "DevicePath" = "%SystemRoot%\inf;$InstallDir$\opsi_projects_drivers"
[DosInAnIcon_Create]
rundll32 syssetup,SetupInfObjectInstallAction DefaultInstall 128 $InstallDir$\opsi_projects_drivers\brpom10a.inf
rundll32 syssetup,SetupInfObjectInstallAction DefaultInstall 128 $InstallDir$\opsi_projects_drivers\brimm10a.inf
rundll32 syssetup,SetupInfObjectInstallAction DefaultInstall 128 $InstallDir$\opsi_projects_drivers\BRPRM10A.INF

View File

@ -1 +0,0 @@
de6c31550b67fe6fad20f2bcf02a72c4869f797f /home/dtrinks/.opsi-dist-cache/brother.com/brother7360/1//brother.png

View File

@ -1 +0,0 @@
9986697df2b8377f19a7a5b31df90c31a2dee02a /home/dtrinks/.opsi-dist-cache/brother.com/brother7360/B1/X86/brother7360.exe

View File

@ -0,0 +1 @@
4acc25a0ed8d7620639de09bcf29236ea292102e /home/dtrinks/.opsi-dist-cache/brother.com/brother.mfc7360/1/X86/brother7360_32.zip

View File

@ -0,0 +1 @@
65d40d02b419052a22150e6f6fe194026e89bc82 /home/dtrinks/.opsi-dist-cache/brother.com/brother.mfc7360/1/X64/brother7360_64.zip