473,506 Members | 17,309 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1787
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
7746
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
1422
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
2494
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
2050
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
1329
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
1312
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
350
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
2614
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
2762
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
1680
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
7220
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
7371
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
5617
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,...
1
5037
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...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3188
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...
0
1534
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 ...
1
757
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
410
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...

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.