Launch Status for Office 2010 Application Discovery

I tried to create an installation project using VS2008.

In any case, to determine if a particular Office 2010 application is installed or not?
(as a prerequisite) .eg: I want to determine if Powerpoint 2010 is installed on the client machine.

I tried to use the Windows installer search option in lauch state but could not find what the identifier of the powerpoint 2010 component is?

Are there any other ways to detect the same? (may be software)

+4
source share
2 answers

The component ID for PowerPoint 2010 is shown below. You should be able to search for an installer using one of these to determine if PowerPoint is installed.

{EE8D8E0A-D905-401D-9BC3-0D20156D5E30} - 64-bit PowerPoint {E72E0D20-0D63-438B-BC71-92AB9F9E8B54} - 32-bit PowerPoint 

Ed

+5
source

Here is the appropriate code for checking Office 2010 (specifically Word) using WiX. First, we check the Application Path key, and then on the file version of the referenced EXE file. You should be able to do something similar in VS2008

  <Property Id="WORDEXE" Secure="yes"> <RegistrySearch Id="RegSearch_WORDEXE" Root="HKLM" Key="SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Winword.exe" Type="file"> <FileSearch Name="WINWORD.EXE" MinVersion="14.0.0.0" /> </RegistrySearch> </Property> 
+3
source

Source: https://habr.com/ru/post/1304559/


All Articles