From fb13fa5205218c855737d35d1201da30daca8b6f Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Fri, 1 Mar 2013 18:49:03 +0100 Subject: [PATCH] Inital checkin only winxp --- CLIENT_DATA/delsub3264.ins | 163 ++++++++++ CLIENT_DATA/opsi-PN.ini | 11 + CLIENT_DATA/setup3264.ins | 281 ++++++++++++++++++ CLIENT_DATA/uninstall3264.ins | 84 ++++++ DP_Bluetooth_wnt5_x86-32_910.7z.sha1sum | 1 + DP_CPU_wnt5_x86-32_1005.7z.sha1sum | 1 + DP_Chipset_wnt5_x86-32_1209.7z.sha1sum | 1 + DP_Graphics_A_wnt5_x86-32_1206.7z.sha1sum | 1 + DP_Graphics_B_wnt5_x86-32_1206.7z.sha1sum | 1 + DP_Graphics_C_wnt5_x86-32_1206.7z.sha1sum | 1 + ...hics_Languages_wnt5_x86-32_1206.7z.sha1sum | 1 + DP_Graphics_PhysX_wnt5_x86-32_1206.7z.sha1sum | 1 + DP_HID_wnt5_x86-32_1209.7z.sha1sum | 1 + DP_LAN_wnt5_x86-32_1205.7z.sha1sum | 1 + DP_MassStorage_wnt5_x86-32_1209.7z.sha1sum | 1 + DP_Misc_wnt5_x86-32_1201.7z.sha1sum | 1 + DP_Modem_wnt5_x86-32_1205.7z.sha1sum | 1 + DP_Monitor_wnt5_x86-32_1005.7z.sha1sum | 1 + DP_Runtimes_wnt5_x86-32_1206.7z.sha1sum | 1 + DP_Sound_A_wnt5_x86-32_1111.7z.sha1sum | 1 + DP_Sound_B_wnt5_x86-32_1111.7z.sha1sum | 1 + DP_TV_wnt5_x86-32_1005.7z.sha1sum | 1 + DP_WLAN_wnt5_x86-32_1202.7z.sha1sum | 1 + DP_WebCam_wnt5_x86-32_1107.7z.sha1sum | 1 + ...rsInstaller_Release_3.4.12_Full.7z.sha1sum | 1 + OPSI/changelog.txt | 2 + OPSI/control | 37 +++ OPSI/postinst | 9 + OPSI/preinst | 9 + Testing.txt | 28 ++ biglogo1s9m4z.png.sha1sum | 1 + builder-product.cfg | 200 +++++++++++++ builder-targets-cb.sh | 35 +++ 33 files changed, 881 insertions(+) create mode 100644 CLIENT_DATA/delsub3264.ins create mode 100644 CLIENT_DATA/opsi-PN.ini create mode 100644 CLIENT_DATA/setup3264.ins create mode 100644 CLIENT_DATA/uninstall3264.ins create mode 100644 DP_Bluetooth_wnt5_x86-32_910.7z.sha1sum create mode 100644 DP_CPU_wnt5_x86-32_1005.7z.sha1sum create mode 100644 DP_Chipset_wnt5_x86-32_1209.7z.sha1sum create mode 100644 DP_Graphics_A_wnt5_x86-32_1206.7z.sha1sum create mode 100644 DP_Graphics_B_wnt5_x86-32_1206.7z.sha1sum create mode 100644 DP_Graphics_C_wnt5_x86-32_1206.7z.sha1sum create mode 100644 DP_Graphics_Languages_wnt5_x86-32_1206.7z.sha1sum create mode 100644 DP_Graphics_PhysX_wnt5_x86-32_1206.7z.sha1sum create mode 100644 DP_HID_wnt5_x86-32_1209.7z.sha1sum create mode 100644 DP_LAN_wnt5_x86-32_1205.7z.sha1sum create mode 100644 DP_MassStorage_wnt5_x86-32_1209.7z.sha1sum create mode 100644 DP_Misc_wnt5_x86-32_1201.7z.sha1sum create mode 100644 DP_Modem_wnt5_x86-32_1205.7z.sha1sum create mode 100644 DP_Monitor_wnt5_x86-32_1005.7z.sha1sum create mode 100644 DP_Runtimes_wnt5_x86-32_1206.7z.sha1sum create mode 100644 DP_Sound_A_wnt5_x86-32_1111.7z.sha1sum create mode 100644 DP_Sound_B_wnt5_x86-32_1111.7z.sha1sum create mode 100644 DP_TV_wnt5_x86-32_1005.7z.sha1sum create mode 100644 DP_WLAN_wnt5_x86-32_1202.7z.sha1sum create mode 100644 DP_WebCam_wnt5_x86-32_1107.7z.sha1sum create mode 100644 DriversInstaller_Release_3.4.12_Full.7z.sha1sum create mode 100644 OPSI/changelog.txt create mode 100644 OPSI/control create mode 100644 OPSI/postinst create mode 100644 OPSI/preinst create mode 100644 Testing.txt create mode 100644 biglogo1s9m4z.png.sha1sum create mode 100644 builder-product.cfg create mode 100644 builder-targets-cb.sh diff --git a/CLIENT_DATA/delsub3264.ins b/CLIENT_DATA/delsub3264.ins new file mode 100644 index 0000000..c3f7f1d --- /dev/null +++ b/CLIENT_DATA/delsub3264.ins @@ -0,0 +1,163 @@ +; 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/ + + +Set $UninstallProgram32$ = $InstallDir32$ + "\uninstall.exe" +Set $UninstallProgram64$ = $InstallDir64$ + "\uninstall.exe" +Set $IniFile32$ = $InstallDir32$ + "\opsi-" + $ProductId$ + ".ini" +Set $IniFile64$ = $InstallDir64$ + "\opsi-" + $ProductId$ + ".ini" + + + +if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only") + Message "Uninstalling " + $ProductId$ + " 32 Bit..." + + if FileExists($IniFile32$) + Set $MsiIdOld32$ = GetValueFromInifile($IniFile32$,"X86","MsiId32","{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}") + if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiIdOld32$ + "] DisplayName") = "") + comment "Old MSI id " + $MsiIdOld32$ + " found in registry, starting msiexec to uninstall old version" + Winbatch_uninstall_msi_old_32 + sub_check_exitcode + endif + endif + + if FileExists($UninstallProgram32$) + comment "Uninstall program found, starting uninstall" + Winbatch_uninstall_32 + sub_check_exitcode + endif + + if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiId32$ + "] DisplayName") = "") + comment "MSI id " + $MsiId32$ + " found in registry, starting msiexec to uninstall" + Winbatch_uninstall_msi_32 + sub_check_exitcode + endif + + comment "Delete files" + Files_uninstall_32 /32Bit + comment "Cleanup registry" + Registry_uninstall /32Bit +endif + +if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only")) + Message "Uninstalling " + $ProductId$ + " 64 Bit..." + + if FileExists($IniFile64$) + Set $MsiIdOld64$ = GetValueFromInifile($IniFile64$,"X86_64","MsiId64","{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}") + if not (GetRegistryStringValue64("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiIdOld64$ + "] DisplayName") = "") + comment "Old MSI id " + $MsiIdOld64$ + " found in registry, starting msiexec to uninstall old version" + Winbatch_uninstall_msi_old_64 + sub_check_exitcode + endif + endif + if FileExists($UninstallProgram64$) + comment "Uninstall program found, starting uninstall" + Winbatch_uninstall_64 + sub_check_exitcode + endif + + if not (GetRegistryStringValue64("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiId64$ + "] DisplayName") = "") + comment "MSI id " + $MsiId64$ + " found in registry, starting msiexec to uninstall" + Winbatch_uninstall_msi_64 + sub_check_exitcode + endif + + comment "Delete files" + Files_uninstall_64 /64Bit + comment "Cleanup registry" + Registry_uninstall /64Bit +endif + +comment "Delete program shortcuts" +LinkFolder_uninstall + +[Winbatch_uninstall_32] +; Choose one of the following examples as basis for program uninstall +; +; === Nullsoft Scriptable Install System ================================================================ +; "$UninstallProgram32$" /S +; +; === Inno Setup ======================================================================================== +; "$UninstallProgram32$" /silent /norestart /SUPPRESSMSGBOXES + + +[Winbatch_uninstall_msi_old_32] +msiexec /x $MsiIdOld32$ /qb! REBOOT=ReallySuppress + +[Winbatch_uninstall_msi_32] +msiexec /x $MsiId32$ /qb! REBOOT=ReallySuppress + +[Files_uninstall_32] +; Example for recursively deleting the installation directory (don't forget the trailing backslash): +; +; delete -sf "$InstallDir32$\" + +[Winbatch_uninstall_64] +; Choose one of the following examples as basis for program uninstall +; +; === Nullsoft Scriptable Install System ================================================================ +; "$UninstallProgram64$" /S +; +; === Inno Setup ======================================================================================== +; "$UninstallProgram64$" /silent /norestart /SUPPRESSMSGBOXES + + +[Winbatch_uninstall_msi_old_64] +msiexec /x $MsiIdOld64$ /qb! REBOOT=ReallySuppress + +[Winbatch_uninstall_msi_64] +msiexec /x $MsiId64$ /qb! REBOOT=ReallySuppress + +[Files_uninstall_64] +; Example for recursively deleting the installation directory (don't forget the trailing backslash): +; +; delete -sf "$InstallDir64$\" + +[Registry_uninstall] +; Example of deleting a registry key: +; +; deletekey [HKEY_LOCAL_MACHINE\Software\$ProductId$] + +[LinkFolder_uninstall] +; Example of deleting a folder from AllUsers startmenu: +; +; set_basefolder common_programs +; delete_subfolder $ProductId$ +; +; Example of deleting a shortcut from AllUsers desktop: +; +; set_basefolder common_desktopdirectory +; set_subfolder "" +; delete_element $ProductId$ + +[Sub_check_exitcode] +comment "Test for installation success via exit code" +set $ExitCode$ = getLastExitCode +; informations to exit codes see +; http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspx +; http://msdn.microsoft.com/en-us/library/aa368542.aspx +if ($ExitCode$ = "0") + comment "Looks good: setup program gives exitcode zero" +else + comment "Setup program gives a exitcode unequal zero: " + $ExitCode$ + if ($ExitCode$ = "1605") + comment "ERROR_UNKNOWN_PRODUCT 1605 This action is only valid for products that are currently installed." + comment "Uninstall of a not installed product failed - no problem" + else + if ($ExitCode$ = "1641") + comment "looks good: setup program gives exitcode 1641" + comment "ERROR_SUCCESS_REBOOT_INITIATED 1641 The installer has initiated a restart. This message is indicative of a success." + else + if ($ExitCode$ = "3010") + comment "looks good: setup program gives exitcode 3010" + comment "ERROR_SUCCESS_REBOOT_REQUIRED 3010 A restart is required to complete the install. This message is indicative of a success." + else + logError "Fatal: Setup program gives an unknown exitcode unequal zero: " + $ExitCode$ + isFatalError + endif + endif + endif +endif + diff --git a/CLIENT_DATA/opsi-PN.ini b/CLIENT_DATA/opsi-PN.ini new file mode 100644 index 0000000..978f02e --- /dev/null +++ b/CLIENT_DATA/opsi-PN.ini @@ -0,0 +1,11 @@ +[X86] +MsiId={XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} +MsiId32={XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} + +[X86_64] +MsiId={XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} +MsiId64={XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} + +[COMMON] +PN=name +VERSION=version diff --git a/CLIENT_DATA/setup3264.ins b/CLIENT_DATA/setup3264.ins new file mode 100644 index 0000000..d734ed4 --- /dev/null +++ b/CLIENT_DATA/setup3264.ins @@ -0,0 +1,281 @@ +; 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 $MsiId32$ +DefVar $MsiIdOld32$ +DefVar $UninstallProgram32$ +DefVar $IniFile32$ +; DefVar $MsiId64$ +DefVar $MsiIdOld64$ +DefVar $UninstallProgram64$ +DefVar $IniFile64$ +DefVar $IniCfgFile$ +DefVar $LogDir$ +DefVar $ProductId$ +DefVar $MinimumSpace$ +DefVar $InstallDir32$ +DefVar $InstallDir64$ +DefVar $ExitCode$ +DefVar $LicenseRequired$ +DefVar $LicenseKey$ +DefVar $LicensePool$ +DefVar $INST_SystemType$ +DefVar $INST_architecture$ + +Set $INST_SystemType$ = GetSystemType +set $INST_architecture$ = GetProductProperty("install_architecture","system specific") + + +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$ = "adiaproject.dia" +Set $MinimumSpace$ = "100 MB" +; the path were we find the product after the installation +Set $InstallDir32$ = "%ProgramFiles32Dir%\Adia Project\Driver Installer Assistant" +Set $InstallDir64$ = "%ProgramFiles64Dir%\Adia Project\Driver Installer Assistant" +Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini" +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%\delsub3264.ins") + comment "Start uninstall sub section" + Sub "%ScriptPath%\delsub3264.ins" + endif + + if $LicenseRequired$ = "true" + comment "Licensing required, reserve license and get license key" + Sub_get_licensekey + endif + + comment "installing" + + if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only") + Message "Installing " + $ProductId$ + " 32 Bit..." + comment "Start setup program" + Winbatch_install_32 + Sub_check_exitcode + comment "Copy files" + Files_install_32 /32Bit + comment "Patch Registry" + Registry_install /32Bit + comment "Create shortcuts" + LinkFolder_install + endif + + if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only")) + Message "Installing " + $ProductId$ + " 64 Bit..." + comment "Start setup program" + Winbatch_install_64 + Sub_check_exitcode + comment "Copy files" + Files_install_64 /64Bit + comment "Patch Registry" + Registry_install /64Bit + comment "Create shortcuts" + LinkFolder_install + endif + +endif + +[Winbatch_install_32] +; Choose one of the following examples as basis for your installation +; You can use $LicenseKey$ var to pass a license key to the installer +; +; === Nullsoft Scriptable Install System ================================================================ +; "%ScriptPath%\Setup.exe" /S +; +; === MSI package ======================================================================================= +; You may use the parameter PIDKEY=$Licensekey$ +; msiexec /i "%ScriptPath%\some.msi" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=2 REBOOT=ReallySuppress +; +; === InstallShield + MSI===================================================================================== +; Attention: The path to the log file should not contain any whitespaces +; "%ScriptPath%\setup.exe" /s /v" /l* $LogDir$\$ProductId$.install_log.txt /qb! ALLUSERS=2 REBOOT=ReallySuppress" +; "%ScriptPath%\setup.exe" /s /v" /qb! ALLUSERS=2 REBOOT=ReallySuppress" +; +; === InstallShield ===================================================================================== +; Create setup.iss answer file by running: setup.exe /r /f1"c:\setup.iss" +; "%ScriptPath%\setup.exe" /s /sms /f1"%ScriptPath%\setup.iss" /f2"$LogDir$\$ProductId$.install_log.txt" +; +; === Inno Setup ======================================================================================== +; http://unattended.sourceforge.net/InnoSetup_Switches_ExitCodes.html +; You may create setup answer file by: setup.exe /SAVEINF="filename" +; You may use an answer file by the parameter /LOADINF="filename" +; "%ScriptPath%\setup.exe" /sp- /silent /norestart /SUPPRESSMSGBOXES +; "$Install32Exe$" -t10 + + +[Files_install_32] +copy "$IniCfgFile$" "$InstallDir32$" + +; Example of recursively copying some files into the installation directory: +; +; copy -s "%ScriptPath%\files\*.*" "$InstallDir32$" + +[Winbatch_install_64] +; Choose one of the following examples as basis for your installation +; You can use $LicenseKey$ var to pass a license key to the installer +; +; === Nullsoft Scriptable Install System ================================================================ +; "%ScriptPath%\Setup.exe" /S +; +; === MSI package ======================================================================================= +; You may use the parameter PIDKEY=$Licensekey$ +; msiexec /i "%ScriptPath%\some.msi" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=2 REBOOT=ReallySuppress +; +; === InstallShield + MSI===================================================================================== +; Attention: The path to the log file should not contain any whitespaces +; "%ScriptPath%\setup.exe" /s /v" /l* $LogDir$\$ProductId$.install_log.txt /qb! ALLUSERS=2 REBOOT=ReallySuppress" +; "%ScriptPath%\setup.exe" /s /v" /qb! ALLUSERS=2 REBOOT=ReallySuppress" +; +; === InstallShield ===================================================================================== +; Create setup.iss answer file by running: setup.exe /r /f1"c:\setup.iss" +; "%ScriptPath%\setup.exe" /s /sms /f1"%ScriptPath%\setup.iss" /f2"$LogDir$\$ProductId$.install_log.txt" +; +; === Inno Setup ======================================================================================== +; http://unattended.sourceforge.net/InnoSetup_Switches_ExitCodes.html +; You may create setup answer file by: setup.exe /SAVEINF="filename" +; You may use an answer file by the parameter /LOADINF="filename" +; "%ScriptPath%\setup.exe" /sp- /silent /norestart /SUPPRESSMSGBOXES +; "$Install64Exe$" -t10 + +[Files_install_64] +copy "$IniCfgFile$" "$InstallDir64$" + +; Example of recursively copying some files into the installation directory: +; +; copy -s "%ScriptPath%\files\*.*" "$InstallDir64$" + +[Registry_install] +; Example of setting some values of an registry key: +; +; openkey [HKEY_LOCAL_MACHINE\Software\$ProductId$] +; set "name1" = "some string value" +; set "name2" = REG_DWORD:0001 +; set "name3" = REG_BINARY:00 af 99 cd + +[LinkFolder_install] +; Example of deleting a folder from AllUsers startmenu: +; +; set_basefolder common_programs +; delete_subfolder $ProductId$ +; +; Example of creating an shortcut to the installed exe in AllUsers startmenu: +; +; set_basefolder common_programs +; set_subfolder $ProductId$ +; +; set_link +; name: $ProductId$ +; target: +; parameters: +; working_dir: $InstallDir$ +; icon_file: +; icon_index: +; end_link +; +; Example of creating an shortcut to the installed exe on AllUsers desktop: +; +; set_basefolder common_desktopdirectory +; set_subfolder "" +; +; set_link +; name: $ProductId$ +; target: +; parameters: +; working_dir: $InstallDir$ +; icon_file: +; icon_index: 2 +; end_link + +[Sub_get_licensekey] +comment "License management is enabled and will be used" + +comment "Trying to get a license key" +Set $LicenseKey$ = demandLicenseKey ($LicensePool$) +; If there is an assignment of exactly one licensepool to the product the following call is possible: +; Set $LicenseKey$ = demandLicenseKey ("", $ProductId$) +; +; If there is an assignment of a license pool to a windows software id, it is possible to use: +; DefVar $WindowsSoftwareId$ +; $WindowsSoftwareId$ = "..." +; Set $LicenseKey$ = demandLicenseKey ("", "", $WindowsSoftwareId$) + +DefVar $ServiceErrorClass$ +set $ServiceErrorClass$ = getLastServiceErrorClass +comment "Error class: " + $ServiceErrorClass$ + +if $ServiceErrorClass$ = "None" + comment "Everything fine, we got the license key '" + $LicenseKey$ + "'" +else + if $ServiceErrorClass$ = "LicenseConfigurationError" + LogError "Fatal: license configuration must be corrected" + LogError getLastServiceErrorMessage + isFatalError + else + if $ServiceErrorClass$ = "LicenseMissingError" + LogError "Fatal: required license is not supplied" + isFatalError + endif + endif +endif + +[Sub_check_exitcode] +comment "Test for installation success via exit code" +set $ExitCode$ = getLastExitCode +; informations to exit codes see +; http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspx +; http://msdn.microsoft.com/en-us/library/aa368542.aspx +if ($ExitCode$ = "0") + comment "Looks good: setup program gives exitcode zero" +else + comment "Setup program gives a exitcode unequal zero: " + $ExitCode$ + if ($ExitCode$ = "1605") + comment "ERROR_UNKNOWN_PRODUCT 1605 This action is only valid for products that are currently installed." + comment "Uninstall of a not installed product failed - no problem" + else + if ($ExitCode$ = "1641") + comment "looks good: setup program gives exitcode 1641" + comment "ERROR_SUCCESS_REBOOT_INITIATED 1641 The installer has initiated a restart. This message is indicative of a success." + else + if ($ExitCode$ = "3010") + comment "looks good: setup program gives exitcode 3010" + comment "ERROR_SUCCESS_REBOOT_REQUIRED 3010 A restart is required to complete the install. This message is indicative of a success." + else + logError "Fatal: Setup program gives an unknown exitcode unequal zero: " + $ExitCode$ + isFatalError + endif + endif + endif +endif + diff --git a/CLIENT_DATA/uninstall3264.ins b/CLIENT_DATA/uninstall3264.ins new file mode 100644 index 0000000..2396024 --- /dev/null +++ b/CLIENT_DATA/uninstall3264.ins @@ -0,0 +1,84 @@ +; 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 $MsiId32$ +DefVar $MsiIdOld32$ +DefVar $UninstallProgram32$ +DefVar $IniFile32$ +; DefVar $MsiId64$ +DefVar $MsiIdOld64$ +DefVar $UninstallProgram64$ +DefVar $IniFile64$ +DefVar $IniCfgFile$ +DefVar $LogDir$ +DefVar $ExitCode$ +DefVar $ProductId$ +DefVar $InstallDir32$ +DefVar $InstallDir64$ +DefVar $LicenseRequired$ +DefVar $LicensePool$ +DefVar $INST_SystemType$ +DefVar $INST_architecture$ + +Set $INST_SystemType$ = GetSystemType +set $INST_architecture$ = GetProductProperty("install_architecture","system specific") + + +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 - +; ---------------------------------------------------------------- +Set $ProductId$ = "opsi-template" +Set $InstallDir32$ = "%ProgramFiles32Dir%\" +Set $InstallDir64$ = "%ProgramFiles64Dir%\" +Set $LicenseRequired$ = "false" +Set $LicensePool$ = "p_" + $ProductId$ +; ---------------------------------------------------------------- + + +comment "Show product picture" +ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$ + +Message "Uninstalling " + $ProductId$ + " ..." + +if FileExists("%ScriptPath%\delsub3264.ins") + comment "Start uninstall sub section" + Sub "%ScriptPath%\delsub3264.ins" +endif + +if $LicenseRequired$ = "true" + comment "Licensing required, free license used" + Sub_free_license +endif + +[Sub_free_license] +comment "License management is enabled and will be used" + +comment "Trying to free license used for the product" +DefVar $result$ +Set $result$ = FreeLicense($LicensePool$) +; If there is an assignment of a license pool to the product, it is possible to use +; Set $result$ = FreeLicense("", $ProductId$) +; +; If there is an assignment of a license pool to a windows software id, it is possible to use +; DefVar $WindowsSoftwareId$ +; $WindowsSoftwareId$ = "..." +; set $result$ = FreeLicense("", "", $WindowsSoftwareId$) + + diff --git a/DP_Bluetooth_wnt5_x86-32_910.7z.sha1sum b/DP_Bluetooth_wnt5_x86-32_910.7z.sha1sum new file mode 100644 index 0000000..c32c7fe --- /dev/null +++ b/DP_Bluetooth_wnt5_x86-32_910.7z.sha1sum @@ -0,0 +1 @@ +3a936a84dc8269afbaff1151b1ba6c59426feb4c /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12/X86/DP_Bluetooth_wnt5_x86-32_910.7z diff --git a/DP_CPU_wnt5_x86-32_1005.7z.sha1sum b/DP_CPU_wnt5_x86-32_1005.7z.sha1sum new file mode 100644 index 0000000..abd1473 --- /dev/null +++ b/DP_CPU_wnt5_x86-32_1005.7z.sha1sum @@ -0,0 +1 @@ +4bbff539a87af12201f8758c85960b41a0fff884 /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12/X86/DP_CPU_wnt5_x86-32_1005.7z diff --git a/DP_Chipset_wnt5_x86-32_1209.7z.sha1sum b/DP_Chipset_wnt5_x86-32_1209.7z.sha1sum new file mode 100644 index 0000000..aaac0ab --- /dev/null +++ b/DP_Chipset_wnt5_x86-32_1209.7z.sha1sum @@ -0,0 +1 @@ +6ebbd178aba29c7d44e195f098409f02063a7027 /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12/X86/DP_Chipset_wnt5_x86-32_1209.7z diff --git a/DP_Graphics_A_wnt5_x86-32_1206.7z.sha1sum b/DP_Graphics_A_wnt5_x86-32_1206.7z.sha1sum new file mode 100644 index 0000000..3a67515 --- /dev/null +++ b/DP_Graphics_A_wnt5_x86-32_1206.7z.sha1sum @@ -0,0 +1 @@ +ba012b70c72b4dd551e4626cace8aa8288630546 /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12/X86/DP_Graphics_A_wnt5_x86-32_1206.7z diff --git a/DP_Graphics_B_wnt5_x86-32_1206.7z.sha1sum b/DP_Graphics_B_wnt5_x86-32_1206.7z.sha1sum new file mode 100644 index 0000000..8c2787b --- /dev/null +++ b/DP_Graphics_B_wnt5_x86-32_1206.7z.sha1sum @@ -0,0 +1 @@ +399c4364fa2d27c254b34b6ab4caef1fde34fc01 /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12/X86/DP_Graphics_B_wnt5_x86-32_1206.7z diff --git a/DP_Graphics_C_wnt5_x86-32_1206.7z.sha1sum b/DP_Graphics_C_wnt5_x86-32_1206.7z.sha1sum new file mode 100644 index 0000000..2581f93 --- /dev/null +++ b/DP_Graphics_C_wnt5_x86-32_1206.7z.sha1sum @@ -0,0 +1 @@ +e5d542e6ca7b8f62681bea70e1cf3d9a6938f783 /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12/X86/DP_Graphics_C_wnt5_x86-32_1206.7z diff --git a/DP_Graphics_Languages_wnt5_x86-32_1206.7z.sha1sum b/DP_Graphics_Languages_wnt5_x86-32_1206.7z.sha1sum new file mode 100644 index 0000000..d6a2226 --- /dev/null +++ b/DP_Graphics_Languages_wnt5_x86-32_1206.7z.sha1sum @@ -0,0 +1 @@ +b1aeecc061e553b05b4c7e8289a35eb94e2b3c9b /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12/X86/DP_Graphics_Languages_wnt5_x86-32_1206.7z diff --git a/DP_Graphics_PhysX_wnt5_x86-32_1206.7z.sha1sum b/DP_Graphics_PhysX_wnt5_x86-32_1206.7z.sha1sum new file mode 100644 index 0000000..7ef3796 --- /dev/null +++ b/DP_Graphics_PhysX_wnt5_x86-32_1206.7z.sha1sum @@ -0,0 +1 @@ +33452cf458065e7eb9e4af41a0ce4f67700a3475 /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12/X86/DP_Graphics_PhysX_wnt5_x86-32_1206.7z diff --git a/DP_HID_wnt5_x86-32_1209.7z.sha1sum b/DP_HID_wnt5_x86-32_1209.7z.sha1sum new file mode 100644 index 0000000..2fad8e6 --- /dev/null +++ b/DP_HID_wnt5_x86-32_1209.7z.sha1sum @@ -0,0 +1 @@ +0d5cf3d8618089c6d291e23975b510be0ed92dd5 /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12/X86/DP_HID_wnt5_x86-32_1209.7z diff --git a/DP_LAN_wnt5_x86-32_1205.7z.sha1sum b/DP_LAN_wnt5_x86-32_1205.7z.sha1sum new file mode 100644 index 0000000..402d08f --- /dev/null +++ b/DP_LAN_wnt5_x86-32_1205.7z.sha1sum @@ -0,0 +1 @@ +2f53a49b3255244d1a45a862b10112a7bf256814 /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12/X86/DP_LAN_wnt5_x86-32_1205.7z diff --git a/DP_MassStorage_wnt5_x86-32_1209.7z.sha1sum b/DP_MassStorage_wnt5_x86-32_1209.7z.sha1sum new file mode 100644 index 0000000..d556045 --- /dev/null +++ b/DP_MassStorage_wnt5_x86-32_1209.7z.sha1sum @@ -0,0 +1 @@ +3a713dfa50dec942ff72074d88c6a20db75245b4 /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12/X86/DP_MassStorage_wnt5_x86-32_1209.7z diff --git a/DP_Misc_wnt5_x86-32_1201.7z.sha1sum b/DP_Misc_wnt5_x86-32_1201.7z.sha1sum new file mode 100644 index 0000000..f936685 --- /dev/null +++ b/DP_Misc_wnt5_x86-32_1201.7z.sha1sum @@ -0,0 +1 @@ +80aca6b0476788cd63ae7fb070dc419b1a26cdce /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12/X86/DP_Misc_wnt5_x86-32_1201.7z diff --git a/DP_Modem_wnt5_x86-32_1205.7z.sha1sum b/DP_Modem_wnt5_x86-32_1205.7z.sha1sum new file mode 100644 index 0000000..6e65196 --- /dev/null +++ b/DP_Modem_wnt5_x86-32_1205.7z.sha1sum @@ -0,0 +1 @@ +b64ba57043e22dc54a4a4b7fb73cd2c3345ab963 /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12/X86/DP_Modem_wnt5_x86-32_1205.7z diff --git a/DP_Monitor_wnt5_x86-32_1005.7z.sha1sum b/DP_Monitor_wnt5_x86-32_1005.7z.sha1sum new file mode 100644 index 0000000..8bb90a1 --- /dev/null +++ b/DP_Monitor_wnt5_x86-32_1005.7z.sha1sum @@ -0,0 +1 @@ +a860dbd52589ce4b4d66b47d82a71b6c4fcfab7a /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12/X86/DP_Monitor_wnt5_x86-32_1005.7z diff --git a/DP_Runtimes_wnt5_x86-32_1206.7z.sha1sum b/DP_Runtimes_wnt5_x86-32_1206.7z.sha1sum new file mode 100644 index 0000000..81ff2f1 --- /dev/null +++ b/DP_Runtimes_wnt5_x86-32_1206.7z.sha1sum @@ -0,0 +1 @@ +29d4af54b0f5097a4de97d9b770706316f64a48b /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12/X86/DP_Runtimes_wnt5_x86-32_1206.7z diff --git a/DP_Sound_A_wnt5_x86-32_1111.7z.sha1sum b/DP_Sound_A_wnt5_x86-32_1111.7z.sha1sum new file mode 100644 index 0000000..0629a2a --- /dev/null +++ b/DP_Sound_A_wnt5_x86-32_1111.7z.sha1sum @@ -0,0 +1 @@ +4c2534dd3e21b26004afc944d024c14d78992195 /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12/X86/DP_Sound_A_wnt5_x86-32_1111.7z diff --git a/DP_Sound_B_wnt5_x86-32_1111.7z.sha1sum b/DP_Sound_B_wnt5_x86-32_1111.7z.sha1sum new file mode 100644 index 0000000..2243c40 --- /dev/null +++ b/DP_Sound_B_wnt5_x86-32_1111.7z.sha1sum @@ -0,0 +1 @@ +53a7005508f84e802dffcd296826d79e25a5502b /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12/X86/DP_Sound_B_wnt5_x86-32_1111.7z diff --git a/DP_TV_wnt5_x86-32_1005.7z.sha1sum b/DP_TV_wnt5_x86-32_1005.7z.sha1sum new file mode 100644 index 0000000..d75ec9b --- /dev/null +++ b/DP_TV_wnt5_x86-32_1005.7z.sha1sum @@ -0,0 +1 @@ +a84b65ae5cd7b4b2eac11c16d6b787679734fcf4 /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12/X86/DP_TV_wnt5_x86-32_1005.7z diff --git a/DP_WLAN_wnt5_x86-32_1202.7z.sha1sum b/DP_WLAN_wnt5_x86-32_1202.7z.sha1sum new file mode 100644 index 0000000..d5d82c5 --- /dev/null +++ b/DP_WLAN_wnt5_x86-32_1202.7z.sha1sum @@ -0,0 +1 @@ +592ac7a90759625ffd1798b97d0b8ee4cc17cbf1 /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12/X86/DP_WLAN_wnt5_x86-32_1202.7z diff --git a/DP_WebCam_wnt5_x86-32_1107.7z.sha1sum b/DP_WebCam_wnt5_x86-32_1107.7z.sha1sum new file mode 100644 index 0000000..1fef1fb --- /dev/null +++ b/DP_WebCam_wnt5_x86-32_1107.7z.sha1sum @@ -0,0 +1 @@ +7f662417ef18fc40acc4a543fa1032f07daa00e6 /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12/X86/DP_WebCam_wnt5_x86-32_1107.7z diff --git a/DriversInstaller_Release_3.4.12_Full.7z.sha1sum b/DriversInstaller_Release_3.4.12_Full.7z.sha1sum new file mode 100644 index 0000000..82654d3 --- /dev/null +++ b/DriversInstaller_Release_3.4.12_Full.7z.sha1sum @@ -0,0 +1 @@ +93c3f0c6081bcac8067741cbbeda268fa0a7f7ea /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12/X86/DriversInstaller_Release_3.4.12_Full.7z diff --git a/OPSI/changelog.txt b/OPSI/changelog.txt new file mode 100644 index 0000000..bc69317 --- /dev/null +++ b/OPSI/changelog.txt @@ -0,0 +1,2 @@ +Don't add cahngelog entries here! +It get autogenerated by the opsi-builder.sh \ No newline at end of file diff --git a/OPSI/control b/OPSI/control new file mode 100644 index 0000000..70e33f7 --- /dev/null +++ b/OPSI/control @@ -0,0 +1,37 @@ +[Package] +version: RELEASE +depends: +incremental: False + +[Product] +type: localboot +id: adiaproject.dia +name: adiaproject.dia +description: adiaproject.dia +advice: ADVICE +version: VERSION +priority: PRIORITY +licenseRequired: False +productClasses: +setupScript: setup3264.ins +uninstallScript: +updateScript: +alwaysScript: +onceScript: +customScript: +userLoginScript: + +[ProductProperty] +type: unicode +name: install_architecture +multivalue: False +editable: False +description: which architecture (32/64 bit) has to be installed +values: ["32 only", "64 only", "both", "system specific"] +default: ["system specific"] + +[ProductDependency] +action: setup +requiredProduct: sereby.aio +requiredStatus: installed +requirementType: before diff --git a/OPSI/postinst b/OPSI/postinst new file mode 100644 index 0000000..a8e33fc --- /dev/null +++ b/OPSI/postinst @@ -0,0 +1,9 @@ +#! /bin/sh +# +# postinst script for softprod +# This script executes after unpacking files from that archive and registering the product at the server. +# +# The following environment variables can be used to obtain information about the current installation: +# PRODUCT_ID: id of the current product +# CLIENT_DATA_DIR: directory which contains the installed client data +# diff --git a/OPSI/preinst b/OPSI/preinst new file mode 100644 index 0000000..15a5320 --- /dev/null +++ b/OPSI/preinst @@ -0,0 +1,9 @@ +#! /bin/sh +# +# preinst script for softprod +# This script executes before that package will be unpacked from its archive file. +# +# The following environment variables can be used to obtain information about the current installation: +# PRODUCT_ID: id of the current product +# CLIENT_DATA_DIR: directory where client data will be installed +# diff --git a/Testing.txt b/Testing.txt new file mode 100644 index 0000000..d6b5e6c --- /dev/null +++ b/Testing.txt @@ -0,0 +1,28 @@ +*** Qualitiymanagement/Testing procedure + +- Product: + - Name: productname + - Version: xxx + - Release: yyyy + +- Environment + - OS: Native windows XP-32Bit installation + - Preinstalled packages: None (also no aio) + - Files used while testing: + File1: http://domain.de/file.ext + +- Testing process: + OPSI-action: + - Installation (without dependencies like AIO/Firefox): ?? + Result: + - File extensions related to program: ?? + - Start menu entry: ?? + - Starting/using program: viewer works, File1 is shown correctly: ?? + + OPSI-action: + - Uninstall + Result: + - File extensions related to program: unrelated: ?? + - Start menu entry: none: ?? + + diff --git a/biglogo1s9m4z.png.sha1sum b/biglogo1s9m4z.png.sha1sum new file mode 100644 index 0000000..459ac2d --- /dev/null +++ b/biglogo1s9m4z.png.sha1sum @@ -0,0 +1 @@ +c15e9867be62c59b3cfdcc725adbc8ef31be7715 /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12//biglogo1s9m4z.png diff --git a/builder-product.cfg b/builder-product.cfg new file mode 100644 index 0000000..e979d18 --- /dev/null +++ b/builder-product.cfg @@ -0,0 +1,200 @@ +############################ +# Setup product information +############################ +VENDOR="adia-project.net" +PN="adiaproject.dia" +VERSION="3.4.12" +RELEASE="3" +PRIORITY="0" +ADVICE="" + +# TYPE - defines, if the install files are public or restricted. +# Valid value: restricted | public +TYPE="public" + + +DL_FILE[0]="biglogo1s9m4z.png" +DL_SOURCE[0]="http://firepic.org/images/2011-03/biglogo1s9m4z.png" + +DL_FILE[1]="DriversInstaller_Release_3.4.12_Full.7z" +#DL_SOURCE[1]="ftp://hww.homeftp.net/soft/OS/!Driverpack/DriversInstaller_Release_3.4.12_Full.7z" +DL_SOURCE[1]="http://turbobit.net/xkikepkgw35q/DriversInstaller_Release_3.4.12_Full.7z.html;http://letitbit.net/download/39689.3baa12a8a721d447635692415e8f/DriversInstaller_Release_3.4.12_Full.7z.html" +DL_ARCH[1]="X86" +DL_DOWNLOADER[1]="plowdown" +DL_EXTRACT_FORMAT[1]="7zip" + +DL_FILE[2]="DriversInstaller_Release_3.4.12_Full.7z" +#DL_SOURCE[2]="ftp://hww.homeftp.net/soft/OS/!Driverpack/DriversInstaller_Release_3.4.12_Full.7z" +DL_SOURCE[2]="http://turbobit.net/xkikepkgw35q/DriversInstaller_Release_3.4.12_Full.7z.html;http://letitbit.net/download/39689.3baa12a8a721d447635692415e8f/DriversInstaller_Release_3.4.12_Full.7z.html" +DL_ARCH[2]="X86_64" +DL_DOWNLOADER[2]="plowdown" +DL_EXTRACT_FORMAT[2]="7zip" + +DL_FILE[3]="DP_Bluetooth_wnt5_x86-32_910.7z" +DL_SOURCE[3]="http://driverpacks.net/driverpacks/windows/xp/x86/bluetooth/9.10/download/torrent" +DL_ARCH[3]="X86" +DL_DOWNLOADER[3]="aria2c" +DL_EXTRACT_FORMAT[3]="7zip" +DL_EXTRACT_TO[3]="drivers/XP" + +DL_FILE[4]="DP_Chipset_wnt5_x86-32_1209.7z" +DL_SOURCE[4]="http://driverpacks.net/driverpacks/windows/xp/x86/chipset/12.09/download/torrent" +DL_ARCH[4]="X86" +DL_DOWNLOADER[4]="aria2c" +DL_EXTRACT_FORMAT[4]="7zip" +DL_EXTRACT_TO[4]="drivers/XP" + +DL_FILE[5]="DP_CPU_wnt5_x86-32_1005.7z" +DL_SOURCE[5]="http://driverpacks.net/driverpacks/windows/xp/x86/cpu/10.05/download/torrent" +DL_ARCH[5]="X86" +DL_DOWNLOADER[5]="aria2c" +DL_EXTRACT_FORMAT[5]="7zip" +DL_EXTRACT_TO[5]="drivers/XP" + +DL_FILE[6]="DP_Graphics_A_wnt5_x86-32_1206.7z" +DL_SOURCE[6]="http://driverpacks.net/driverpacks/windows/xp/x86/graphics-a/12.06/download/torrent" +DL_ARCH[6]="X86" +DL_DOWNLOADER[6]="aria2c" +DL_EXTRACT_FORMAT[6]="7zip" +DL_EXTRACT_TO[6]="drivers/XP" + +DL_FILE[7]="DP_Graphics_B_wnt5_x86-32_1206.7z" +DL_SOURCE[7]="http://driverpacks.net/driverpacks/windows/xp/x86/graphics-b/12.06/download/torrent" +DL_ARCH[7]="X86" +DL_DOWNLOADER[7]="aria2c" +DL_EXTRACT_FORMAT[7]="7zip" +DL_EXTRACT_TO[7]="drivers/XP" + +DL_FILE[8]="DP_Graphics_C_wnt5_x86-32_1206.7z" +DL_SOURCE[8]="http://driverpacks.net/driverpacks/windows/xp/x86/graphics-c/12.06/download/torrent" +DL_ARCH[8]="X86" +DL_DOWNLOADER[8]="aria2c" +DL_EXTRACT_FORMAT[8]="7zip" +DL_EXTRACT_TO[8]="drivers/XP" + +DL_FILE[9]="DP_Graphics_Languages_wnt5_x86-32_1206.7z" +DL_SOURCE[9]="http://driverpacks.net/driverpacks/windows/xp/x86/graphics-languages/12.06/download/torrent" +DL_ARCH[9]="X86" +DL_DOWNLOADER[9]="aria2c" +DL_EXTRACT_FORMAT[9]="7zip" +DL_EXTRACT_TO[9]="drivers/XP" + +DL_FILE[10]="DP_Graphics_PhysX_wnt5_x86-32_1206.7z" +DL_SOURCE[10]="http://driverpacks.net/driverpacks/windows/xp/x86/graphics-physx/12.06/download/torrent" +DL_ARCH[10]="X86" +DL_DOWNLOADER[10]="aria2c" +DL_EXTRACT_FORMAT[10]="7zip" +DL_EXTRACT_TO[10]="drivers/XP" + +DL_FILE[11]="DP_HID_wnt5_x86-32_1209.7z" +DL_SOURCE[11]="http://driverpacks.net/driverpacks/windows/xp/x86/hid/12.09/download/torrent" +DL_ARCH[11]="X86" +DL_DOWNLOADER[11]="aria2c" +DL_EXTRACT_FORMAT[11]="7zip" +DL_EXTRACT_TO[11]="drivers/XP" + +DL_FILE[12]="DP_LAN_wnt5_x86-32_1205.7z" +DL_SOURCE[12]="http://driverpacks.net/driverpacks/windows/xp/x86/lan/12.05/download/torrent" +DL_ARCH[12]="X86" +DL_DOWNLOADER[12]="aria2c" +DL_EXTRACT_FORMAT[12]="7zip" +DL_EXTRACT_TO[12]="drivers/XP" + +DL_FILE[13]="DP_MassStorage_wnt5_x86-32_1209.7z" +DL_SOURCE[13]="http://driverpacks.net/driverpacks/windows/xp/x86/mass-storage/12.09/download/torrent" +DL_ARCH[13]="X86" +DL_DOWNLOADER[13]="aria2c" +DL_EXTRACT_FORMAT[13]="7zip" +DL_EXTRACT_TO[13]="drivers/XP" + +DL_FILE[14]="DP_Misc_wnt5_x86-32_1201.7z" +DL_SOURCE[14]="http://driverpacks.net/driverpacks/windows/xp/x86/miscellaneous/12.01/download/torrent" +DL_ARCH[14]="X86" +DL_DOWNLOADER[14]="aria2c" +DL_EXTRACT_FORMAT[14]="7zip" +DL_EXTRACT_TO[14]="drivers/XP" + +DL_FILE[15]="DP_Modem_wnt5_x86-32_1205.7z" +DL_SOURCE[15]="http://driverpacks.net/driverpacks/windows/xp/x86/modem/12.05/download/torrent" +DL_ARCH[15]="X86" +DL_DOWNLOADER[15]="aria2c" +DL_EXTRACT_FORMAT[15]="7zip" +DL_EXTRACT_TO[15]="drivers/XP" + +DL_FILE[16]="DP_Monitor_wnt5_x86-32_1005.7z" +DL_SOURCE[16]="http://driverpacks.net/driverpacks/windows/xp/x86/monitors/10.05/download/torrent" +DL_ARCH[16]="X86" +DL_DOWNLOADER[16]="aria2c" +DL_EXTRACT_FORMAT[16]="7zip" +DL_EXTRACT_TO[16]="drivers/XP" + +DL_FILE[17]="DP_Runtimes_wnt5_x86-32_1206.7z" +DL_SOURCE[17]="http://driverpacks.net/driverpacks/windows/xp/x86/runtimes-for-ati/12.06/download/torrent" +DL_ARCH[17]="X86" +DL_DOWNLOADER[17]="aria2c" +DL_EXTRACT_FORMAT[17]="7zip" +DL_EXTRACT_TO[17]="drivers/XP" + +DL_FILE[18]="DP_Sound_A_wnt5_x86-32_1111.7z" +DL_SOURCE[18]="http://driverpacks.net/driverpacks/windows/xp/x86/sound-a/11.11/download/torrent" +DL_ARCH[18]="X86" +DL_DOWNLOADER[18]="aria2c" +DL_EXTRACT_FORMAT[18]="7zip" +DL_EXTRACT_TO[18]="drivers/XP" + +DL_FILE[19]="DP_Sound_B_wnt5_x86-32_1111.7z" +DL_SOURCE[19]="http://driverpacks.net/driverpacks/windows/xp/x86/sound-b/11.11/download/torrent" +DL_ARCH[19]="X86" +DL_DOWNLOADER[19]="aria2c" +DL_EXTRACT_FORMAT[19]="7zip" +DL_EXTRACT_TO[19]="drivers/XP" + +DL_FILE[20]="DP_TV_wnt5_x86-32_1005.7z" +DL_SOURCE[20]="http://driverpacks.net/driverpacks/windows/xp/x86/tvcard/10.05/download/torrent" +DL_ARCH[20]="X86" +DL_DOWNLOADER[20]="aria2c" +DL_EXTRACT_FORMAT[20]="7zip" +DL_EXTRACT_TO[20]="drivers/XP" + +DL_FILE[21]="DP_WebCam_wnt5_x86-32_1107.7z" +DL_SOURCE[21]="http://driverpacks.net/driverpacks/windows/xp/x86/webcam/11.07/download/torrent" +DL_ARCH[21]="X86" +DL_DOWNLOADER[21]="aria2c" +DL_EXTRACT_FORMAT[21]="7zip" +DL_EXTRACT_TO[21]="drivers/XP" + +DL_FILE[22]="DP_WLAN_wnt5_x86-32_1202.7z" +DL_SOURCE[22]="http://driverpacks.net/driverpacks/windows/xp/x86/wlan/12.02/download/torrent" +DL_ARCH[22]="X86" +DL_DOWNLOADER[22]="aria2c" +DL_EXTRACT_FORMAT[22]="7zip" +DL_EXTRACT_TO[22]="drivers/XP" + +# File array index for the image showing while installing the program +ICON_DL_INDEX=0 + +WINST_NAME[0]="MsiId32" +WINST_VALUE[0]="{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" + +WINST_NAME[1]="MsiId64" +WINST_VALUE[1]="{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" + +######################### +# Setup additional, custom WINST variables +# which will be injected to the *.ins files (replaces token @@BUILDER_VARIABLES@@ ) +# +# The following tokens inside the WINST_VALUE will be replaced dynamically +# +# @DL_EXTRACT_WINST_PATH[]@ : contains the WINST location of the directory, the files from DL_FILE[] was extracted to. +# Sample: +# WINST_VALUE[1]="@DL_EXTRACT_WINST_PATH[]@\\svcpack\\aio-runtimes.exe" +# results in "%ScriptPath%\X86_64\svcpack\aio-runtimes.exe" +# +######################### +WINST_NAME[2]="Install32Exe" +WINST_VALUE[2]="@DL_EXTRACT_WINST_PATH[1]@\\DriversInstaller.exe" + +WINST_NAME[3]="Install32Exe" +WINST_VALUE[3]="@DL_EXTRACT_WINST_PATH[4]@\\DriversInstaller.exe" + + diff --git a/builder-targets-cb.sh b/builder-targets-cb.sh new file mode 100644 index 0000000..745985f --- /dev/null +++ b/builder-targets-cb.sh @@ -0,0 +1,35 @@ +############################################################################## +# This optional file "builder-targets-cb.sh" will be called by builder.sh +# +# The targets will be called from thde opsi-builder using the following +# order: config, prepare, retrieve, create, package, publish, commit, cleanup +# You can overwrite the target functions in builder-targets-cb.sh +# +# You can define callback functions. The functions are called from +# opsi-builder within processing a target +# cb_package_makeproductfile +# +# You can use every variable defined in any configuration file or by +# the defined builder script itself. Also, calling the predefined +# targets builder_ is possible. +# +# Abstract: +# target order: config, prepare, retrieve, create, package, publish, commit, cleanup +# callbacks: +# +############################################################################## + +function cleanup() { + echo "Cleanup" + builder_cleanup +} + +function create() { + echo "Cleanup" + builder_create + rm $INST_DIR/CLIENT_DATA/*/DriversInstaller_Release_${VERSION}_Full/*.url + rsync -avr $INST_DIR/CLIENT_DATA/X86/DriversInstaller_Release_${VERSION}_Full/* $INST_DIR/CLIENT_DATA/X86 + rsync -avr $INST_DIR/CLIENT_DATA/X86_64/DriversInstaller_Release_${VERSION}_Full/* $INST_DIR/CLIENT_DATA/X86_64 + rm -rf $INST_DIR/CLIENT_DATA/*/DriversInstaller_Release_${VERSION}_Full/ +} +