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.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Oleg,

You say that you're using the IEAK, is that where you're setting the proxy settings - as part of the IEAK build?
The proxy settings set there should hold correctly for the deployment.

Failing that, how about using GPO to set the required settings?

Thanks,

Dunnpy
Answered 07/30/2009 by: dunnpy
Red Belt

Please log in to comment
0
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...
Answered 07/30/2009 by: patashnik
Senior Yellow Belt

Please log in to comment
0
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
Answered 07/30/2009 by: dunnpy
Red Belt

Please log in to comment
0
Yes, it's one of possible solutions, but as I understood it uses web-server to apply config through explorer, which I also not able to use.
I already tried CMAK, INS, JS, JVS or PAC files, they were worthless...
Answered 07/30/2009 by: patashnik
Senior Yellow Belt

Please log in to comment
0
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
Answered 07/30/2009 by: dunnpy
Red Belt

Please log in to comment
0
The best option is to use automatic configuration.
And allow your infra to do the work for you.
Is there a reason why you cant implement this?
Answered 07/30/2009 by: rahvintzu
Orange Senior Belt

Please log in to comment
0
Tricks with DNS are not area of my responsiblity, can't also do it that way.

The reason why I cant use autoconfig is just a company's policy, I would if I could.
This is really strange that IE7 covers all previous settings with it's default settings, if it uses GPO I doubt that I can do anything.
Answered 07/30/2009 by: patashnik
Senior Yellow Belt

Please log in to comment
0
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.
Answered 07/30/2009 by: rahvintzu
Orange Senior Belt

Please log in to comment
0
Have you considered the possibility that there's already a GP which is blowing away your settings?
Do a 'Before' and 'After' on keys like HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings and its HKLM brother.
Answered 07/30/2009 by: VBScab
Red Belt

Please log in to comment
0
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|]
Answered 07/30/2009 by: patashnik
Senior Yellow Belt

Please log in to comment
0
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:

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)
Answered 08/03/2009 by: patashnik
Senior Yellow Belt

Please log in to comment
0
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
Answered 08/03/2009 by: Inabus
Second Degree Green Belt

Please log in to comment
0
what if you need to set up software package without settings given? for late use, for example. still, i think MS didnt think over enough about these proxy settings.
Answered 08/03/2009 by: patashnik
Senior Yellow Belt

Please log in to comment
0
[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]
Answered 08/03/2009 by: VBScab
Red Belt

Please log in to comment
0
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
Answered 08/03/2009 by: pjgeutjens
Red Belt

Please log in to comment
0
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.
Answered 08/03/2009 by: elgwhoppo
Senior Purple Belt

Please log in to comment
0
I heard that characters such as "<" or ">" can be helpful, as well as "!" to change the order of sequence.
But IE7 restores its data from other resources as well, Active Setup is just a part of it. I tried to delete all stubpaths to stop restoring data and it didn't help.
Answered 08/03/2009 by: patashnik
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity