473,516 Members | 3,465 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Package and deploy in .NET

Hi,

I have an application written in C# .NET 2005 using .NET framework v2.0, the
execute file is only 500KB and it used two third party DLLs, all added up
to round about 1MB.

My question is when i distribute my application to friends do i have to
include .NET framework v2.0 as part to of the setup. I don't really want to
include .NET framework v2.0 because it increases my final executable install
file dramatically. From 1.5MB to 25MB because the framework v2 is 22+MB.

Is there anyway i can get my application running on my friends machine
without installing the full version of .NET framework v2. I want the
absolute mimimum because my application doesn't use much of the .net
controls anyway, mostly console and back up processing.

Looking forward hearing from you all.

Regards
Dec 14 '06 #1
7 1624

You don't necessarily have to include it, but they have to have it.

There's no free lunch.

If you want to run a .Net 2.0 application, the client machine has to have
the framework (2.0).

They can either:

1. Have it already.
2. Install it from windows update or microsoft.com
3. You provide it.

Pick your poison.


"-xx-" <kh**********@yahoo.comwrote in message
news:u9*************@TK2MSFTNGP02.phx.gbl...
Hi,

I have an application written in C# .NET 2005 using .NET framework v2.0,
the
execute file is only 500KB and it used two third party DLLs, all added up
to round about 1MB.

My question is when i distribute my application to friends do i have to
include .NET framework v2.0 as part to of the setup. I don't really want
to
include .NET framework v2.0 because it increases my final executable
install
file dramatically. From 1.5MB to 25MB because the framework v2 is 22+MB.

Is there anyway i can get my application running on my friends machine
without installing the full version of .NET framework v2. I want the
absolute mimimum because my application doesn't use much of the .net
controls anyway, mostly console and back up processing.

Looking forward hearing from you all.

Regards


Dec 14 '06 #2
Tee
Thanks for the reply

Anyway i have to take one of the suggested as there is no other way around
this.

"sloan" <sl***@ipass.netwrote in message
news:O8**************@TK2MSFTNGP02.phx.gbl...
>
You don't necessarily have to include it, but they have to have it.

There's no free lunch.

If you want to run a .Net 2.0 application, the client machine has to have
the framework (2.0).

They can either:

1. Have it already.
2. Install it from windows update or microsoft.com
3. You provide it.

Pick your poison.


"-xx-" <kh**********@yahoo.comwrote in message
news:u9*************@TK2MSFTNGP02.phx.gbl...
>Hi,

I have an application written in C# .NET 2005 using .NET framework v2.0,
the
>execute file is only 500KB and it used two third party DLLs, all added
up
to round about 1MB.

My question is when i distribute my application to friends do i have to
include .NET framework v2.0 as part to of the setup. I don't really want
to
>include .NET framework v2.0 because it increases my final executable
install
>file dramatically. From 1.5MB to 25MB because the framework v2 is 22+MB.

Is there anyway i can get my application running on my friends machine
without installing the full version of .NET framework v2. I want the
absolute mimimum because my application doesn't use much of the .net
controls anyway, mostly console and back up processing.

Looking forward hearing from you all.

Regards



Dec 14 '06 #3
I don't have perfect info as has not did an install package in a while. But
one of the dependency loaders/install loaders will put up nice dialogs for
the user to download (FX, sql express, etc) required dependencies and not
proceed until those are loaded - so you can include on CD or it will
download. There was a C9 vid on it, but don't know how to do it with VS
installer.

--
William Stacey [C# MVP]

"Tee" <kh**********@yahoo.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
| Thanks for the reply
|
| Anyway i have to take one of the suggested as there is no other way around
| this.
|
|
|
| "sloan" <sl***@ipass.netwrote in message
| news:O8**************@TK2MSFTNGP02.phx.gbl...
| >
| You don't necessarily have to include it, but they have to have it.
| >
| There's no free lunch.
| >
| If you want to run a .Net 2.0 application, the client machine has to
have
| the framework (2.0).
| >
| They can either:
| >
| 1. Have it already.
| 2. Install it from windows update or microsoft.com
| 3. You provide it.
| >
| Pick your poison.
| >
| >
| >
| >
| "-xx-" <kh**********@yahoo.comwrote in message
| news:u9*************@TK2MSFTNGP02.phx.gbl...
| >Hi,
| >>
| >I have an application written in C# .NET 2005 using .NET framework
v2.0,
| the
| >execute file is only 500KB and it used two third party DLLs, all added
| >up
| >to round about 1MB.
| >>
| >My question is when i distribute my application to friends do i have to
| >include .NET framework v2.0 as part to of the setup. I don't really
want
| to
| >include .NET framework v2.0 because it increases my final executable
| install
| >file dramatically. From 1.5MB to 25MB because the framework v2 is
22+MB.
| >>
| >Is there anyway i can get my application running on my friends machine
| >without installing the full version of .NET framework v2. I want the
| >absolute mimimum because my application doesn't use much of the .net
| >controls anyway, mostly console and back up processing.
| >>
| >Looking forward hearing from you all.
| >>
| >Regards
| >>
| >>
| >
| >
|
|
Dec 14 '06 #4
Like William mentioned, Visual Studio 2005 allows this.

1. Click Project and then select the last option which is the project's
properties.
2. Click Publish.
3. Click the Prerequisites button under "Install Mode and Settings".

There you'll find a number of prerequisites to install and how they can
be installed.

-- Lance

William Stacey [C# MVP] wrote:
I don't have perfect info as has not did an install package in a while. But
one of the dependency loaders/install loaders will put up nice dialogs for
the user to download (FX, sql express, etc) required dependencies and not
proceed until those are loaded - so you can include on CD or it will
download. There was a C9 vid on it, but don't know how to do it with VS
installer.

--
William Stacey [C# MVP]

"Tee" <kh**********@yahoo.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
| Thanks for the reply
|
| Anyway i have to take one of the suggested as there is no other way around
| this.
|
|
|
| "sloan" <sl***@ipass.netwrote in message
| news:O8**************@TK2MSFTNGP02.phx.gbl...
| >
| You don't necessarily have to include it, but they have to have it.
| >
| There's no free lunch.
| >
| If you want to run a .Net 2.0 application, the client machine has to
have
| the framework (2.0).
| >
| They can either:
| >
| 1. Have it already.
| 2. Install it from windows update or microsoft.com
| 3. You provide it.
| >
| Pick your poison.
| >
| >
| >
| >
| "-xx-" <kh**********@yahoo.comwrote in message
| news:u9*************@TK2MSFTNGP02.phx.gbl...
| >Hi,
| >>
| >I have an application written in C# .NET 2005 using .NET framework
v2.0,
| the
| >execute file is only 500KB and it used two third party DLLs, all added
| >up
| >to round about 1MB.
| >>
| >My question is when i distribute my application to friends do i have to
| >include .NET framework v2.0 as part to of the setup. I don't really
want
| to
| >include .NET framework v2.0 because it increases my final executable
| install
| >file dramatically. From 1.5MB to 25MB because the framework v2 is
22+MB.
| >>
| >Is there anyway i can get my application running on my friends machine
| >without installing the full version of .NET framework v2. I want the
| >absolute mimimum because my application doesn't use much of the .net
| >controls anyway, mostly console and back up processing.
| >>
| >Looking forward hearing from you all.
| >>
| >Regards
| >>
| >>
| >
| >
|
|
Dec 14 '06 #5
Tee
Thanks for all the help guy, very much appreciated.

"Lance" <ls********@gmail.comwrote in message
news:11**********************@73g2000cwn.googlegro ups.com...
Like William mentioned, Visual Studio 2005 allows this.

1. Click Project and then select the last option which is the project's
properties.
2. Click Publish.
3. Click the Prerequisites button under "Install Mode and Settings".

There you'll find a number of prerequisites to install and how they can
be installed.

-- Lance

William Stacey [C# MVP] wrote:
>I don't have perfect info as has not did an install package in a while.
But
one of the dependency loaders/install loaders will put up nice dialogs
for
the user to download (FX, sql express, etc) required dependencies and not
proceed until those are loaded - so you can include on CD or it will
download. There was a C9 vid on it, but don't know how to do it with VS
installer.

--
William Stacey [C# MVP]

"Tee" <kh**********@yahoo.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
| Thanks for the reply
|
| Anyway i have to take one of the suggested as there is no other way
around
| this.
|
|
|
| "sloan" <sl***@ipass.netwrote in message
| news:O8**************@TK2MSFTNGP02.phx.gbl...
| >
| You don't necessarily have to include it, but they have to have it.
| >
| There's no free lunch.
| >
| If you want to run a .Net 2.0 application, the client machine has to
have
| the framework (2.0).
| >
| They can either:
| >
| 1. Have it already.
| 2. Install it from windows update or microsoft.com
| 3. You provide it.
| >
| Pick your poison.
| >
| >
| >
| >
| "-xx-" <kh**********@yahoo.comwrote in message
| news:u9*************@TK2MSFTNGP02.phx.gbl...
| >Hi,
| >>
| >I have an application written in C# .NET 2005 using .NET framework
v2.0,
| the
| >execute file is only 500KB and it used two third party DLLs, all
added
| >up
| >to round about 1MB.
| >>
| >My question is when i distribute my application to friends do i have
to
| >include .NET framework v2.0 as part to of the setup. I don't really
want
| to
| >include .NET framework v2.0 because it increases my final executable
| install
| >file dramatically. From 1.5MB to 25MB because the framework v2 is
22+MB.
| >>
| >Is there anyway i can get my application running on my friends
machine
| >without installing the full version of .NET framework v2. I want
the
| >absolute mimimum because my application doesn't use much of the .net
| >controls anyway, mostly console and back up processing.
| >>
| >Looking forward hearing from you all.
| >>
| >Regards
| >>
| >>
| >
| >
|
|

Dec 14 '06 #6
You can use the tools from RemoteSoft to do this: http://www.remotesoft.com/

They work just fine. We use them for a few different applications, and have
no trouble.

There's also:
https://thinstall.com/solutions/net_virtual.php
http://www.xenocode.com/

.... but in terms of "final install size", you're pretty much screwed. This
approach will give you a singe (big!) exe file. No "installation" required.

--
Chris Mullins, MCSD.NET, MCPD:Enterprise
http://www.coversant.net/blogs/cmullins

"-xx-" <kh**********@yahoo.comwrote in message
news:u9*************@TK2MSFTNGP02.phx.gbl...
Hi,

I have an application written in C# .NET 2005 using .NET framework v2.0,
the execute file is only 500KB and it used two third party DLLs, all
added up to round about 1MB.

My question is when i distribute my application to friends do i have to
include .NET framework v2.0 as part to of the setup. I don't really want
to include .NET framework v2.0 because it increases my final executable
install file dramatically. From 1.5MB to 25MB because the framework v2 is
22+MB.

Is there anyway i can get my application running on my friends machine
without installing the full version of .NET framework v2. I want the
absolute mimimum because my application doesn't use much of the .net
controls anyway, mostly console and back up processing.

Looking forward hearing from you all.

Regards

Dec 14 '06 #7
Tee
Hi Chris,

Just wondering which software is use for deployment. been to their website
and got confuse which one to download.
After i have try .net mini explorer i think i will need to protect my codes
now since i can pretty much see all my code in their decompile form :(

can you please provide me a link where i can download the deployment tool
(demo).

"Chris Mullins" <cm******@yahoo.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
You can use the tools from RemoteSoft to do this:
http://www.remotesoft.com/

They work just fine. We use them for a few different applications, and
have no trouble.

There's also:
https://thinstall.com/solutions/net_virtual.php
http://www.xenocode.com/

... but in terms of "final install size", you're pretty much screwed. This
approach will give you a singe (big!) exe file. No "installation"
required.

--
Chris Mullins, MCSD.NET, MCPD:Enterprise
http://www.coversant.net/blogs/cmullins

"-xx-" <kh**********@yahoo.comwrote in message
news:u9*************@TK2MSFTNGP02.phx.gbl...
>Hi,

I have an application written in C# .NET 2005 using .NET framework v2.0,
the execute file is only 500KB and it used two third party DLLs, all
added up to round about 1MB.

My question is when i distribute my application to friends do i have to
include .NET framework v2.0 as part to of the setup. I don't really want
to include .NET framework v2.0 because it increases my final executable
install file dramatically. From 1.5MB to 25MB because the framework v2 is
22+MB.

Is there anyway i can get my application running on my friends machine
without installing the full version of .NET framework v2. I want the
absolute mimimum because my application doesn't use much of the .net
controls anyway, mostly console and back up processing.

Looking forward hearing from you all.

Regards


Dec 18 '06 #8

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

Similar topics

1
2496
by: ItsMe | last post by:
Dear All, I've developed a small solution for one of my client using Visual Basic.NET (Standard Edition). And used Crystal Reports 9.2 (Seperately). I want to deploy this application at my client's pc. How do I do that. ? I can download .NET Framekwork Redistributable Package from the MS Site, but this package doesn't support for Crystal...
2
6704
by: hitendra15 | last post by:
How to Deploy SQL server Database to another PC, How to create a package that craetes Database as well as ODBC driver for accessing data at enduser PC, using .Net VB
1
1248
by: Stephen Russell | last post by:
I have the need to take an existing DTS package off my laptop SQL2000 Developer version and deploy it on a clients site in the near future. What do I need to do to run this puppy? Can I script it out and run it as an SP? Or is there a better way? Data was FoxPro going to MSDE. TIA __Stephen
9
1434
by: T. | last post by:
Hi, Is there any way that I can "package and deploy" an asp.net app? When running this app from my workstation, it runs no problem, but when I access the site from another workstation I'm getting the following: "system.runtime.interopservices.comexception: server execution failed" on this line " Dim objOutlook As...
3
1537
by: William E Voorhees | last post by:
My simple program accesses an access file and uses a crystal report as part of the package. When I deploy it to an xp machine it works fine. When I deploy it to w98 it runs until I try to run the report and I get an error that says load report failed. I have mdac 2.8 installed and the correct version of framework.net. Any thoughts? ...
0
1346
by: PBsoft | last post by:
I developer an ADP with Access 2003 and distributed it with a package created wih Package Wizard from VSTO 2005. When I tried to install the package onto my customer computer I noticed that the installed Access 2003 runtime didn't include Service Pack 2003 for Office 2003. I searched a lot and asked in an italian newsgroup and finally...
1
2679
by: Maklar | last post by:
Greetings, When I launch the PDW, I select the project that I wish to package and deploy, and go through the various steps in the wizard to reference files and such. When I reach the end of the wizard and am prompted to click the Finish button, I click it and then the wizard dialog disappears without the package being generated. No files...
0
795
by: Steve Long | last post by:
Hello (posted this in another group but it activity in that group was so slow I decided to post here several hours later), I 'm not sure if this is the correct forum to post this question in but, I using MS' suggested method of using their setup.exe and settings.ini to deploy dotnetfx.exe with my deployment package. My question is, there are...
5
2810
by: Fuard | last post by:
Dear Sir, I have developed a MS Access 2003 programme. Now I need to package this programme to run without MS Access 2003. When I go to Add-in Manager the Package & Deploy Wizard is not appearing how can I load Package & Deploy Wizard to Add-in Manager I appreciate your co-operation in this regard. Thanks
3
5122
by: Hansen | last post by:
I hope that there is someone here that can help me. It's not directly related to this group but maybe someone here can help me. I wanted to deploy my Access database to another pc using the Access 2003 Developer Extensions. Check the web and found out that it is part of Visual Studio Tools for the Microsoft Office System, which in turn is a...
0
7182
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7405
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7574
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
5712
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5106
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3265
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3252
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1620
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
487
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.