use setup.exe with patching Abcpy.ini for silent install
This commit is contained in:
parent
0b3d339ce5
commit
b4c64f120c
@ -1,22 +0,0 @@
|
|||||||
;***************************************************************
|
|
||||||
;Adobe Installer External Configuration File: Abcpy.ini
|
|
||||||
;***************************************************************
|
|
||||||
|
|
||||||
;***************************************************************
|
|
||||||
;Main Section
|
|
||||||
;The (Product) key is a required key
|
|
||||||
;***************************************************************
|
|
||||||
[MAIN]
|
|
||||||
Product=Adobe(R) Photoshop CS2
|
|
||||||
AbcpyVersion=2.0
|
|
||||||
|
|
||||||
|
|
||||||
;***************************************************************
|
|
||||||
;OEM Installation Options
|
|
||||||
;***************************************************************
|
|
||||||
[OEM Install]
|
|
||||||
SERIALNUMBER=
|
|
||||||
SERIALNUMBERTRYOUT=
|
|
||||||
USERNAME=
|
|
||||||
COMPANYNAME=
|
|
||||||
INSTALLDIR=
|
|
@ -27,7 +27,7 @@ DefVar $LanguageId$
|
|||||||
set $LanguageId$ = getValue("default_language_id_decimal", $languageInfo$)
|
set $LanguageId$ = getValue("default_language_id_decimal", $languageInfo$)
|
||||||
|
|
||||||
DefStringList $ShortProgramFiles32List$
|
DefStringList $ShortProgramFiles32List$
|
||||||
$ShortProgramFiles32List$ = getOutStreamFromSection ('DosInAnIcon_path')
|
set $ShortProgramFiles32List$ = getOutStreamFromSection ('DosInAnIcon_path')
|
||||||
DefVar $ShortProgramFiles32Dir$
|
DefVar $ShortProgramFiles32Dir$
|
||||||
set $ShortProgramFiles32Dir$ = takeString (-1, $ShortProgramFiles32List$)
|
set $ShortProgramFiles32Dir$ = takeString (-1, $ShortProgramFiles32List$)
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ Set $LogDir$ = "%SystemDrive%\tmp"
|
|||||||
; no white space use '-' as a seperator
|
; no white space use '-' as a seperator
|
||||||
Set $MinimumSpace$ = "600 MB"
|
Set $MinimumSpace$ = "600 MB"
|
||||||
; the path were we find the product after the installation
|
; the path were we find the product after the installation
|
||||||
Set $InstallDir$ = "%ShortProgramFiles32Dir%\Adobe\Adobe Photoshop CS2"
|
Set $InstallDir$ = $ShortProgramFiles32Dir$ + "\Adobe\Adobe Photoshop CS2"
|
||||||
Set $LicenseRequired$ = "true"
|
Set $LicenseRequired$ = "true"
|
||||||
Set $LicensePool$ = "p_" + $ProductId$
|
Set $LicensePool$ = "p_" + $ProductId$
|
||||||
; ----------------------------------------------------------------
|
; ----------------------------------------------------------------
|
||||||
@ -80,12 +80,22 @@ else
|
|||||||
|
|
||||||
comment "Start setup program"
|
comment "Start setup program"
|
||||||
ChangeDirectory "%SCRIPTPATH%"
|
ChangeDirectory "%SCRIPTPATH%"
|
||||||
|
Files_delete
|
||||||
|
|
||||||
|
Files_copy
|
||||||
|
Sub_check_exitcode
|
||||||
|
|
||||||
|
DosInAnIcon_license
|
||||||
|
Sub_check_exitcode
|
||||||
|
|
||||||
Winbatch_install
|
Winbatch_install
|
||||||
Sub_check_exitcode
|
Sub_check_exitcode
|
||||||
|
|
||||||
Winbatch_update
|
Winbatch_update
|
||||||
Sub_check_exitcode
|
Sub_check_exitcode
|
||||||
|
|
||||||
|
Files_delete
|
||||||
|
|
||||||
comment "Copy files"
|
comment "Copy files"
|
||||||
Files_install /32Bit
|
Files_install /32Bit
|
||||||
|
|
||||||
@ -98,22 +108,33 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
[DosInAnIcon_path]
|
[DosInAnIcon_path]
|
||||||
"%ScriptPath%\short.bat $ProgramFiles32Dir$
|
"%ScriptPath%\short.bat %ProgramFiles32Dir%
|
||||||
|
|
||||||
|
[DosInAnIcon_license]
|
||||||
|
inifile $LogDir$\$ProductId$\Abcpy.ini [OEM Install] SERIALNUMBER="$Licensekey$"
|
||||||
|
inifile $LogDir$\$ProductId$\Abcpy.ini [OEM Install] USERNAME="%PCName%"
|
||||||
|
inifile $LogDir$\$ProductId$\Abcpy.ini [OEM Install] COMPANYNAME="%IPName%"
|
||||||
|
inifile $LogDir$\$ProductId$\Abcpy.ini [OEM Install] INSTALLDIR="$InstallDir$"
|
||||||
|
|
||||||
[Winbatch_install]
|
[Winbatch_install]
|
||||||
msiexec /i "$Install90Msi$"" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! EULA_ACCEPT=YES SERIALNUMBER="$Licensekey$" USERNAME="%PCName%" COMPANYNAME="%IPName%" INSTALLDIR="$InstallDir$" ALLUSERS=1 REBOOT=ReallySuppress
|
"$LogDir$\$ProductId$\setup.exe" /S /v /qn
|
||||||
; "$Install90Msi$" /rs /sPB /l /sl "1031" /msi EULA_ACCEPT=YES SERIALNUMBER="$Licensekey$" USERNAME="%PCName%" COMPANYNAME="%IPName%" INSTALLDIR="$InstallDir$" ALLUSERS=1
|
|
||||||
|
|
||||||
[Winbatch_update]
|
[Winbatch_update]
|
||||||
"$Install902Exe$" /s
|
"$Install902Exe$" /s
|
||||||
|
|
||||||
|
[Files_delete]
|
||||||
|
del -sf "$LogDir$\$ProductId$\"
|
||||||
|
|
||||||
|
[Files_copy]
|
||||||
|
copy -s "%ScriptPath%\Core\*.*" "$LogDir$\$ProductId$\"
|
||||||
|
|
||||||
[Files_install]
|
[Files_install]
|
||||||
; copy the ini file to the InstallDir
|
; copy the ini file to the InstallDir
|
||||||
copy "$IniCfgFile$" "$InstallDir$"
|
copy "$IniCfgFile$" "$InstallDir$"
|
||||||
|
|
||||||
; Example of recursively copying some files into the installation directory:
|
; Example of recursively copying some files into the installation directory:
|
||||||
;
|
;
|
||||||
; copy -s "%ScriptPath%\files\*.*" "$InstallDir$"
|
; copy -s "%ScriptPath%\files\*.*" "$InstallDir$\"
|
||||||
|
|
||||||
[Registry_install]
|
[Registry_install]
|
||||||
; Example of setting some values of an registry key:
|
; Example of setting some values of an registry key:
|
||||||
|
@ -27,4 +27,10 @@ requiredProduct: sereby.aio
|
|||||||
requiredStatus: installed
|
requiredStatus: installed
|
||||||
requirementType: before
|
requirementType: before
|
||||||
|
|
||||||
|
[ProductDependency]
|
||||||
|
action: setup
|
||||||
|
requiredProduct: horstmuc.inifile
|
||||||
|
requiredStatus: installed
|
||||||
|
requirementType: before
|
||||||
|
|
||||||
|
|
||||||
|
@ -31,11 +31,8 @@ DL_EXTRACT_FORMAT[2]="7zip"
|
|||||||
# File array index for the image showing while installing the program
|
# File array index for the image showing while installing the program
|
||||||
ICON_DL_INDEX=0
|
ICON_DL_INDEX=0
|
||||||
|
|
||||||
WINST_NAME[0]="Install90Msi"
|
WINST_NAME[0]="Install902Exe"
|
||||||
WINST_VALUE[0]="@DL_EXTRACT_WINST_PATH[2]@\\Core\\Adobe Photoshop CS2.msi"
|
WINST_VALUE[0]="@DL_EXTRACT_WINST_PATH[2]@\\Updater\\setup.exe"
|
||||||
|
|
||||||
WINST_NAME[1]="Install902Exe"
|
|
||||||
WINST_VALUE[1]="@DL_EXTRACT_WINST_PATH[2]@\\Updater\\setup.exe"
|
|
||||||
|
|
||||||
OPSI_INI_SECTION[0]="X86"
|
OPSI_INI_SECTION[0]="X86"
|
||||||
OPSI_INI_OPTION[0]="MsiId"
|
OPSI_INI_OPTION[0]="MsiId"
|
||||||
|
Loading…
Reference in New Issue
Block a user