Re: detecting installed application
"Jurjen Katsman" <[email protected]> Tue, 25 Jul 2006 10:40:03 +0200
| Newsgroups | gmane.games.devel.windows |
|---|---|
| Message-ID | <[email protected]> |
I'm pretty sure it does. There is a specific return code to indicate that there is no known binding for a specific type of file. (E_NOASSOC or something?) -----Oorspronkelijk bericht----- Van: [email protected] [mailto:[email protected]] Namens Research Verzonden: dinsdag 25 juli 2006 10:36 Aan: Game Development for MS Windows Onderwerp: Re: [GD-Windows] detecting installed application I thought it would pop up that dialog that asks how to choose which application to open the file. I didn't think it would fail and return control to me. I'll check on this though... ----- Original Message ----- From: "Dirk Ringe" <[email protected]> To: "Game Development for MS Windows" <[email protected]> Sent: Tuesday, July 25, 2006 4:32 PM Subject: Re: [GD-Windows] detecting installed application > What happens if you run the PDF document via the ShellExecute command when > no PDF reader is installed? Does the command fail or is the user annoyed > with the choose your application dialog? If you can make the command fail > then that would be the most secure check whether acrobat is installed... > > Dirk > > -----Ursprüngliche Nachricht----- > Von: [email protected] > [mailto:[email protected]] Im Auftrag von > Research > Gesendet: Dienstag, 25. Juli 2006 10:13 > An: [email protected] > Betreff: [GD-Windows] detecting installed application > > Hi, > Is there an easy way to detect whether a specific application is installed > in Windows? > > Our game runs from the CD tray (no install) and I want to provide a link > to > our PDF manual. If the player has Acrobat installed, I want to open the > file, it they don't have acrobat installed, I want to ask the player if > they > want it installed or not. So I need some way to detect whether Acrobat is > already installed. > > Cheers, > Brett > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gamedevlists-windows mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=555 > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gamedevlists-windows mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=555 > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Gamedevlists-windows mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=555 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Gamedevlists-windows mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=555