473,396 Members | 1,748 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,396 software developers and data experts.

Deploying First App

Hello,

I am using Visual Basic .Net 2003 to build and distribute my first
application over the internet. The application will add one button to
Microsoft Outlook. I interface with the user with some forms so they can
customize the installation to their own desire. I am designing one
application for each version of Microsoft Outlook that I will be supporting.
I have taught myself Visual Basic using a book called "Microsoft Visual
Basic .Net Step by Step" written by Michael Halvorson. It is an excellent
book for beginners like me, but maybe I need an advanced book for what I am
trying to do?

I have a few problems that I am running into.

1. The application is a simple one that will only be used by the user one
time to add the button in Outlook. It seems kind of silly to install this
as a program that is registered in the registry with a button on the start
menu to launch the application. That would be fine for a game or something
that a user would use more than one. But for my simple application, is
there a better way to distribute this application?

2. I have successfully built my project, but it contains 3 files (setup.exe,
myApp.msi, and setup.ini). Which of these should I distribute on the
internet? If all 3 (which I assume), how do I do that? I know I have
downloaded simple little one-file programs myself in the past. I would like
my project to be that simple.

3. When writing the code, I referenced a text file for the help form. In
the code, I referenced the file on my hard drive at
E:\myApps\Project1\.help.txt. When I wrote the code, I wondered how the
program would work on a different computer. After building the release
version, which works great on my computer, I tried it on another computer.
Sure enough, the code looked for the file on the E: drive and crashed! How
do I get this to work on other computers?

Thanks for any help.

Greg

Nov 22 '05 #1
2 1772
1. That's your choice - there's no requirement that you add a shortcut on the
start menu, so just don't add a shortcut to the setup project.

2. I'd recommend only the MSI file. If you're doing Internet distribution, you
can tell clients they need Windows Installer, but if they have Office then they
already have Windows Installer because Office is installed using MSI.

3. Use standard folders like Common Application data that your app can find with
Environment.GetFolderPath and that are also in the setup project, for example
File System on Target Machine, User's Application Data Folder
--
Phil Wilson [MVP Windows Installer]
----
"Greg" <gr**@nospam.com> wrote in message
news:um**************@TK2MSFTNGP09.phx.gbl...
Hello,

I am using Visual Basic .Net 2003 to build and distribute my first
application over the internet. The application will add one button to
Microsoft Outlook. I interface with the user with some forms so they can
customize the installation to their own desire. I am designing one
application for each version of Microsoft Outlook that I will be supporting.
I have taught myself Visual Basic using a book called "Microsoft Visual
Basic .Net Step by Step" written by Michael Halvorson. It is an excellent
book for beginners like me, but maybe I need an advanced book for what I am
trying to do?

I have a few problems that I am running into.

1. The application is a simple one that will only be used by the user one
time to add the button in Outlook. It seems kind of silly to install this
as a program that is registered in the registry with a button on the start
menu to launch the application. That would be fine for a game or something
that a user would use more than one. But for my simple application, is
there a better way to distribute this application?

2. I have successfully built my project, but it contains 3 files (setup.exe,
myApp.msi, and setup.ini). Which of these should I distribute on the
internet? If all 3 (which I assume), how do I do that? I know I have
downloaded simple little one-file programs myself in the past. I would like
my project to be that simple.

3. When writing the code, I referenced a text file for the help form. In
the code, I referenced the file on my hard drive at
E:\myApps\Project1\.help.txt. When I wrote the code, I wondered how the
program would work on a different computer. After building the release
version, which works great on my computer, I tried it on another computer.
Sure enough, the code looked for the file on the E: drive and crashed! How
do I get this to work on other computers?

Thanks for any help.

Greg

Nov 22 '05 #2
1. That's your choice - there's no requirement that you add a shortcut on the
start menu, so just don't add a shortcut to the setup project.

2. I'd recommend only the MSI file. If you're doing Internet distribution, you
can tell clients they need Windows Installer, but if they have Office then they
already have Windows Installer because Office is installed using MSI.

3. Use standard folders like Common Application data that your app can find with
Environment.GetFolderPath and that are also in the setup project, for example
File System on Target Machine, User's Application Data Folder
--
Phil Wilson [MVP Windows Installer]
----
"Greg" <gr**@nospam.com> wrote in message
news:um**************@TK2MSFTNGP09.phx.gbl...
Hello,

I am using Visual Basic .Net 2003 to build and distribute my first
application over the internet. The application will add one button to
Microsoft Outlook. I interface with the user with some forms so they can
customize the installation to their own desire. I am designing one
application for each version of Microsoft Outlook that I will be supporting.
I have taught myself Visual Basic using a book called "Microsoft Visual
Basic .Net Step by Step" written by Michael Halvorson. It is an excellent
book for beginners like me, but maybe I need an advanced book for what I am
trying to do?

I have a few problems that I am running into.

1. The application is a simple one that will only be used by the user one
time to add the button in Outlook. It seems kind of silly to install this
as a program that is registered in the registry with a button on the start
menu to launch the application. That would be fine for a game or something
that a user would use more than one. But for my simple application, is
there a better way to distribute this application?

2. I have successfully built my project, but it contains 3 files (setup.exe,
myApp.msi, and setup.ini). Which of these should I distribute on the
internet? If all 3 (which I assume), how do I do that? I know I have
downloaded simple little one-file programs myself in the past. I would like
my project to be that simple.

3. When writing the code, I referenced a text file for the help form. In
the code, I referenced the file on my hard drive at
E:\myApps\Project1\.help.txt. When I wrote the code, I wondered how the
program would work on a different computer. After building the release
version, which works great on my computer, I tried it on another computer.
Sure enough, the code looked for the file on the E: drive and crashed! How
do I get this to work on other computers?

Thanks for any help.

Greg

Nov 22 '05 #3

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

Similar topics

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...
5
by: RCS | last post by:
I am trying to deploy an app to a WLBS cluster. We've been testing on our QA WLBS cluster. In VS.NET 2K3, I typically use the "Copy Project" button to copy the project to the next tier. This is the...
3
by: Chris Dunaway | last post by:
A quick scan of the group did not immediately reveal an answer to my questions so here goes. First let me describe my app and then I'll ask the questions. I am writing a Windows Forms App (not...
10
by: Gerben van Loon | last post by:
Hi there, hope someone can help me on this: I'm planning to deploy several ASP.NET projects to a production server. Normally I used the "Project / Copy project" option in VS.NET, but to this...
2
by: Flip | last post by:
I am deploying webapps using XP (IIS5) and deploying them to a Windows 2003 Server box (IIS6). So far so good. However, when I try to manage my w2k3 server from XP, I get an error message saying...
8
by: bigjmt | last post by:
Hi all, I'm new to this. This will be my first setup for a web app I created. I created a web app(form) in vb.net on my test machine. Now I want to host this solution on a web server machine. I...
6
by: Sebastian Santacroce | last post by:
Is it posible to package MSDE with VB .net so that its part of the installation? If so, is there documentation somewhere? What about packaging the .net framework with the application as well? ...
1
by: dfererer | last post by:
Dear all, I want to install and run ClickOnce Deploying application under a Windows Service,I have make the service starting the application successfully(user API...
3
by: kkao77 | last post by:
can you show me in more detail? I have same problem where on the page it's https://service.premilance.com/Company.svc, but the svcutil tells me to get it from https://pserver1/Company.svc?wsdl...
5
by: Bob | last post by:
Hello All, I have created a vb.net app that I want to place on a network drive. Each time I try to execute it from the network, a security violation pops up and prohibits the app from running. ...
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: 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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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,...

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.