correct xml patching and required space
This commit is contained in:
parent
e19a7ff74e
commit
fbe017f1fe
@ -35,7 +35,7 @@ Set $LogDir$ = "%SystemDrive%\tmp"
|
|||||||
; therefore please: only lower letters, no umlauts,
|
; therefore please: only lower letters, no umlauts,
|
||||||
; no white space use '-' as a seperator
|
; no white space use '-' as a seperator
|
||||||
Set $ProductId$ = "msoffice2007"
|
Set $ProductId$ = "msoffice2007"
|
||||||
Set $MinimumSpace$ = "1 MB"
|
Set $MinimumSpace$ = "1500 MB"
|
||||||
; the path were we find the product after the installation
|
; the path were we find the product after the installation
|
||||||
Set $InstallDir$ = "%ProgramFiles32Dir%\Microsoft Office"
|
Set $InstallDir$ = "%ProgramFiles32Dir%\Microsoft Office"
|
||||||
Set $LicenseRequired$ = "true"
|
Set $LicenseRequired$ = "true"
|
||||||
@ -105,7 +105,7 @@ $InstallExe$ /quiet /extract:$LogDir$\msoffice2007
|
|||||||
$InstallSp3Exe$ /quiet /extract:$LogDir$\msoffice2007\Updates
|
$InstallSp3Exe$ /quiet /extract:$LogDir$\msoffice2007\Updates
|
||||||
|
|
||||||
[Dosbatch_license]
|
[Dosbatch_license]
|
||||||
xml ed -O -u "/Configuration/PIDKEY/@Value" -v $LicenseKey$ -u "/Configuration/USERNAME/@Value" -v %HostID% -u "/Configuration/COMPANYNAME/@Value" -v %HostID% -u "/Configuration/INSTALLLOCATION/@Value" -v $InstallDir$ %ScriptPath%\config.xml > $LogDir$\msoffice2007.xml
|
xml ed -O -u "/Configuration/PIDKEY/@Value" -v $LicenseKey$ -u "/Configuration/USERNAME/@Value" -v %HostID% -u "/Configuration/COMPANYNAME/@Value" -v %HostID% -u "/Configuration/INSTALLLOCATION/@Value" -v "$InstallDir$" %ScriptPath%\config.xml > $LogDir$\msoffice2007.xml
|
||||||
|
|
||||||
[Winbatch_install]
|
[Winbatch_install]
|
||||||
"$LogDir$\msoffice2007\SETUP.EXE" /config "$LogDir$\msoffice2007.xml"
|
"$LogDir$\msoffice2007\SETUP.EXE" /config "$LogDir$\msoffice2007.xml"
|
||||||
|
Loading…
Reference in New Issue
Block a user