[Project_owners] Testing whether XPI install script is runningonMozilla or Firebird...

Karsten Düsterloh mnenhy at tprac.de
Sun Feb 8 19:53:12 EST 2004


Roland Mainz aber hob zu reden an und schrieb:
> Nice... but I need to do the reverse - check whether the Mozilla Suite
> is running or not. Just testing for FireBird won't work for
> SunBird/Thunderbird/AnyOtherGREBasedBird ... ;-(

How about using Install.getFolder("program") to get the program dir and
then checking for the existence of the various executables upon the
various platforms?
Yeah, I know, that'd be an awful lot of checks... :(


Karsten


More information about the Project_owners mailing list