安装Microsoft Visio 2016,激活的报错

Posted panxk

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了安装Microsoft Visio 2016,激活的报错相关的知识,希望对你有一定的参考价值。

Microsoft Visio 2016安装激活教程

我在安装序列号的时候出现了报错。

The Software Licensing Service reported that the product SKU is not found.

借鉴了网上大神的批处理文件。将下面的文字放入到一个记事本文件里,然后改名成 .bat文件。像这样。

技术图片

 代码如下:

@echo off
:ADMIN
openfiles >nul 2>nul ||(
echo CreateObject^("Shell.Application"^).ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%getadmin.vbs"
"%temp%getadmin.vbs" >nul 2>&1
goto:eof
)
del /f /q "%temp%getadmin.vbs" >nul 2>nul

for /f "tokens=6 delims=[]. " %%G in (‘ver‘) do set win=%%G

setlocal

set OPPKEY=XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99
set PPKEY=YG9NW-3K39V-2T3HJ-93F3Q-G83KT
set VPKEY=PD3PC-RHNGV-FXJ29-8JK7D-RJRJK
set S4BKEY=869NQ-FJ69K-466HW-QYCP2-DDBV6

pushd "%~dp0"
Title Office 2016 Retail to Volume License Converter

SET OfficePath=%ProgramFiles%Microsoft Office
if not exist "%OfficePath%
ootLicenses16" SET OfficePath=%ProgramFiles(x86)%Microsoft Office
if not exist "%OfficePath%
ootLicenses16" (
    echo Could not find the license files for Office 2016!
    pause
    goto :eof
)

echo Press Enter to start VL-Conversion...
echo.
pause
echo.
cd /D "%SystemRoot%System32"

if %win% GEQ 9200 (
    cscript slmgr.vbs /ilc "%OfficePath%
ootLicenses16ProPlusVL_KMS_Client-ppd.xrm-ms"
    cscript slmgr.vbs /ilc "%OfficePath%
ootLicenses16ProPlusVL_KMS_Client-ul.xrm-ms"
    cscript slmgr.vbs /ilc "%OfficePath%
ootLicenses16ProPlusVL_KMS_Client-ul-oob.xrm-ms"

    cscript slmgr.vbs /ilc "%OfficePath%
ootLicenses16ProjectProVL_KMS_Client-ppd.xrm-ms"
    cscript slmgr.vbs /ilc "%OfficePath%
ootLicenses16ProjectProVL_KMS_Client-ul-oob.xrm-ms"
    cscript slmgr.vbs /ilc "%OfficePath%
ootLicenses16ProjectProVL_KMS_Client-ul.xrm-ms"

    cscript slmgr.vbs /ilc "%OfficePath%
ootLicenses16VisioProVL_KMS_Client-ppd.xrm-ms"
    cscript slmgr.vbs /ilc "%OfficePath%
ootLicenses16VisioProVL_KMS_Client-ul-oob.xrm-ms"
    cscript slmgr.vbs /ilc "%OfficePath%
ootLicenses16VisioProVL_KMS_Client-ul.xrm-ms"

    cscript slmgr.vbs /ilc "%OfficePath%
ootLicenses16SkypeforBusinessVL_KMS_Client-ppd.xrm-ms"
    cscript slmgr.vbs /ilc "%OfficePath%
ootLicenses16SkypeforBusinessVL_KMS_Client-ul.xrm-ms"
    cscript slmgr.vbs /ilc "%OfficePath%
ootLicenses16SkypeforBusinessVL_KMS_Client-ul-oob.xrm-ms"

    cscript slmgr.vbs /ilc "%OfficePath%
ootLicenses16client-issuance-bridge-office.xrm-ms
    cscript slmgr.vbs /ilc "%OfficePath%
ootLicenses16client-issuance-root.xrm-ms
    cscript slmgr.vbs /ilc "%OfficePath%
ootLicenses16client-issuance-root-bridge-test.xrm-ms
    cscript slmgr.vbs /ilc "%OfficePath%
ootLicenses16client-issuance-stil.xrm-ms
    cscript slmgr.vbs /ilc "%OfficePath%
ootLicenses16client-issuance-ul.xrm-ms
    cscript slmgr.vbs /ilc "%OfficePath%
ootLicenses16client-issuance-ul-oob.xrm-ms
    cscript slmgr.vbs /ilc "%OfficePath%
ootLicenses16pkeyconfig-office.xrm-ms
)
 if %win% LSS 9200 (
    cscript "%OfficePath%Office16ospp.vbs" /inslic:"%OfficePath%
ootLicenses16ProPlusVL_KMS_Client-ppd.xrm-ms"
    cscript "%OfficePath%Office16ospp.vbs" /inslic:"%OfficePath%
ootLicenses16ProPlusVL_KMS_Client-ul.xrm-ms"
    cscript "%OfficePath%Office16ospp.vbs" /inslic:"%OfficePath%
ootLicenses16ProPlusVL_KMS_Client-ul-oob.xrm-ms"

    cscript "%OfficePath%Office16ospp.vbs" /inslic:"%OfficePath%
ootLicenses16ProjectProVL_KMS_Client-ppd.xrm-ms"
    cscript "%OfficePath%Office16ospp.vbs" /inslic:"%OfficePath%
ootLicenses16ProjectProVL_KMS_Client-ul-oob.xrm-ms"
    cscript "%OfficePath%Office16ospp.vbs" /inslic:"%OfficePath%
ootLicenses16ProjectProVL_KMS_Client-ul.xrm-ms"

    cscript "%OfficePath%Office16ospp.vbs" /inslic:"%OfficePath%
ootLicenses16VisioProVL_KMS_Client-ppd.xrm-ms"
    cscript "%OfficePath%Office16ospp.vbs" /inslic:"%OfficePath%
ootLicenses16VisioProVL_KMS_Client-ul-oob.xrm-ms"
    cscript "%OfficePath%Office16ospp.vbs" /inslic:"%OfficePath%
ootLicenses16VisioProVL_KMS_Client-ul.xrm-ms"0

    cscript "%OfficePath%Office16ospp.vbs" /inslic:"%OfficePath%
ootLicenses16SkypeforBusinessVL_KMS_Client-ppd.xrm-ms"
    cscript "%OfficePath%Office16ospp.vbs" /inslic:"%OfficePath%
ootLicenses16SkypeforBusinessVL_KMS_Client-ul.xrm-ms"
    cscript "%OfficePath%Office16ospp.vbs" /inslic:"%OfficePath%
ootLicenses16SkypeforBusinessVL_KMS_Client-ul-oob.xrm-ms"

    cscript "%OfficePath%Office16ospp.vbs" /inslic:"%OfficePath%
ootLicenses16client-issuance-bridge-office.xrm-ms
    cscript "%OfficePath%Office16ospp.vbs" /inslic:"%OfficePath%
ootLicenses16client-issuance-root.xrm-ms
    cscript "%OfficePath%Office16ospp.vbs" /inslic:"%OfficePath%
ootLicenses16client-issuance-root-bridge-test.xrm-ms
    cscript "%OfficePath%Office16ospp.vbs" /inslic:"%OfficePath%
ootLicenses16client-issuance-stil.xrm-ms
    cscript "%OfficePath%Office16ospp.vbs" /inslic:"%OfficePath%
ootLicenses16client-issuance-ul.xrm-ms
    cscript "%OfficePath%Office16ospp.vbs" /inslic:"%OfficePath%
ootLicenses16client-issuance-ul-oob.xrm-ms
    cscript "%OfficePath%Office16ospp.vbs" /inslic:"%OfficePath%
ootLicenses16pkeyconfig-office.xrm-ms
)

for %%a in (%OPPKEY% %PPKEY% %VPKEY% %S4BKEY%) do cscript "%OfficePath%Office16ospp.vbs" /inpkey:%%a
cscript "%OfficePath%Office16ospp.vbs" /act

echo.
echo Retail to Volume License conversion finished.
echo.
pause

 

参考链接: https://blog.csdn.net/alinathz/article/details/92630091

 

以上是关于安装Microsoft Visio 2016,激活的报错的主要内容,如果未能解决你的问题,请参考以下文章

视频安装激活教程Microsoft Visio 2019安装激活教程

视频安装激活教程Microsoft Visio 2010安装激活教程

已激活office2016了还能安装visio2016吗?

史上最全 Microsoft Office/Visio软件分享及安装激活教程(请收藏)

如何安装Visio2016及激活码

Visio打不开,提示“Microsoft Visio 已停止工作”