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
Archive: NSIS script : how to find firefox path ?
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
Have you tried to find it in registry?
e.g. look under the key HKLM "SOFTWARE\Mozilla\Mozilla Firefox"
Originally posted by Red Winei have just tried the following code but no result :
Have you tried to find it in registry?
e.g. look under the key HKLM "SOFTWARE\Mozilla\Mozilla Firefox"
ReadRegStr $1 HKLM "Software\Mozilla\Mozilla Firefox" "CurrentVersion"
ReadRegStr $1 HKLM "Software\Mozilla\Mozilla Firefox\$1\Main" "PathToExe"
Originally posted by kichikyup ty :)
ReadRegStr $1 HKLM "Software\Mozilla\Mozilla Firefox" "CurrentVersion"
ReadRegStr $1 HKLM "Software\Mozilla\Mozilla Firefox\$1\Main" "PathToExe"
Originally posted by kichikThat is the best solution for common user (only one Firefox) to get the actual version.
ReadRegStr $1 HKLM "Software\Mozilla\Mozilla Firefox" "CurrentVersion"
ReadRegStr $1 HKLM "Software\Mozilla\Mozilla Firefox\$1\Main" "PathToExe"