如何检查计算机上是否安装了Addin(SaveAsPDFandXPS.exe)? [英] How to check whether Addin (SaveAsPDFandXPS.exe) is installed on a machine?

查看:138
本文介绍了如何检查计算机上是否安装了Addin(SaveAsPDFandXPS.exe)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在检查是否安装了Microsoft加载项SaveAsPDFandXPS.exe时遇到问题?

我正在安装程序中添加此文件.我的安装程序会检查此外接程序是否已安装.如果没有,它将通过安装程序进行安装.

谁能告诉我如何检查它是否已经安装? (注册表项或安装过程中创建的任何其他项).

在此先感谢,
Kishor Reddy

Hi All,

i am facing a problem while checking the availability of the Microsoft Add-in SaveAsPDFandXPS.exe is installed?

I am adding this file in Installer. My installer checks whether this Add-in is already installed. If not, it installs from the installer.

Can anyone tell me how can i check whether it is already installed? (registry entry or any other entry which was made during the installation).

Thanks in Advance,
Kishor Reddy

推荐答案



我放了一个问题并立即自己解决了这个问题,以便其他面对相同问题的人都能找到它.

我做了很多研究,终于找到了我要与您分享的解决方案.顺其自然,

在计算机上安装"SaveasPdfandXPS.exe"加载项时,它仅将两个文件"EXP_PDF.dll"和"EXP_XPS.dll"复制到目标计算机.

将这些文件复制到的文件夹是:
对于64位计算机-C:\ Program Files(x86)\ Common Files \ Microsoft Shared \ OFFICE12
对于32位计算机-C:\ Program Files \ Common Files \ microsoft共享\ OFFICE12

因此,首先在安装程序中(通过自定义安装脚本),我们可以检查上述位置是否存在上述文件(EXP_PDF.dll和EXP_XPS.dll).
如果不存在,只需将这些文件复制到各自的位置.导出为PDF和导出为XPS功能有效.

检查注册表项(在先决条件"部分中)非常令人困惑,因为它对于安装Office 2010的系统失败.

谢谢和问候,
YKK Reddy
Hi,

I placed the question and solved it myself immediately so that if any other person who is facing the same problem can find it.

i have done lot of research and finally found the solution which iam going to share with you. Here it goes,

When "SaveasPdfandXPS.exe" addin is installed on the machine, it just copies two files "EXP_PDF.dll" and "EXP_XPS.dll" to the target machine.

The folder to which these files are copied are:
For 64-Bit machines - C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12
For 32-bit machines - C:\Program Files\Common Files\microsoft shared\OFFICE12

So, in installer (through a custom Install Script) first we can check whether the above mentioned files (EXP_PDF.dll and EXP_XPS.dll) are present in the locations mentioned above.
If not present just copy these files to the respective locations. The Export to PDF and Export to XPS functionality works.

Checking registry entries (in Pre-requisite section) is pretty confusing as it fails for the systems where Office 2010 is installed.

Thanks and Regards,
YKK Reddy


这篇关于如何检查计算机上是否安装了Addin(SaveAsPDFandXPS.exe)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆