add activation
This commit is contained in:
parent
ca8e383ebe
commit
734f6b8caa
@ -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"
|
||||
@ -164,6 +172,10 @@ xml ed -O -u "/Configuration/PIDKEY/@Value" -v $LicenseKey$ -u "/Configuration/U
|
||||
[Winbatch_remove_32]
|
||||
delete -sf "$LogDir$\msoffice2010-32\"
|
||||
|
||||
[Winbatch_activate_32]
|
||||
cscript.exe "$InstallDir32$\OSPP.vbs" /act
|
||||
|
||||
|
||||
[Files_install_32]
|
||||
; copy the ini file to the InstallDir
|
||||
copy "$IniCfgFile$" "$InstallDir32$"
|
||||
@ -187,6 +199,9 @@ xml ed -O -u "/Configuration/PIDKEY/@Value" -v $LicenseKey$ -u "/Configuration/U
|
||||
[Winbatch_remove_64]
|
||||
delete -sf "$LogDir$\msoffice2010-64\"
|
||||
|
||||
[Winbatch_activate_64]
|
||||
cscript.exe "$InstallDir64$\OSPP.vbs" /act
|
||||
|
||||
[Files_install_64]
|
||||
; copy the ini file to the InstallDir
|
||||
copy "$IniCfgFile$" "$InstallDir64$"
|
||||
|
Loading…
Reference in New Issue
Block a user