diff --git a/CLIENT_DATA/setup3264.ins b/CLIENT_DATA/setup3264.ins index a8ab418..ca64ac2 100644 --- a/CLIENT_DATA/setup3264.ins +++ b/CLIENT_DATA/setup3264.ins @@ -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$"