Click here to Skip to main content
15,889,462 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
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
Posted
Comments
Yum_Cha_Solutions 7-Mar-13 16:19pm    
Didn't you need to register the dll's?

1 solution

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
 
Share this answer
 
Comments
fjdiewornncalwe 25-Jan-12 9:02am    
Thanks for providing your solution to the community. +5.
[no name] 26-Jan-12 10:59am    
Thanks Marcus....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900