VB.NET Simple Setup Project

  • Thread starter Thread starter Fred Nelson
  • Start date Start date
F

Fred Nelson

Hi:

I've written a really cool VB.NET application that I want to install on the
many computers in my company (all located behind a firewall) so I'm trying
to create a Setup and Deployment project. I'm not having much luck and the
documentation doesn't help either.

I have created a "software update" page on our web server and it sends file
"setup1.msi" which runs the windows installer just fine.

All I need to do is to copy two files to a folder that I have chosen
"C:\myapp" and create a desktop icon.

I am getting the files in the correct folder however my desktop icon just
shows a directory of the desktop folder.

Any help with the "missing step" would be appreciated! Also if anyone knows
of a well written document on how to do that would appreciate that also.

Thanks very much!

Fred
 
Fred,

In the deploymentproject rightclicking on Primary Output in the application
folder let you create a shortcut that you can drag to your folder left
"user's Desktop" and/or "Users Programs Menu"

(You would probably give it a nice name, however this is just rightclicking
on that shortcut and do that n the properties)

I hope this helps?

Cor
 
Hi Cor:

Thanks for your info - it helped me create a shortcut however it is to a
folder and not to the program until you reach the folder. I am not able to
edit the "target" in the properties window.

It created a desktop icon that when clicked takes me to the installation
folder where there is another icon with the same name. Clicking that does
run the program.

What I need to do is to get an icon on the desktop that runs the program
directly.

Also: Is there a way to bypass the windows installation for upgrades.
Presently I'm forced to go to control panel and remove the program before I
can install it again. This program will be updated monthly and the last
thing I want to do is have my users go to control panel and delete anything.

Thanks again for your help!

Fred
 
Fred,

For that I have no solutions, however some links provided this month in this
newsgroup about that

By Herfried
In future:

Introducing Client Application Deployment with "ClickOnce"


<URL:http://msdn.microsoft.com/netframework/?pull=/library/en-us/dnwinform...>Currently:



URL:http://msdn.microsoft.com/library/en-us/dv_vstechart/html/vbtchno-tou...--

By Anand

Take a look at Application Updater block at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbd....


I hope this helps anyway something?

Cor
 
if it is an .msi file then you can just right click it and choose remove or
uninstall (i can't remember which).
 
Hi Cor:

I figured out what I was doing wrong - in your original e-mail you said to
create the short cut and drag it to the desktop - I skipped this step!

Anyhow - now its working fine!

Thanks for your help!

Fred
 
Back
Top