|
|
#1 |
|
Junior Member
Join Date: Jun 2007
Posts: 3
|
NSIS script : how to find firefox path ?
hi,
i try to find firefox.exe in my install script but anytime this fails, i have tried : GetFullPathName $1 firefox.exe SearchPath $1 firefox.exe both return me an empty string any clue plz ? thx |
|
|
|
|
|
#2 |
|
Forum King
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
|
Have you tried to find it in registry?
e.g. look under the key HKLM "SOFTWARE\Mozilla\Mozilla Firefox" Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS |
|
|
|
|
|
#3 | |
|
Junior Member
Join Date: Jun 2007
Posts: 3
|
Quote:
ReadRegStr $1 HKLM "SOFTWARE\Mozilla\" "Mozilla Firefox" MessageBox MB_OK "<$1>" $1 is empty edit : lol sorry was not checking the right key thx for help |
|
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
code: NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#5 | |
|
Junior Member
Join Date: Jun 2007
Posts: 3
|
Quote:
very nicely reactive community here btw
|
|
|
|
|
|
|
#6 | |
|
Major Dude
Join Date: May 2003
Posts: 681
|
Quote:
Use HKCU for current user but this might old and not actual. Mozilla used that entry some time ago. For other browsers you can search like this: HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox 1.5 HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox 2.0.0.x * (* replace in a loop to find it) Some experienced users dont use the installer but the nightly zip which dont use the key from kichik. Same with Seamonkey or Suite. HTH Greets, Brummelchen |
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|