J Jak Sparrow Jul 7, 2004 #1 What code can I use to test if Microsoft Office is already installed on a machine? Jak S.
J Jak Sparrow Jul 7, 2004 #2 I found a solution: Test for the existence of the registry path SOFTWARE\Microsoft\Office\10.0\Common\InstallRoot Try: string OFFICE = @"SOFTWARE\Microsoft\Office\10.0\Common\InstallRoot"; Registry.LocalMachine.OpenSubKey(OFFICE); You can change the 10.0 to 9.0 or 8.0.
I found a solution: Test for the existence of the registry path SOFTWARE\Microsoft\Office\10.0\Common\InstallRoot Try: string OFFICE = @"SOFTWARE\Microsoft\Office\10.0\Common\InstallRoot"; Registry.LocalMachine.OpenSubKey(OFFICE); You can change the 10.0 to 9.0 or 8.0.