[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Application deployment

Posted on 2003-10-29
3
Medium Priority
?
420 Views
Last Modified: 2013-11-22
Hi

I've developed an application in VB.NET and i am now trying to deploy this on a different machine not having vb runtime installed or anything really....(more or less a blank win2k or XP)
Following one books instructions i have done the following:
Included a setup & deployment project into my solution.
I checked for set up a Windows application and then to include:
Primary output, localized resources and content files.
Under User's programs menu i included a folder containing the exe file.
When trying to build solution (properties set to release) i get a warning:
WARNING: File 'ProduktBildeRapportering.exe' should not be installed into a User's Profile folder because it may not be available to all users.

and error:
ERROR: 'oledb32.dll' should be excluded because its source file 'C:\Program Files\Common Files\System\Ole DB\oledb32.dll' is under Windows System File Protection.

The build does give a .msi file but it is only 1.5 mb and trying to install the app on a machine without (even with) vb runtime result in an application that does not want to start....just throws a lot of errors or rather:
Exception that cannot be handled.....followed by process and thread ids
Looking at the output of the build it hardly packs any dll files at all....only a few related to crystal reports. I had expected a much larger file, with a lot more dll files for the vb runtime?

Does anyone know what why it does not work or how i should create a deployment program?

Thanks!
0
Comment
Question by:KjartanM-S
  • 2
3 Comments
 
LVL 7

Expert Comment

by:Z_Beeblebrox
ID: 9650648
You need to either separately install the .Net framework, or manually include it in your MSI. Here is a website that explains how you do this.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetdep/html/redistdeploy.asp

Zaphod.
0
 

Author Comment

by:KjartanM-S
ID: 9665915
Hi
(sorry about the late answer, had a defect cable modem)

.NET framework is already installed. The setup would not proceed until it was downloaded and installed.
By excluding the oledb32.dll it builds but when installed on a clean machine (XP and .NET framework) it only gives me a error message when trying to run it.
"The application has generated an exception that could not be handled" ....followed by process and thread id.

While installling it on the computer used to develop the app it runs fine (with the exception of using DataLink to set the link to a different DB server)

Any ideas on what could be wrong with the deployment? What could be missing in the deployment?
0
 
LVL 7

Accepted Solution

by:
Z_Beeblebrox earned 500 total points
ID: 9675009
Hi,

Sorry, I don't know much at all about .Net deployments. You might want to make sure that any DLL's that are in your references list are either part of the framework or part of your installation package. Other than that, I can't really be of any help.

Zaphod.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month18 days, 16 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question