add activation

This commit is contained in:
Mario Fetka 2013-09-19 12:12:39 +02:00
parent db95c930f4
commit 2d8f77c4b0
1 changed files with 14 additions and 0 deletions

View File

@ -104,6 +104,10 @@ else
comment "Remove Install Files"
Winbatch_remove_32
comment "Activate Office"
Winbatch_activate_32
Sub_check_exitcode
comment "Copy files"
Files_install_32 /32Bit
comment "Patch Registry"
@ -139,6 +143,10 @@ else
comment "Remove Install Files"
Winbatch_remove_64
comment "Activate Office"
Winbatch_activate_64
Sub_check_exitcode
comment "Copy files"
Files_install_64 /64Bit
comment "Patch Registry"
@ -165,6 +173,9 @@ xml ed -O -u "/Configuration/PIDKEY/@Value" -v $LicenseKey$ -u "/Configuration/U
[Winbatch_remove_32]
delete -sf "$LogDir$\msoffice2013-32\"
[Winbatch_activate_32]
cscript "$InstallDir32$\OSPP.vbs" /act
[Files_install_32]
; copy the ini file to the InstallDir
copy "$IniCfgFile$" "$InstallDir32$"
@ -189,6 +200,9 @@ xml ed -O -u "/Configuration/PIDKEY/@Value" -v $LicenseKey$ -u "/Configuration/U
[Winbatch_remove_64]
delete -sf "$LogDir$\msoffice2013-64\"
[Winbatch_activate_64]
cscript "$InstallDir64$\OSPP.vbs" /act
[Files_install_64]
; copy the ini file to the InstallDir
copy "$IniCfgFile$" "$InstallDir64$"