Checking for Snapshot viewer on app setup

  • Thread starter Thread starter Silvester
  • Start date Start date
S

Silvester

Hi,

Some user machines may not have loaded the snapshot viewer option while
loading MS-Office, with the result that users cannot view reports generated
by the app in snp format.

How can I test for existence of snapshot viewer on a user's machine when my
app is first setup.

If the viewer does not exist then myapp should install it from the snpvw.exe
that will be included with the distributed app.

What filename do I test for and how would I code this ?

Thanks
 
Hi Silvester

I don't know what installer you are using, but most of them have a means of
checking or creating registry keys.

You could check for the existence of HKEY_CLASSES_ROOT\.snp
 
Back
Top