Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 22nd September 2005, 21:41   #1
Cerf
Junior Member
 
Join Date: Jun 2001
Location: Venezuela
Posts: 22
Browser Detect

Hello there,
I need to detect is there any plugin based browser installed on a system, for example:
Mozilla Firefox
Netscape
Opera
any other...

So I can launch the macromedia plugin-based browser players setup (flash and shockwave).
I already know how to detect both shockwave and flash, but need to know about the browsers, any help on that please?

Thanks in advance,

Cërf.
Cerf is offline   Reply With Quote
Old 23rd September 2005, 01:11   #2
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,898
Got ape with system plugin, create a dummy html file, and use FindExecutable.


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux w/ xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Debian unstable w/ xfce4.
Joel is offline   Reply With Quote
Old 23rd September 2005, 15:09   #3
Cerf
Junior Member
 
Join Date: Jun 2001
Location: Venezuela
Posts: 22
But, if I am not wrong that will only detect the app to open the file with only... So if the user uses explorer as default but also has firefox or netscape, I won't be able to know, right?
Cerf is offline   Reply With Quote
Old 23rd September 2005, 17:44   #4
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,898
ah..you want to detect all the browsers installed?

If so... then you must search in the registry for each one of them.


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux w/ xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Debian unstable w/ xfce4.
Joel is offline   Reply With Quote
Old 23rd September 2005, 19:08   #5
Cerf
Junior Member
 
Join Date: Jun 2001
Location: Venezuela
Posts: 22
by any chance, do you know where to look for the keys I need?
Cerf is offline   Reply With Quote
Old 23rd September 2005, 19:43   #6
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,216
Firefox:
HKLM "Software\Mozilla\Mozilla Firefox" "CurrentVersion"

IE:
HKLM "Software\Microsoft\Internet Explorer" "Version"

That's all I have installed.

-Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 23rd September 2005, 20:47   #7
Instructor
Major Dude
 
Join Date: Jul 2004
Posts: 665
Default browser:
HKEY_CLASSES_ROOT\http\shell\open\command
Instructor is offline   Reply With Quote
Old 24th September 2005, 03:39   #8
Cerf
Junior Member
 
Join Date: Jun 2001
Location: Venezuela
Posts: 22
Thanks stu!
Thanks Instructor!

I guess I will have to install Opera and Netscape to find out where to look for...

I appreciate your help, a lot

Cërf.
Cerf is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump