Groups | Blog | Home
all groups > dotnet setup > october 2005 >

dotnet setup : Distributing IE with .Net Windows Forms app.


David C
10/31/2005 3:52:02 PM
Hi All,

I'm sure that this is has been asked a million times but I'm having problems
finding a definitive answer. Is it possible to install IE as part of a
standard deployment package in a safe and reliable way that will work on all
Windows versions from 98 onwards and does not require administrative
priveliges?

I see many samples and 'hacks' but nothing definite. There was apparently an
MSI wrapper for IE but it seems to have disappeared off the MSDN site. I
would be open to suggestions for both 1.1 and 2.0 by the way.

As an aside, I have to say that this is pretty poor form from MS. If this
can't be done in a straightforward, supported way my company will be using
Delphi for this app!

Thanks All (sorry about the whinge)

m.posseth
11/1/2005 12:00:00 AM
euhhmmm yeah and then with Delphi what will they do ???? then they will
have the same problem if IE is the dependancy you rely on

I have lots of proggy`s with HTML GUI`s , so my apps dep is the
shdocvw.dll ,,,, well this is in every windows operating system starting of
windows 98 ( as IE is fully integrated in the operating system ) so only
for the rare windows 95 version you will find out there that does not had IE
installed you have a problem as Win 95 will only run IE 5.5 and IE 5.5 is
obsolete ( as well as win 95 for a mather of fact )

Another way would be to use the Mozilla webbrowser control instead , it is
Xcopy deployable with your app and has only a 5 mb deploy package , however
if you use the print API from IE you have a problem as they seemed to have
forgotten to implement this ,,,,,, i encountered this problem when i was
playing with the control , as i use the print preview functionality of the
webbrowser control this was not an option for me , for the rest the
interface is 1-1 ported to IE ,so this might be your solution ( and you
might need to rewrite some HTML :-)

our current solution ??? well we have downloaded the IEAK ( internet
explorer administration kit ) and have so a license to distribute IE with
our app our autoplay menu detects if the user has an outdated IE ( pre 6 )
and will offer to install the latest version ( shipped on our DVD ) , we
noticed that this functionality is not used so verry often and we make cd`s
for the automotive sector who are using old computers in the workshop

[quoted text, click to view]

This is forbidden , you may only distribute IE with a distribution package
made with the IEAK


Regards

Michel Posseth [MCP]


[quoted text, click to view]

David C
11/1/2005 3:07:09 PM
Thanks Michael,

[quoted text, click to view]

I should have been clearer - it's not our app that depends on IE, it's the
framework itself. Both 98 and 98SE do not meet the minimum .Net Framework
requirement of IE 5.01.

[quoted text, click to view]

Is this tricky to implement? I have had a brief look at the IEAK doco and
couldn't see what I was looking for - maybe I wasn't looking close enough.

Thanks again foir the prompt reply Michael - it's much appreciated.

Regards,

DC


[quoted text, click to view]
m.posseth
11/6/2005 12:00:00 AM

Well also Delphi is moving to .Net ,,,,,, so in this case you could just as
easy write your proggy in VB6

The Windows 98 problem should you only encounter with fresh new
installations of this operating system , also with providing a optional
install installation of IE 6 on this operating systems you are doing them a
big favor , as IE is used as distribution mechanism for Win 9.X that solve
a lot of stability / security problems .

With the IEAK you can create the smallest possible deployment ( just
deselect all optional components ) it will download all newest ( safest )
components from the Microsoft website , one of the requirments in the
license is that you need to create such a fresh deploy package everytime
before distribution of your media


we used Autoplay menu studio from Indigo Rose , that detects if IE is
installed or not , if it isn`t it will show a descriptive menu with a
install button , as IE requires a reboot after installation
our menu is started again wich then shows our program installation menu



Michel Posseth



[quoted text, click to view]

AddThis Social Bookmark Button