473,378 Members | 1,380 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Microsoft.mshtml.dll in Setup project

JM
Hi,

I have created a windows application which uses Microsoft.mshtml.dll
for displaying browser window in the application for showing html.

When I am creating a setup program, I have to include
Microsoft.mshtml.dll in the Setup project. I am using VS 2003 Setup
program and my app is in C#. Now the problem is the size of this dll is
around 7.6 MB, so the size of setup program is huge.

I have .NET framework 1.1 with VS 2003 installed on my system. The
location of this dll on my system is at: "C:\Program
Files\Microsoft.NET\Primary Interop Assemblies\Microsoft.mshtml.dll".

Now my question is:

1. Is this dll is located at same location on every PC having .NET 1.1
installed?

2. If #1 is true, then as my application is .NET 1.1 compatible, can I
create a setup program without physically including
Microsoft.mshtml.dll in the setup project. And how can I achieve this
in Setup program of VS 2003?

Thanks in advance
JM

Jul 16 '06 #1
2 5439
You can just install the .Net framework 1.1 in any 2 PCs and copy the exe
file there and run. Then you will get the answer.

chanmm

"JM" <jm******@gmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
Hi,

I have created a windows application which uses Microsoft.mshtml.dll
for displaying browser window in the application for showing html.

When I am creating a setup program, I have to include
Microsoft.mshtml.dll in the Setup project. I am using VS 2003 Setup
program and my app is in C#. Now the problem is the size of this dll is
around 7.6 MB, so the size of setup program is huge.

I have .NET framework 1.1 with VS 2003 installed on my system. The
location of this dll on my system is at: "C:\Program
Files\Microsoft.NET\Primary Interop Assemblies\Microsoft.mshtml.dll".

Now my question is:

1. Is this dll is located at same location on every PC having .NET 1.1
installed?

2. If #1 is true, then as my application is .NET 1.1 compatible, can I
create a setup program without physically including
Microsoft.mshtml.dll in the setup project. And how can I achieve this
in Setup program of VS 2003?

Thanks in advance
JM

Jul 16 '06 #2
"JM" wrote:
1. Is this dll is located at same location on every PC having .NET 1.1
installed?

2. If #1 is true, then as my application is .NET 1.1 compatible, can I
create a setup program without physically including
Microsoft.mshtml.dll in the setup project. And how can I achieve this
in Setup program of VS 2003?
Hello JM,

The assembly Microsoft.Mshtml.dll is not installed by default with .NET
Framework's redistributables package. They are usually distributed via
Microsoft Office and other Primary Interop Assemblies packages.

However, if you know for a fact that all machines that the application will
be deployed to have these PIA installed, you could exclude the assembly from
the deployment project in Visual Studio (see the included/detected
dependencies Solution Explorer and select 'Exlude' from the context menu).
--
Best regards,

Stanimir Stoyanov
ad***@nospam.stoyanoff.info
Jul 16 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: pbj | last post by:
my application was created in vb.net, vs 2003. the setup project was also created in vs 2003. one of my application reviewers reported this: The .Net link that is included in the setup is not the...
4
by: Nick | last post by:
Hi, I have a windows application, wherein the solution consists of 5 projects. When I try to create a setup and deployment project for this solution, I'm somehow unable to add anything in...
0
by: Erich Hofacker | last post by:
Hello, I have written an application in .NET (C#) which uses some stuff from the Microsoft.mshtml. Unfortunately some customers reported that they are missing this DLL. Therefore we now...
3
by: Zürcher See | last post by:
I've wrote an application that use internet explorer to download some html page, to get the document I use the Microsoft.mshtml library. mshtml.IHTMLDocument3...
2
by: Aurimas Norkevicius | last post by:
I have two web projects and a class library in the same solution. Both web projects uses class library dll. How to create a web setup project to install class library into client computers gac and...
1
by: Dean Hallman | last post by:
I need to ensure client machine has Microsoft.mshtml installed in the GAC. And if not, deploy it. My app is a Browser Helper Object and depends on mshtml. Initially, I thought I could take care...
3
by: | last post by:
I have created a web setup project for my ASP.NET application that works fine. Also, I have followed the instructions for using a custom action to launch a web page after the installation is...
1
by: bernhard schelling | last post by:
Hi, I'm using Visual C# Express and I'd like to build a project available from http://download.microsoft.com/download/f/2/7/f279e71e-efb0-4155-873d-5554a0608523/WSRP.exe Somehow the Refernce...
0
by: Filippo Bettinaglio | last post by:
Hi all, In the past 3 days I have done some research about Microsoft.mshtml component within .NET 2 framework. I need some clarification/comfermation about the Microsoft.mshtml componet and...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.