disable autoupdates in Mozilla Firefox 3.6.10
Hello,
Can anyone help me to disable auto updates for Mozilla Firefox 3.6.10 application?
Thanks in advance.
Can anyone help me to disable auto updates for Mozilla Firefox 3.6.10 application?
Thanks in advance.
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
piyushnasa
12 years ago
For Re-Packaging Firefox latest versions, you can follow this link:
http://msiworld.blogspot.com.au/2012/01/packaging-mozilla-firefox-901.html
Posted by:
timmsie
14 years ago
Posted by:
dodgy
14 years ago
If you're looking at preventing the average user from re-enabling autoupates you could also consider a locked preference file.
This requires taking a copy of a prefs.js file from a firefox profile and changing user_pref to lockPref for all preferences you want to lockdown. I use a single master file and set only options such as proxy, ntlm auth, updates off etc then i byteshift to obfuscate the values by byteshifting (http://www.alain.knaff.lu/howto/MozillaCustomization/cgi/byteshf.cgi using a value of 13) to create a cfg file.
Once you have a cfg file you need to modify .\firefox\greprefs\all.js and locate:
pref("general.config.obscure_value", 13); // for MCD .cfg files
Below this add:
pref("general.config.filename", "myrules.cfg"); // My locked down preferences
Dump the myrules.cfg in the root of firefox and thats it. As long as users don't have R/W to .\firefox it prevents most users from re-enabling settings you don't want on.
This requires taking a copy of a prefs.js file from a firefox profile and changing user_pref to lockPref for all preferences you want to lockdown. I use a single master file and set only options such as proxy, ntlm auth, updates off etc then i byteshift to obfuscate the values by byteshifting (http://www.alain.knaff.lu/howto/MozillaCustomization/cgi/byteshf.cgi using a value of 13) to create a cfg file.
Once you have a cfg file you need to modify .\firefox\greprefs\all.js and locate:
pref("general.config.obscure_value", 13); // for MCD .cfg files
Below this add:
pref("general.config.filename", "myrules.cfg"); // My locked down preferences
Dump the myrules.cfg in the root of firefox and thats it. As long as users don't have R/W to .\firefox it prevents most users from re-enabling settings you don't want on.
Posted by:
rainfog
9 years ago
const Help01_Text = "Please run this script using CScript."
const Help02_Text = "This can be achieved by"
const Help03_Text = "1. Using ""CScript script.vbs arguments"" or"
const Help04_Text = "2. Changing the default Windows Scripting Host to CScript"
const Help05_Text = " using ""CScript //H:CScript //S"" and running the script "
const Help06_Text = " ""script.vbs arguments""."
const ForReading = 1
const ForWriting = 2
dim args
dim fso
dim filename, wfile
dim orfile, owfile
dim str
if not IsHostCscript() then
wscript.echo(Help01_Text & vbCRLF & Help02_Text & vbCRLF & _
Help03_Text & vbCRLF & Help04_Text & vbCRLF & _
Help05_Text & vbCRLF & Help06_Text & vbCRLF)
wscript.quit(-1)
end if
set args = wscript.arguments
set fso = CreateObject("Scripting.FileSystemObject")
if args.Count = 1 then
filename = args(0)
if fso.FileExists(filename) then
on error resume next
set orfile = fso.OpenTextFile(filename, ForReading)
if not err then
wfile = fso.GetBaseName(filename) & "_.txt"
set owfile = fso.OpenTextFile(wfile, ForWriting, true, 0)
if not err then
owfile.write encrypt(orfile.ReadAll, 13)
owfile.Close
wscript.echo "Successfully created file " & wfile
else
wscript.echo "Error create/open file " & wfile & ". 0x" & hex(err.Number) & " " & err.Description
end if
orfile.Close
else
wscript.echo "Error open file " & filename & ". 0x" & hex(err.Number) & " " & err.Description
end if
set owfile = nothing
set orfile = nothing
else
wscript.echo "File " & filename & " not found."
end if
else
wscript.echo "Error. Missing text file as argument."
end if
set args = nothing
set fso = nothing
function encrypt(str, n)
dim i, out
for i = 1 to len(str)
out = out & chr(asc(mid(str, i, 1)) + n)
next
encrypt = out
end function
'
' Determines which program is being used to run this script.
' Returns true if the script host is cscript.exe
'
function IsHostCscript()
on error resume next
dim strFullName
dim i, j
dim bReturn
bReturn = false
strFullName = wscript.FullName
i = InStr(1, strFullName, ".exe", 1)
if i <> 0 then
j = InStrRev(strFullName, "\", i, 1)
if j <> 0 then
if LCase(Mid(strFullName, j+1, i-j-1)) = "cscript" then
bReturn = true
end if
end if
end if
if err <> 0 then
Log("The scripting host could not be determined. Error " & Hex_Text & hex(Err.Number) & Space_Text & Err.Description)
end if
IsHostCscript = bReturn
end function
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.