correct xml patching and required space

This commit is contained in:
Mario Fetka 2012-04-26 03:43:25 +02:00
parent e19a7ff74e
commit fbe017f1fe

View File

@ -35,7 +35,7 @@ Set $LogDir$ = "%SystemDrive%\tmp"
; therefore please: only lower letters, no umlauts,
; no white space use '-' as a seperator
Set $ProductId$ = "msoffice2007"
Set $MinimumSpace$ = "1 MB"
Set $MinimumSpace$ = "1500 MB"
; the path were we find the product after the installation
Set $InstallDir$ = "%ProgramFiles32Dir%\Microsoft Office"
Set $LicenseRequired$ = "true"
@ -105,7 +105,7 @@ $InstallExe$ /quiet /extract:$LogDir$\msoffice2007
$InstallSp3Exe$ /quiet /extract:$LogDir$\msoffice2007\Updates
[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]
"$LogDir$\msoffice2007\SETUP.EXE" /config "$LogDir$\msoffice2007.xml"