Install .vs. stand-alone exe
Install .vs. stand-alone exe
Install .vs. stand-alone exe
Install .vs. stand-alone exe
Install .vs. stand-alone exe
Install .vs. stand-alone exe Install .vs. stand-alone exe Install .vs. stand-alone exe Install .vs. stand-alone exe Install .vs. stand-alone exe Install .vs. stand-alone exe Install .vs. stand-alone exe Install .vs. stand-alone exe
Install .vs. stand-alone exe Install .vs. stand-alone exe
Install .vs. stand-alone exe
Go Back  Xtreme Visual Basic Talk > > > Install .vs. stand-alone exe


Reply
 
Thread Tools Display Modes
  #1  
Old 09-13-2010, 06:30 AM
kguarino kguarino is offline
Regular
 
Join Date: Nov 2005
Posts: 75
Default Install .vs. stand-alone exe


I have a VB2008 windows application for a user who does not have admin rights. When a new installation package is brought to the site we have to arrange IT to do the installation. This is a single-user application used on a standalone PC.

Is there any big advantage to using an install package that updates the registry .vs. merely releasing a standalone executable file? The standalone file would make life a lot easier for us.
Reply With Quote
  #2  
Old 09-13-2010, 10:16 AM
AtmaWeapon's Avatar
AtmaWeaponInstall .vs. stand-alone exe AtmaWeapon is offline
Fabulous Florist

Forum Leader
* Guru *
 
Join Date: Feb 2004
Location: Austin, TX
Posts: 9,500
Default

The main considerations are whether you have external dependencies, whether you want it in Program Files, and whether you make changes to the user's system.

If your program relies on other DLLs, it can be more difficult to distribute the program as a standalone executable. If the DLLs need only be in the same directory, using a zip file for distribution is an easy solution. If they are COM DLLs or some other library that needs to be registered on the system, you're going to need admin privileges anyway so you may as well use an installer that does it nice and neat instead of relying on a README.TXT with dozens of steps.

Standalone executables should be able to run from a USB drive and leave no trace on the system. If your program uses the registry or writes to files anywhere but its own directory (exclusion: if the user can save files to a location they choose that doesn't count) then it should use an installer so an uninstall utility that removes its leftovers can be created. Alternatively, you could write a utility that does the same thing and is distributed, but that might require admin privileges so it'd be no less effort than an installer.

Finally, if you want the program to reside in the Program Files directory, you need admin privileges. If this is a requirement then you can't really use a standalone executable.
__________________
.NET Resources
My FAQ threads | Tutor's Corner | Code Library
I would bet money 2/3 of .NET questions are already answered in one of these three places.
Reply With Quote
  #3  
Old 09-14-2010, 08:03 PM
kguarino kguarino is offline
Regular
 
Join Date: Nov 2005
Posts: 75
Default setup and deploy

Thanks for the info. so I have my project and want to set up deploy files. I followed the instructions to creaete the entry::

- On the File menu, point to Add, then click New Project.

- In the resulting Add New Project dialog box, in the Project Types pane, open the Other Project Types node and select Setup and Deployment Projects.

- In the Templates pane, choose the type of deployment project you want to create.

Then wanted to:

To set configuration-dependent properties
- In Solution Explorer, select the setup project node.

- On the View menu, choose Property Pages.

- Select a configuration from the Configuration list.

But the project node does not exist

I am lost...
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Install .vs. stand-alone exe
Install .vs. stand-alone exe
Install .vs. stand-alone exe Install .vs. stand-alone exe
Install .vs. stand-alone exe
Install .vs. stand-alone exe
Install .vs. stand-alone exe Install .vs. stand-alone exe Install .vs. stand-alone exe Install .vs. stand-alone exe Install .vs. stand-alone exe Install .vs. stand-alone exe Install .vs. stand-alone exe
Install .vs. stand-alone exe
Install .vs. stand-alone exe
 
Install .vs. stand-alone exe
Install .vs. stand-alone exe
 
-->