Inital checkin based on the xp pack
This commit is contained in:
commit
deb7385270
163
CLIENT_DATA/delsub3264.ins
Normal file
163
CLIENT_DATA/delsub3264.ins
Normal file
@ -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
|
||||
|
11
CLIENT_DATA/opsi-PN.ini
Normal file
11
CLIENT_DATA/opsi-PN.ini
Normal file
@ -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
|
281
CLIENT_DATA/setup3264.ins
Normal file
281
CLIENT_DATA/setup3264.ins
Normal file
@ -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.vista"
|
||||
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: <path to the program>
|
||||
; 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: <path to the program>
|
||||
; parameters: <some_param>
|
||||
; working_dir: $InstallDir$
|
||||
; icon_file: <path to 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
|
||||
|
84
CLIENT_DATA/uninstall3264.ins
Normal file
84
CLIENT_DATA/uninstall3264.ins
Normal file
@ -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%\<path to the product>"
|
||||
Set $InstallDir64$ = "%ProgramFiles64Dir%\<path to the product>"
|
||||
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$)
|
||||
|
||||
|
1
DP_AMDfilter_wnt6-x64_1110.7z.sha1sum
Normal file
1
DP_AMDfilter_wnt6-x64_1110.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
90a4d5a237debea4baec4bbd889c1c886fd76c9a /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_AMDfilter_wnt6-x64_1110.7z
|
1
DP_AMDfilter_wnt6-x86_1110.7z.sha1sum
Normal file
1
DP_AMDfilter_wnt6-x86_1110.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
c8b3bc98c3870a9dd02071012fcba8d0d1d51491 /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_AMDfilter_wnt6-x86_1110.7z
|
BIN
DP_Audio_wnt6-x64_1111.7z.aria2
Normal file
BIN
DP_Audio_wnt6-x64_1111.7z.aria2
Normal file
Binary file not shown.
1
DP_Audio_wnt6-x64_1111.7z.sha1sum
Normal file
1
DP_Audio_wnt6-x64_1111.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
502ddcd07e5dda3a00444c863b6df0b055aabbb9 /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_Audio_wnt6-x64_1111.7z
|
1
DP_Audio_wnt6-x86_1111.7z.sha1sum
Normal file
1
DP_Audio_wnt6-x86_1111.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
f5046b8ea88782fcb8c7fc4dac79c582be11efdb /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_Audio_wnt6-x86_1111.7z
|
1
DP_CableModem_wnt6-x86_1001.7z.sha1sum
Normal file
1
DP_CableModem_wnt6-x86_1001.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
f329fa7a70c78637abff6f58f7e4c7a6bd08de87 /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_CableModem_wnt6-x86_1001.7z
|
1
DP_CardReaders_wnt6-x64_11041.7z.sha1sum
Normal file
1
DP_CardReaders_wnt6-x64_11041.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
79108b121f8035a517f385c5dd28c59ead5d79fd /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_CardReaders_wnt6-x64_11041.7z
|
1
DP_CardReaders_wnt6-x86_11041.7z.sha1sum
Normal file
1
DP_CardReaders_wnt6-x86_11041.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
ef7f1f293985910acbb959e51873836efa9a3962 /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_CardReaders_wnt6-x86_11041.7z
|
1
DP_Chipset_wnt6-x64_1212.7z.sha1sum
Normal file
1
DP_Chipset_wnt6-x64_1212.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
d1d281e59d025e8cd6b1d757002b405dda524e21 /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_Chipset_wnt6-x64_1212.7z
|
1
DP_Chipset_wnt6-x86_1212.7z.sha1sum
Normal file
1
DP_Chipset_wnt6-x86_1212.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
9904e54d8b67ed4b5d10bedb9ad9efac115749e7 /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_Chipset_wnt6-x86_1212.7z
|
1
DP_Gaming_wnt6-x64_812.7z.sha1sum
Normal file
1
DP_Gaming_wnt6-x64_812.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
36b2149e1bfba80acf86bcdeb388babd8f20e5cb /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_Gaming_wnt6-x64_812.7z
|
1
DP_Gaming_wnt6-x86_1001.7z.sha1sum
Normal file
1
DP_Gaming_wnt6-x86_1001.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
9aa5856039ed0d685b790d9e5b011f65e2a24f18 /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_Gaming_wnt6-x86_1001.7z
|
1
DP_Graphics_A_wnt6-x64_1203.7z.sha1sum
Normal file
1
DP_Graphics_A_wnt6-x64_1203.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
fefeda1197497a76dfa3e4ea4b6659eb324f01b9 /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_Graphics_A_wnt6-x64_1203.7z
|
1
DP_Graphics_A_wnt6-x86_1203.7z.sha1sum
Normal file
1
DP_Graphics_A_wnt6-x86_1203.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
d23421ce071b76458d842db0b530b20b51c89602 /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_Graphics_A_wnt6-x86_1203.7z
|
1
DP_Graphics_B_wnt6-x64_1203.7z.sha1sum
Normal file
1
DP_Graphics_B_wnt6-x64_1203.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
3cf687369ebf5087e451d7485ceb6d750955996f /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_Graphics_B_wnt6-x64_1203.7z
|
1
DP_Graphics_B_wnt6-x86_1203.7z.sha1sum
Normal file
1
DP_Graphics_B_wnt6-x86_1203.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
0fdb30f7ef939215cb3d37e6c4812decb745577e /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_Graphics_B_wnt6-x86_1203.7z
|
1
DP_Graphics_Mobile_wnt6-x64_1203.7z.sha1sum
Normal file
1
DP_Graphics_Mobile_wnt6-x64_1203.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
6f75cecc56f9ade8fce79f2bffe4e400bfd29c55 /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_Graphics_Mobile_wnt6-x64_1203.7z
|
1
DP_Graphics_Mobile_wnt6-x86_1203.7z.sha1sum
Normal file
1
DP_Graphics_Mobile_wnt6-x86_1203.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
0bf8de948afb547a68e6264819eb1dddb39c4ba0 /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_Graphics_Mobile_wnt6-x86_1203.7z
|
1
DP_LAN_wnt6-x64_1208.7z.sha1sum
Normal file
1
DP_LAN_wnt6-x64_1208.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
f0dce5c1170a7a470035366577ccacf7c58f4088 /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_LAN_wnt6-x64_1208.7z
|
1
DP_LAN_wnt6-x86_1208.7z.sha1sum
Normal file
1
DP_LAN_wnt6-x86_1208.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
a186b73eb94b906f717a543b6947704df82c9a33 /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_LAN_wnt6-x86_1208.7z
|
1
DP_MassStorage_wnt6-x64_12121.7z.sha1sum
Normal file
1
DP_MassStorage_wnt6-x64_12121.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
a1878469bde31b1becbed522ec85baae1fae404e /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_MassStorage_wnt6-x64_12121.7z
|
1
DP_MassStorage_wnt6-x86_12121.7z.sha1sum
Normal file
1
DP_MassStorage_wnt6-x86_12121.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
52f252785c149f67b1b179e31ff10e97a2b172a2 /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_MassStorage_wnt6-x86_12121.7z
|
1
DP_Misc_wnt6-x64_1202.7z.sha1sum
Normal file
1
DP_Misc_wnt6-x64_1202.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
922cab803fa24036d42ccb179b835dbfb200bab2 /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_Misc_wnt6-x64_1202.7z
|
1
DP_Misc_wnt6-x86_1202.7z.sha1sum
Normal file
1
DP_Misc_wnt6-x86_1202.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
4f6dfdce093e402f248332835cb5c9560d6f9aa0 /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_Misc_wnt6-x86_1202.7z
|
1
DP_Modem_wnt6-x86_1001.7z.sha1sum
Normal file
1
DP_Modem_wnt6-x86_1001.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
67a7583ed0f49658db01799de14cbc7eb7f78d79 /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_Modem_wnt6-x86_1001.7z
|
1
DP_Monitors_wnt6-x64_911.7z.sha1sum
Normal file
1
DP_Monitors_wnt6-x64_911.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
13bc31f114dc2ed8c6a894da9b90092a27fa7df1 /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_Monitors_wnt6-x64_911.7z
|
1
DP_Monitors_wnt6-x86_1001.7z.sha1sum
Normal file
1
DP_Monitors_wnt6-x86_1001.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
3e555e9a4e19c1f88ef5e7d9cab009cc77ac6d7d /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_Monitors_wnt6-x86_1001.7z
|
1
DP_TVcard_wnt6-x86_1001.7z.sha1sum
Normal file
1
DP_TVcard_wnt6-x86_1001.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
a9b914a580c45d026b9aae491d2d187a65a9c906 /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_TVcard_wnt6-x86_1001.7z
|
1
DP_Touchpad_Mouse_wnt6-x64_1203.7z.sha1sum
Normal file
1
DP_Touchpad_Mouse_wnt6-x64_1203.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
4c38d0c9864d37e4da5b15579a33afd38442368b /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_Touchpad_Mouse_wnt6-x64_1203.7z
|
1
DP_Touchpad_Mouse_wnt6-x86_1203.7z.sha1sum
Normal file
1
DP_Touchpad_Mouse_wnt6-x86_1203.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
4e8e7fc47137ba53b04434e6e036cd1d60c2beae /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_Touchpad_Mouse_wnt6-x86_1203.7z
|
1
DP_WLAN_wnt6-x64_1203.7z.sha1sum
Normal file
1
DP_WLAN_wnt6-x64_1203.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
76cfbee757c5429da0553254df46f3b397a9d406 /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_WLAN_wnt6-x64_1203.7z
|
1
DP_WLAN_wnt6-x86_1203.7z.sha1sum
Normal file
1
DP_WLAN_wnt6-x86_1203.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
7bbee95b5a5189d173526144c1b570c3ab1c3383 /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_WLAN_wnt6-x86_1203.7z
|
1
DP_Webcam_wnt6-x64_1103.7z.sha1sum
Normal file
1
DP_Webcam_wnt6-x64_1103.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
48c522a08b7c905ca733bd7988587b4a884c01bd /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_Webcam_wnt6-x64_1103.7z
|
1
DP_Webcam_wnt6-x86_1103.7z.sha1sum
Normal file
1
DP_Webcam_wnt6-x86_1103.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
e3ec00bef659bb74e5745406ca81483a40837627 /home/mario/.opsi-dist-cache/adiaproject.dia.vista-3.4.12/X86/DP_Webcam_wnt6-x86_1103.7z
|
1
DriversInstaller_Release_3.4.12_Full.7z.sha1sum
Normal file
1
DriversInstaller_Release_3.4.12_Full.7z.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
93c3f0c6081bcac8067741cbbeda268fa0a7f7ea /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12/X86/DriversInstaller_Release_3.4.12_Full.7z
|
2
OPSI/changelog.txt
Normal file
2
OPSI/changelog.txt
Normal file
@ -0,0 +1,2 @@
|
||||
Don't add cahngelog entries here!
|
||||
It get autogenerated by the opsi-builder.sh
|
37
OPSI/control
Normal file
37
OPSI/control
Normal file
@ -0,0 +1,37 @@
|
||||
[Package]
|
||||
version: RELEASE
|
||||
depends:
|
||||
incremental: False
|
||||
|
||||
[Product]
|
||||
type: localboot
|
||||
id: adiaproject.dia.vista
|
||||
name: adiaproject.dia.vista
|
||||
description: adiaproject.dia.vista
|
||||
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
|
9
OPSI/postinst
Normal file
9
OPSI/postinst
Normal file
@ -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
|
||||
#
|
9
OPSI/preinst
Normal file
9
OPSI/preinst
Normal file
@ -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
|
||||
#
|
28
Testing.txt
Normal file
28
Testing.txt
Normal file
@ -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: ??
|
||||
|
||||
|
1
biglogo1s9m4z.png.sha1sum
Normal file
1
biglogo1s9m4z.png.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
c15e9867be62c59b3cfdcc725adbc8ef31be7715 /home/mario/.opsi-dist-cache/adiaproject.dia-3.4.12//biglogo1s9m4z.png
|
296
builder-product.cfg
Normal file
296
builder-product.cfg
Normal file
@ -0,0 +1,296 @@
|
||||
############################
|
||||
# Setup product information
|
||||
############################
|
||||
VENDOR="adia-project.net"
|
||||
PN="adiaproject.dia.vista"
|
||||
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"
|
||||
|
||||
|
||||
########################## Vista 32bit ####################################
|
||||
|
||||
DL_FILE[3]="DP_AMDfilter_wnt6-x86_1110.7z"
|
||||
DL_SOURCE[3]="http://driverpacks.net/driverpacks/windows/7/x86/amdfilter/11.10/download/torrent"
|
||||
DL_ARCH[3]="X86"
|
||||
DL_DOWNLOADER[3]="aria2c"
|
||||
DL_EXTRACT_FORMAT[3]="7zip"
|
||||
DL_EXTRACT_TO[3]="drivers/Vista"
|
||||
|
||||
DL_FILE[4]="DP_Audio_wnt6-x86_1111.7z"
|
||||
DL_SOURCE[4]="http://driverpacks.net/driverpacks/windows/7/x86/audio/11.11/download/torrent"
|
||||
DL_ARCH[4]="X86"
|
||||
DL_DOWNLOADER[4]="aria2c"
|
||||
DL_EXTRACT_FORMAT[4]="7zip"
|
||||
DL_EXTRACT_TO[4]="drivers/Vista"
|
||||
|
||||
DL_FILE[5]="DP_CableModem_wnt6-x86_1001.7z"
|
||||
DL_SOURCE[5]="http://driverpacks.net/driverpacks/windows/7/x86/cablemodem/10.01/download/torrent"
|
||||
DL_ARCH[5]="X86"
|
||||
DL_DOWNLOADER[5]="aria2c"
|
||||
DL_EXTRACT_FORMAT[5]="7zip"
|
||||
DL_EXTRACT_TO[5]="drivers/Vista"
|
||||
|
||||
DL_FILE[6]="DP_CardReaders_wnt6-x86_11041.7z"
|
||||
DL_SOURCE[6]="http://driverpacks.net/driverpacks/windows/7/x86/cardreaders/11.04.1/download/torrent"
|
||||
DL_ARCH[6]="X86"
|
||||
DL_DOWNLOADER[6]="aria2c"
|
||||
DL_EXTRACT_FORMAT[6]="7zip"
|
||||
DL_EXTRACT_TO[6]="drivers/Vista"
|
||||
|
||||
DL_FILE[7]="DP_Chipset_wnt6-x86_1212.7z"
|
||||
DL_SOURCE[7]="http://driverpacks.net/driverpacks/windows/7/x86/chipset/12.12/download/torrent"
|
||||
DL_ARCH[7]="X86"
|
||||
DL_DOWNLOADER[7]="aria2c"
|
||||
DL_EXTRACT_FORMAT[7]="7zip"
|
||||
DL_EXTRACT_TO[7]="drivers/Vista"
|
||||
|
||||
DL_FILE[8]="DP_Gaming_wnt6-x86_1001.7z"
|
||||
DL_SOURCE[8]="http://driverpacks.net/driverpacks/windows/7/x86/gaming/10.01/download/torrent"
|
||||
DL_ARCH[8]="X86"
|
||||
DL_DOWNLOADER[8]="aria2c"
|
||||
DL_EXTRACT_FORMAT[8]="7zip"
|
||||
DL_EXTRACT_TO[8]="drivers/Vista"
|
||||
|
||||
DL_FILE[9]="DP_Graphics_A_wnt6-x86_1203.7z"
|
||||
DL_SOURCE[9]="http://driverpacks.net/driverpacks/windows/7/x86/graphics-a/12.03/download/torrent"
|
||||
DL_ARCH[9]="X86"
|
||||
DL_DOWNLOADER[9]="aria2c"
|
||||
DL_EXTRACT_FORMAT[9]="7zip"
|
||||
DL_EXTRACT_TO[9]="drivers/Vista"
|
||||
|
||||
DL_FILE[10]="DP_Graphics_B_wnt6-x86_1203.7z"
|
||||
DL_SOURCE[10]="http://driverpacks.net/driverpacks/windows/7/x86/graphics-b/12.03/download/torrent"
|
||||
DL_ARCH[10]="X86"
|
||||
DL_DOWNLOADER[10]="aria2c"
|
||||
DL_EXTRACT_FORMAT[10]="7zip"
|
||||
DL_EXTRACT_TO[10]="drivers/Vista"
|
||||
|
||||
DL_FILE[11]="DP_Graphics_Mobile_wnt6-x86_1203.7z"
|
||||
DL_SOURCE[11]="http://driverpacks.net/driverpacks/windows/7/x86/graphics-mobile/12.03/download/torrent"
|
||||
DL_ARCH[11]="X86"
|
||||
DL_DOWNLOADER[11]="aria2c"
|
||||
DL_EXTRACT_FORMAT[11]="7zip"
|
||||
DL_EXTRACT_TO[11]="drivers/Vista"
|
||||
|
||||
DL_FILE[12]="DP_LAN_wnt6-x86_1208.7z"
|
||||
DL_SOURCE[12]="http://driverpacks.net/driverpacks/windows/7/x86/lan/12.08/download/torrent"
|
||||
DL_ARCH[12]="X86"
|
||||
DL_DOWNLOADER[12]="aria2c"
|
||||
DL_EXTRACT_FORMAT[12]="7zip"
|
||||
DL_EXTRACT_TO[12]="drivers/Vista"
|
||||
|
||||
DL_FILE[13]="DP_MassStorage_wnt6-x86_12121.7z"
|
||||
DL_SOURCE[13]="http://driverpacks.net/driverpacks/windows/7/x86/mass-storage/12.12.1/download/torrent"
|
||||
DL_ARCH[13]="X86"
|
||||
DL_DOWNLOADER[13]="aria2c"
|
||||
DL_EXTRACT_FORMAT[13]="7zip"
|
||||
DL_EXTRACT_TO[13]="drivers/Vista"
|
||||
|
||||
DL_FILE[14]="DP_Misc_wnt6-x86_1202.7z"
|
||||
DL_SOURCE[14]="http://driverpacks.net/driverpacks/windows/7/x86/miscellaneous/12.02/download/torrent"
|
||||
DL_ARCH[14]="X86"
|
||||
DL_DOWNLOADER[14]="aria2c"
|
||||
DL_EXTRACT_FORMAT[14]="7zip"
|
||||
DL_EXTRACT_TO[14]="drivers/Vista"
|
||||
|
||||
DL_FILE[15]="DP_Modem_wnt6-x86_1001.7z"
|
||||
DL_SOURCE[15]="http://driverpacks.net/driverpacks/windows/7/x86/modem/10.01/download/torrent"
|
||||
DL_ARCH[15]="X86"
|
||||
DL_DOWNLOADER[15]="aria2c"
|
||||
DL_EXTRACT_FORMAT[15]="7zip"
|
||||
DL_EXTRACT_TO[15]="drivers/Vista"
|
||||
|
||||
DL_FILE[16]="DP_Monitors_wnt6-x86_1001.7z"
|
||||
DL_SOURCE[16]="http://driverpacks.net/driverpacks/windows/7/x86/monitors/10.01/download/torrent"
|
||||
DL_ARCH[16]="X86"
|
||||
DL_DOWNLOADER[16]="aria2c"
|
||||
DL_EXTRACT_FORMAT[16]="7zip"
|
||||
DL_EXTRACT_TO[16]="drivers/Vista"
|
||||
|
||||
DL_FILE[17]="DP_Touchpad_Mouse_wnt6-x86_1203.7z"
|
||||
DL_SOURCE[17]="http://driverpacks.net/driverpacks/windows/7/x86/touchpad_mouse/12.03/download/torrent"
|
||||
DL_ARCH[17]="X86"
|
||||
DL_DOWNLOADER[17]="aria2c"
|
||||
DL_EXTRACT_FORMAT[17]="7zip"
|
||||
DL_EXTRACT_TO[17]="drivers/Vista"
|
||||
|
||||
DL_FILE[18]="DP_TVcard_wnt6-x86_1001.7z"
|
||||
DL_SOURCE[18]="http://driverpacks.net/driverpacks/windows/7/x86/tvcard/10.01/download/torrent"
|
||||
DL_ARCH[18]="X86"
|
||||
DL_DOWNLOADER[18]="aria2c"
|
||||
DL_EXTRACT_FORMAT[18]="7zip"
|
||||
DL_EXTRACT_TO[18]="drivers/Vista"
|
||||
|
||||
DL_FILE[19]="DP_Webcam_wnt6-x86_1103.7z"
|
||||
DL_SOURCE[19]="http://driverpacks.net/driverpacks/windows/7/x86/webcam/11.03/download/torrent"
|
||||
DL_ARCH[19]="X86"
|
||||
DL_DOWNLOADER[19]="aria2c"
|
||||
DL_EXTRACT_FORMAT[19]="7zip"
|
||||
DL_EXTRACT_TO[19]="drivers/Vista"
|
||||
|
||||
DL_FILE[20]="DP_WLAN_wnt6-x86_1203.7z"
|
||||
DL_SOURCE[20]="http://driverpacks.net/driverpacks/windows/7/x86/wlan/12.03/download/torrent"
|
||||
DL_ARCH[20]="X86"
|
||||
DL_DOWNLOADER[20]="aria2c"
|
||||
DL_EXTRACT_FORMAT[20]="7zip"
|
||||
DL_EXTRACT_TO[20]="drivers/Vista"
|
||||
|
||||
########################## Vista 64bit ####################################
|
||||
|
||||
DL_FILE[21]="DP_AMDfilter_wnt6-x64_1110.7z"
|
||||
DL_SOURCE[21]="http://driverpacks.net/driverpacks/windows/7/x64/amdfilter/11.10/download/torrent"
|
||||
DL_ARCH[21]="X86_64"
|
||||
DL_DOWNLOADER[21]="aria2c"
|
||||
DL_EXTRACT_FORMAT[21]="7zip"
|
||||
DL_EXTRACT_TO[21]="drivers/Vista64"
|
||||
|
||||
DL_FILE[22]="DP_Audio_wnt6-x64_1111.7z"
|
||||
DL_SOURCE[22]="http://driverpacks.net/driverpacks/windows/7/x64/audio/11.11/download/torrent"
|
||||
DL_ARCH[22]="X86_64"
|
||||
DL_DOWNLOADER[22]="aria2c"
|
||||
DL_EXTRACT_FORMAT[22]="7zip"
|
||||
DL_EXTRACT_TO[22]="drivers/Vista64"
|
||||
|
||||
DL_FILE[23]="DP_CardReaders_wnt6-x64_11041.7z"
|
||||
DL_SOURCE[23]="http://driverpacks.net/driverpacks/windows/7/x64/cardreaders/11.04.1/download/torrent"
|
||||
DL_ARCH[23]="X86_64"
|
||||
DL_DOWNLOADER[23]="aria2c"
|
||||
DL_EXTRACT_FORMAT[23]="7zip"
|
||||
DL_EXTRACT_TO[23]="drivers/Vista64"
|
||||
|
||||
DL_FILE[24]="DP_Chipset_wnt6-x64_1212.7z"
|
||||
DL_SOURCE[24]="http://driverpacks.net/driverpacks/windows/7/x64/chipset/12.12/download/torrent"
|
||||
DL_ARCH[24]="X86_64"
|
||||
DL_DOWNLOADER[24]="aria2c"
|
||||
DL_EXTRACT_FORMAT[24]="7zip"
|
||||
DL_EXTRACT_TO[24]="drivers/Vista64"
|
||||
|
||||
DL_FILE[25]="DP_Gaming_wnt6-x64_812.7z"
|
||||
DL_SOURCE[25]="http://driverpacks.net/driverpacks/windows/7/x64/gaming/8.12/download/torrent"
|
||||
DL_ARCH[25]="X86_64"
|
||||
DL_DOWNLOADER[25]="aria2c"
|
||||
DL_EXTRACT_FORMAT[25]="7zip"
|
||||
DL_EXTRACT_TO[25]="drivers/Vista64"
|
||||
|
||||
DL_FILE[26]="DP_Graphics_A_wnt6-x64_1203.7z"
|
||||
DL_SOURCE[26]="http://driverpacks.net/driverpacks/windows/7/x64/graphics-a/12.03/download/torrent"
|
||||
DL_ARCH[26]="X86_64"
|
||||
DL_DOWNLOADER[26]="aria2c"
|
||||
DL_EXTRACT_FORMAT[26]="7zip"
|
||||
DL_EXTRACT_TO[26]="drivers/Vista64"
|
||||
|
||||
DL_FILE[27]="DP_Graphics_B_wnt6-x64_1203.7z"
|
||||
DL_SOURCE[27]="http://driverpacks.net/driverpacks/windows/7/x64/graphics-b/12.03/download/torrent"
|
||||
DL_ARCH[27]="X86_64"
|
||||
DL_DOWNLOADER[27]="aria2c"
|
||||
DL_EXTRACT_FORMAT[27]="7zip"
|
||||
DL_EXTRACT_TO[27]="drivers/Vista64"
|
||||
|
||||
DL_FILE[28]="DP_Graphics_Mobile_wnt6-x64_1203.7z"
|
||||
DL_SOURCE[28]="http://driverpacks.net/driverpacks/windows/7/x64/graphics-mobile/12.03/download/torrent"
|
||||
DL_ARCH[28]="X86_64"
|
||||
DL_DOWNLOADER[28]="aria2c"
|
||||
DL_EXTRACT_FORMAT[28]="7zip"
|
||||
DL_EXTRACT_TO[28]="drivers/Vista64"
|
||||
|
||||
DL_FILE[29]="DP_LAN_wnt6-x64_1208.7z"
|
||||
DL_SOURCE[29]="http://driverpacks.net/driverpacks/windows/7/x64/lan/12.08/download/torrent"
|
||||
DL_ARCH[29]="X86_64"
|
||||
DL_DOWNLOADER[29]="aria2c"
|
||||
DL_EXTRACT_FORMAT[29]="7zip"
|
||||
DL_EXTRACT_TO[29]="drivers/Vista64"
|
||||
|
||||
DL_FILE[30]="DP_MassStorage_wnt6-x64_12121.7z"
|
||||
DL_SOURCE[30]="http://driverpacks.net/driverpacks/windows/7/x64/mass-storage/12.12.1/download/torrent"
|
||||
DL_ARCH[30]="X86_64"
|
||||
DL_DOWNLOADER[30]="aria2c"
|
||||
DL_EXTRACT_FORMAT[30]="7zip"
|
||||
DL_EXTRACT_TO[30]="drivers/Vista64"
|
||||
|
||||
DL_FILE[31]="DP_Misc_wnt6-x64_1202.7z"
|
||||
DL_SOURCE[31]="http://driverpacks.net/driverpacks/windows/7/x64/miscellaneous/12.02/download/torrent"
|
||||
DL_ARCH[31]="X86_64"
|
||||
DL_DOWNLOADER[31]="aria2c"
|
||||
DL_EXTRACT_FORMAT[31]="7zip"
|
||||
DL_EXTRACT_TO[31]="drivers/Vista64"
|
||||
|
||||
DL_FILE[32]="DP_Monitors_wnt6-x64_911.7z"
|
||||
DL_SOURCE[32]="http://driverpacks.net/driverpacks/windows/7/x64/monitors/9.11/download/torrent"
|
||||
DL_ARCH[32]="X86_64"
|
||||
DL_DOWNLOADER[32]="aria2c"
|
||||
DL_EXTRACT_FORMAT[32]="7zip"
|
||||
DL_EXTRACT_TO[32]="drivers/Vista64"
|
||||
|
||||
DL_FILE[33]="DP_Touchpad_Mouse_wnt6-x64_1203.7z"
|
||||
DL_SOURCE[33]="http://driverpacks.net/driverpacks/windows/7/x64/touchpad_mouse/12.03/download/torrent"
|
||||
DL_ARCH[33]="X86_64"
|
||||
DL_DOWNLOADER[33]="aria2c"
|
||||
DL_EXTRACT_FORMAT[33]="7zip"
|
||||
DL_EXTRACT_TO[33]="drivers/Vista64"
|
||||
|
||||
DL_FILE[34]="DP_Webcam_wnt6-x64_1103.7z"
|
||||
DL_SOURCE[34]="http://driverpacks.net/driverpacks/windows/7/x64/webcam/11.03/download/torrent"
|
||||
DL_ARCH[34]="X86_64"
|
||||
DL_DOWNLOADER[34]="aria2c"
|
||||
DL_EXTRACT_FORMAT[34]="7zip"
|
||||
DL_EXTRACT_TO[34]="drivers/Vista64"
|
||||
|
||||
DL_FILE[35]="DP_WLAN_wnt6-x64_1203.7z"
|
||||
DL_SOURCE[35]="http://driverpacks.net/driverpacks/windows/7/x64/wlan/12.03/download/torrent"
|
||||
DL_ARCH[35]="X86_64"
|
||||
DL_DOWNLOADER[35]="aria2c"
|
||||
DL_EXTRACT_FORMAT[35]="7zip"
|
||||
DL_EXTRACT_TO[35]="drivers/Vista64"
|
||||
|
||||
# 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[<index>]@ : contains the WINST location of the directory, the files from DL_FILE[<index>] was extracted to.
|
||||
# Sample:
|
||||
# WINST_VALUE[1]="@DL_EXTRACT_WINST_PATH[<index>]@\\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]="Install64Exe"
|
||||
WINST_VALUE[3]="@DL_EXTRACT_WINST_PATH[2]@\\DriversInstaller.exe"
|
||||
|
||||
|
35
builder-targets-cb.sh
Normal file
35
builder-targets-cb.sh
Normal file
@ -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_<targetname> is possible.
|
||||
#
|
||||
# Abstract:
|
||||
# target order: config, prepare, retrieve, create, package, publish, commit, cleanup
|
||||
# callbacks: <none>
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
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/
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user