Internet Explorer and proxy cfg
Hello,
I'm trying to make a property for proxy server in Internet Explorer installation. I found registry entries responsible for proxy address, but everytime I reboot computer (after installation) IE7 restores all settings in accordance with original IEAK settings.
I tried to apply proxy settings before IESetup starts, but it doesn't keep them and rewrite everything by default.
Active setup didn't help as well, because IE restores settings after AS passed.
any suggestions?
thank you.
I'm trying to make a property for proxy server in Internet Explorer installation. I found registry entries responsible for proxy address, but everytime I reboot computer (after installation) IE7 restores all settings in accordance with original IEAK settings.
I tried to apply proxy settings before IESetup starts, but it doesn't keep them and rewrite everything by default.
Active setup didn't help as well, because IE restores settings after AS passed.
any suggestions?
thank you.
0 Comments
[ + ] Show comments
Answers (17)
Please log in to answer
Posted by:
Inabus
14 years ago
This is clearly a policy problem as already stated.
I had the same issue in my last job, please package IE settings, i told them where to go and that they should use auto proxy configurations, provided the link on where to get it, gave them my "done" proxy.cfg file and they just made the infrastructure changes.
Dont see the point of introducing a package for something when its ms have kindly already given you the mechanism for it.
P
I had the same issue in my last job, please package IE settings, i told them where to go and that they should use auto proxy configurations, provided the link on where to get it, gave them my "done" proxy.cfg file and they just made the infrastructure changes.
Dont see the point of introducing a package for something when its ms have kindly already given you the mechanism for it.
P
Posted by:
patashnik
14 years ago
Posted by:
anonymous_9363
14 years ago
Posted by:
pjgeutjens
14 years ago
after that, I added Active Setup in msi and registry key under HKCU -> RunOnce. It allows me to launch .bat file once per user, because proxy address located in HKCU only (thats how IE7 works).
I tried to use direct registry access by putting "reg add" line in the RunOnce command, but no success (as well as VBS through RunOnce)
Is it really an issue of Active Setup being executed in the wrong order? I mean real active setup, not MSI self-heal.
Reason I ask is because the active setup actions are undertaken in the order in which they are in the registry under HKLM\Software\Microsoft\Active Setup\Installed Components\ so you could make yours start with ZZZ_ to make sure it gets done last
Posted by:
elgwhoppo
14 years ago
ORIGINAL: VBScab
[sarcasm]You're quite right. That's certainly something that a company with over 70% of the browser market would miss out on doing. [/sarcasm]
LOL!!!! Love the /sarcasm usage.
I agree that this is a group policy problem, not a package problem. @patashnik, I hate to be blunt but the advised method is to use GPO. Every IT department I've ever worked with has this set through GPO and it works, so you're doing something wrong. Find it and fix it.
Posted by:
patashnik
14 years ago
Posted by:
dunnpy
14 years ago
Posted by:
patashnik
14 years ago
thank for the reply Paul,
I was using IEAK for various settings like first page disabling and updates removing, but the thing is that Proxy address should be a variable property, because it depends of Site where IE7 will be deployed. Configuring proxy address for each site is not possible.
Unfortunately, I'm not able to use GPO as well...
I was using IEAK for various settings like first page disabling and updates removing, but the thing is that Proxy address should be a variable property, because it depends of Site where IE7 will be deployed. Configuring proxy address for each site is not possible.
Unfortunately, I'm not able to use GPO as well...
Posted by:
dunnpy
14 years ago
How about Automatic Proxy Configuration?
There's a wikipedia entry here, which appears to have some useful external links.
It's not something I've used myself - but looks like it could be what you're looking for.
Hope this helps,
Dunnpy
There's a wikipedia entry here, which appears to have some useful external links.
It's not something I've used myself - but looks like it could be what you're looking for.
Hope this helps,
Dunnpy
Posted by:
patashnik
14 years ago
Posted by:
dunnpy
14 years ago
Running out of suggestions now....
How about one proxy setting "myproxy:80" for all machines, but having DNS resolve the name to the different IP addresses of the various proxy boxes - depending on the site location.
You'd have to do something fancy with DNS - can't help further with that, not my area of expertise [:D]
You could also use a different hosts file on each machine for each site, to resolve the name correctly on the machines - this would never the be best solution and tends to get messy - so don't do it! Just added it as an option, although a very bad one.
Failing that - I give up.[sm=rolleyes.gif]
Dunnpy
How about one proxy setting "myproxy:80" for all machines, but having DNS resolve the name to the different IP addresses of the various proxy boxes - depending on the site location.
You'd have to do something fancy with DNS - can't help further with that, not my area of expertise [:D]
You could also use a different hosts file on each machine for each site, to resolve the name correctly on the machines - this would never the be best solution and tends to get messy - so don't do it! Just added it as an option, although a very bad one.
Failing that - I give up.[sm=rolleyes.gif]
Dunnpy
Posted by:
rahvintzu
14 years ago
Posted by:
patashnik
14 years ago
Posted by:
rahvintzu
14 years ago
Thats an interesting company policy.
The reason Im big on hosting, is that its gold for laptops off your network.
As the dns lookup fails at home, which means no proxy is defined.. and their isp transparent proxy works a treat.
I havent had to use the IE7 IEAK so cant help you there.
Although I did write a VBS script ages ago to change most of the different proxy settings (reg keys).
But that was under IE6.
The reason Im big on hosting, is that its gold for laptops off your network.
As the dns lookup fails at home, which means no proxy is defined.. and their isp transparent proxy works a treat.
I havent had to use the IE7 IEAK so cant help you there.
Although I did write a VBS script ages ago to change most of the different proxy settings (reg keys).
But that was under IE6.
Posted by:
anonymous_9363
14 years ago
Posted by:
patashnik
14 years ago
To find necessary registry entries is not a problem, I know where they are located. The problem is (as I mentioned above), that "IE settings restore" in active setup runs after my active setup with proxy configuration.
In the Firefox I just put a script in custom action which allows me to make changes in prefs.js file via property (wscript), it works perfect.
2VBScab
these keys are empty before and after installation [8|]
In the Firefox I just put a script in custom action which allows me to make changes in prefs.js file via property (wscript), it works perfect.
2VBScab
these keys are empty before and after installation [8|]
Posted by:
patashnik
14 years ago
I managed to merge proxy address into Internet Explorer 7 by creating VBS which reads property (wscript with argument) and adds it to .bat file:
after that, I added Active Setup in msi and registry key under HKCU -> RunOnce. It allows me to launch .bat file once per user, because proxy address located in HKCU only (thats how IE7 works).
I tried to use direct registry access by putting "reg add" line in the RunOnce command, but no success (as well as VBS through RunOnce)
DIM fso, NewsFile, szStringVal
szStringVal = Wscript.Arguments(0)
set wshShell = CreateObject("wscript.Shell")
Set fso = CreateObject("Scripting.FileSystemObject")
strWinDir = wshshell.ExpandEnvironmentStrings ("%ProgramFiles%")
strFinalDir = strWinDir+"\Internet Explorer\"
Set NewsFile = fso.CreateTextFile(strFinalDir & "\setproxy.bat", True)
NewsFile.WriteBlankLines 0
NewsFile.WriteLine("reg add "+chr(34)+"HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings"+chr(34)+" /v ProxyServer /t REG_SZ /d "+szStringVal+" /f")
NewsFile.Close
after that, I added Active Setup in msi and registry key under HKCU -> RunOnce. It allows me to launch .bat file once per user, because proxy address located in HKCU only (thats how IE7 works).
I tried to use direct registry access by putting "reg add" line in the RunOnce command, but no success (as well as VBS through RunOnce)
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.