From 1f16eefad56b78724178d5ceea39d52f8f136966 Mon Sep 17 00:00:00 2001 From: Dennis Trinks Date: Tue, 8 May 2012 20:38:33 +0200 Subject: [PATCH] new drivers path --- CLIENT_DATA/#setup3264.ins# | 25 ++++++++----------------- CLIENT_DATA/setup3264.ins | 11 +++++------ 2 files changed, 13 insertions(+), 23 deletions(-) diff --git a/CLIENT_DATA/#setup3264.ins# b/CLIENT_DATA/#setup3264.ins# index 7c8f557..cbc76b9 100644 --- a/CLIENT_DATA/#setup3264.ins# +++ b/CLIENT_DATA/#setup3264.ins# @@ -58,32 +58,23 @@ else comment "Patch Registry" Registry_install /32Bit -; comment "Create shortcuts" -; LinkFolder_install - DosInAnIcon_Create + + comment "Reboot" + ExitWindows /Reboot - comment "Test for installation success" - ; Test if software marked as installed in registry - ; if (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}] DisplayName") = "") - ; logError "Fatal: After Installation 32 bit [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}] not found" - ; isFatalError - ; else - ; comment "Successful Installation" - ; endif endif [Files_install] -;copy -s "%ScriptPath%\drv\*.*" "$InstallDir$\brother7360" -copy -s "$Drv_Dir$32\*.*" "$InstallDir$\brother7360" +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;%SystemRoot%\inf\brother7360" +set "DevicePath" = "%SystemRoot%\inf;$InstallDir$\opsi_projects_drivers" [DosInAnIcon_Create] -rundll32 syssetup,SetupInfObjectInstallAction DefaultInstall 128 $InstallDir$\brother7360\brpom10a.inf -rundll32 syssetup,SetupInfObjectInstallAction DefaultInstall 128 $InstallDir$\brother7360\brimm10a.inf -rundll32 syssetup,SetupInfObjectInstallAction DefaultInstall 128 $InstallDir$\brother7360\BRPRM10A.INF +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 diff --git a/CLIENT_DATA/setup3264.ins b/CLIENT_DATA/setup3264.ins index f73501b..cbc76b9 100644 --- a/CLIENT_DATA/setup3264.ins +++ b/CLIENT_DATA/setup3264.ins @@ -66,16 +66,15 @@ else endif [Files_install] -;copy -s "%ScriptPath%\drv\*.*" "$InstallDir$\brother7360" -copy -s "$Drv_Dir$32\*.*" "$InstallDir$\brother7360" +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$\brother7360" +set "DevicePath" = "%SystemRoot%\inf;$InstallDir$\opsi_projects_drivers" [DosInAnIcon_Create] -rundll32 syssetup,SetupInfObjectInstallAction DefaultInstall 128 $InstallDir$\brother7360\brpom10a.inf -rundll32 syssetup,SetupInfObjectInstallAction DefaultInstall 128 $InstallDir$\brother7360\brimm10a.inf -rundll32 syssetup,SetupInfObjectInstallAction DefaultInstall 128 $InstallDir$\brother7360\BRPRM10A.INF +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