зеркало из https://github.com/mozilla/pjs.git
Win32 only - Bug 309496 - Firefox 1.0.7 clean install installs nsIQTScriptablePlugin.xpt to plugins folder. r=sspitzer
This commit is contained in:
Родитель
d1b3d72029
Коммит
ba7735f944
|
@ -369,11 +369,8 @@ Section "-Application" Section1
|
||||||
${EndIf}
|
${EndIf}
|
||||||
|
|
||||||
${LogHeader} "Adding Additional Files"
|
${LogHeader} "Adding Additional Files"
|
||||||
; Only for Firefox and only if they don't already exist
|
; Check if QuickTime is installed and copy the nsIQTScriptablePlugin.xpt from
|
||||||
; Check if QuickTime is installed and copy the contents of its plugins
|
; its plugins directory into the app's components directory.
|
||||||
; directory into the app's plugins directory. Previously only the
|
|
||||||
; nsIQTScriptablePlugin.xpt files was copied which is not enough to enable
|
|
||||||
; QuickTime as a plugin.
|
|
||||||
ClearErrors
|
ClearErrors
|
||||||
ReadRegStr $R0 HKLM "Software\Apple Computer, Inc.\QuickTime" "InstallDir"
|
ReadRegStr $R0 HKLM "Software\Apple Computer, Inc.\QuickTime" "InstallDir"
|
||||||
${Unless} ${Errors}
|
${Unless} ${Errors}
|
||||||
|
@ -381,12 +378,16 @@ Section "-Application" Section1
|
||||||
${GetPathFromRegStr}
|
${GetPathFromRegStr}
|
||||||
Pop $R0
|
Pop $R0
|
||||||
${Unless} ${Errors}
|
${Unless} ${Errors}
|
||||||
GetFullPathName $R0 "$R0\Plugins"
|
GetFullPathName $R0 "$R0\Plugins\nsIQTScriptablePlugin.xpt"
|
||||||
${Unless} ${Errors}
|
${Unless} ${Errors}
|
||||||
${LogHeader} "Copying QuickTime Plugin Files"
|
${LogHeader} "Copying QuickTime Scriptable Component"
|
||||||
${LogMsg} "Source Directory: $R0\Plugins"
|
CopyFiles /SILENT "$R0" "$INSTDIR\components"
|
||||||
StrCpy $R1 "$INSTDIR\plugins"
|
${If} ${Errors}
|
||||||
Call DoCopyFiles
|
${LogMsg} "** ERROR Installing File: $INSTDIR\components\nsIQTScriptablePlugin.xpt **"
|
||||||
|
${Else}
|
||||||
|
${LogMsg} "Installed File: $INSTDIR\components\nsIQTScriptablePlugin.xpt"
|
||||||
|
${LogUninstall} "File: $R3"
|
||||||
|
${EndIf}
|
||||||
${EndUnless}
|
${EndUnless}
|
||||||
${EndUnless}
|
${EndUnless}
|
||||||
${EndUnless}
|
${EndUnless}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче