add activation
This commit is contained in:
parent
db95c930f4
commit
2d8f77c4b0
@ -104,6 +104,10 @@ else
|
|||||||
comment "Remove Install Files"
|
comment "Remove Install Files"
|
||||||
Winbatch_remove_32
|
Winbatch_remove_32
|
||||||
|
|
||||||
|
comment "Activate Office"
|
||||||
|
Winbatch_activate_32
|
||||||
|
Sub_check_exitcode
|
||||||
|
|
||||||
comment "Copy files"
|
comment "Copy files"
|
||||||
Files_install_32 /32Bit
|
Files_install_32 /32Bit
|
||||||
comment "Patch Registry"
|
comment "Patch Registry"
|
||||||
@ -139,6 +143,10 @@ else
|
|||||||
comment "Remove Install Files"
|
comment "Remove Install Files"
|
||||||
Winbatch_remove_64
|
Winbatch_remove_64
|
||||||
|
|
||||||
|
comment "Activate Office"
|
||||||
|
Winbatch_activate_64
|
||||||
|
Sub_check_exitcode
|
||||||
|
|
||||||
comment "Copy files"
|
comment "Copy files"
|
||||||
Files_install_64 /64Bit
|
Files_install_64 /64Bit
|
||||||
comment "Patch Registry"
|
comment "Patch Registry"
|
||||||
@ -165,6 +173,9 @@ xml ed -O -u "/Configuration/PIDKEY/@Value" -v $LicenseKey$ -u "/Configuration/U
|
|||||||
[Winbatch_remove_32]
|
[Winbatch_remove_32]
|
||||||
delete -sf "$LogDir$\msoffice2013-32\"
|
delete -sf "$LogDir$\msoffice2013-32\"
|
||||||
|
|
||||||
|
[Winbatch_activate_32]
|
||||||
|
cscript "$InstallDir32$\OSPP.vbs" /act
|
||||||
|
|
||||||
[Files_install_32]
|
[Files_install_32]
|
||||||
; copy the ini file to the InstallDir
|
; copy the ini file to the InstallDir
|
||||||
copy "$IniCfgFile$" "$InstallDir32$"
|
copy "$IniCfgFile$" "$InstallDir32$"
|
||||||
@ -189,6 +200,9 @@ xml ed -O -u "/Configuration/PIDKEY/@Value" -v $LicenseKey$ -u "/Configuration/U
|
|||||||
[Winbatch_remove_64]
|
[Winbatch_remove_64]
|
||||||
delete -sf "$LogDir$\msoffice2013-64\"
|
delete -sf "$LogDir$\msoffice2013-64\"
|
||||||
|
|
||||||
|
[Winbatch_activate_64]
|
||||||
|
cscript "$InstallDir64$\OSPP.vbs" /act
|
||||||
|
|
||||||
[Files_install_64]
|
[Files_install_64]
|
||||||
; copy the ini file to the InstallDir
|
; copy the ini file to the InstallDir
|
||||||
copy "$IniCfgFile$" "$InstallDir64$"
|
copy "$IniCfgFile$" "$InstallDir64$"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user