Coder Profile - Show off your skills, get a coder profile.
 
 
 
  
Posted: 3.91 Years Ago 

Fallos
Sweden
Contrib Level: 2
Total Posts: 10
Hi everyone!

Im kindof new in VB.NET, but i finally made a pretty good chat client and server.
Now i want to send it to my friends, so i added a new Setup project to my Chat client project, so now i got 2 projects in my solution ..

Everyting works grate, the setup are making as it should - Copying my files and so on ..

Heres my problem..
After the install SOME of my friends can run it, but other wont. I have now found out that it's about the Framework.. Why isn't my install file installing the framework to?


Thanks, and sorry for my bad english ;O
Posted: 3.91 Years Ago 

VBAssassin
United Kingdom
Contrib Level: 17
Total Posts: 5,730
Two options:

1. If your using the MSI installler then it should prompt them to install the framework if your app requires it (you may have to change a setting in the installed to let it know you need the .net framework)

2. Distribute the framework with your application.

It's generally reasons like this as to why i'm using VC++ native code and not managed code that uses .net. At least, not until .net is installed on more general user systems.

Kind regards,
Scott
Posted: 3.91 Years Ago 

Ginger
Norway
Contrib Level: 6
Total Posts: 268
Post Quote - Direct Reference
In your installer options, go to the prerequisites and make sure that you have .NET framework selected.

Add it as a downloaded option which will then make sure that its installed. The setup.exe will then check for the framework and install it if neccessary.. When your setup is generated you will see a folder with the framework redist there as well.

Also try using NGEN when you do your setup to optimise it for the system you are installing it to

Also Scott, VC++ requires MSVCRTXX.dll to be installed or distributed. There are also some issues with certain platform variances (no so much of an issue now but definately on 98/NT4.0 platforms)

.NET 2.0 is shipped as part of Windows Update for XP and included on Vista systems. How much more general do you need :)
Posted: 3.91 Years Ago 

VBAssassin
United Kingdom
Contrib Level: 17
Total Posts: 5,730
QUOTE:  Remove Scroll Bars
Also Scott, VC++ requires MSVCRTXX.dll to be installed or distributed. There are also some issues with certain platform variances (no so much of an issue now but definately on 98/NT4.0 platforms)
Microsoft really p**s me off sometimes

Anyway, ain't bothered about win 98   . Does .net even install on win 98?

Kind regards,
Scott
Posted: 3.90 Years Ago 

Izzmo
United States
Contrib Level: 12
Total Posts: 1,982
If you are into XML, there is a VERY COOL XML based installer which is much like the .msi format, but XML and totally customizable. It is made by developers of Microsoft, but not directly affiliated.
Posted: 3.90 Years Ago 

Ginger
Norway
Contrib Level: 6
Total Posts: 268
MSI files can be edited with the Orca editor from the Windows Server 2003 Software Development Kit

.NET 2.0 is supported on all Windows versions from 98 up so 98,ME,2000(SP3),XP(SP2) & Vista.

VCRT would have some issues especially if the file was in use. You could nuke a box quite easily or else screw up some other application accidently. Hence why the framework works better that way.

Tho managed C++ requires a seperate download and usually resides in the WinSxS folder along with the OOB Windows Delivery stuff...
Posted: 3.89 Years Ago 

Fallos
Sweden
Contrib Level: 2
Total Posts: 10
Thanks for your replies!

Ginger, your tip sounded real good. Can't understand i missed it!
Izzmo, not really into XML, but since i got a new job where my work will contain Much XML i also will checkout your example to :)

Thanks again!
Posted: 3.89 Years Ago 

Izzmo
United States
Contrib Level: 12
Total Posts: 1,982
Post Quote - Direct Reference
Umm, .NET 2.0 wasn't even installed on XP SP2 :P

Supported, yes, comes bundled, no.
Posted: 1.71 Year Ago 

chrisadam
Canada
Contrib Level: 1
Total Posts: 2
CSS or Cascading Style Sheets is normally used to separate the style and layout of your HTML files from the actual content. However, few are aware of the added value that CSS can give to your website. Aside from the obvious ones like style standardization, CSS can be utilized to provide other useful stuff not possible with table-based layouts.
Among these benefits are things like:

Server bandwidth reduction[/item]
Media type formatting[/item]
Menu overlapping[/item]
Styling of form elements[/item]
and even E-mail address obfuscation.[/item]
[/list]


____________________________________________________________________________________


Want to get-on Google's first page and loads of traffic to your website? Hire a SEO specialist from Ocean Groupsseo specialist
Page 1 of 1
 
 
Latest News About Coder Profile
Coder Profile Poll
Why do you get bored with programming?

Not enough time to do something productive
I run out of ideas
Too hard to show people my creations
Everything i do has too many errors, and it's too hard
I don't get bored!!!


please login to cast your vote
and see the results of this poll
Latest Coder Profile Changes
Coder Profile was last updated
3.49 Years Ago
Official Blog :: Make A Donation :: Credits :: Contact Me
Terms & Conditions :: Privacy Policy :: Documents :: Wallpapers
Version 1.46.00
Copyright © 2007 - 2012, Scott Thompson, All Rights Reserved