Click to See Complete Forum and Search --> : Create EXE!
arpan_de
Nov 29th, 2005, 07:43 PM
Usually, to install a new software in a machine, one has to go through the installation setup to install the software i.e. after opening the exe, one will first asked to agree with the terms & conditions, then where to install the software, then whether to create desktop icons or place it in the Quick Launch folder etc....& after going through these steps, the software gets finally installed. The software also gets listed in the Add/Remove Programs in the Control Panel. Also the program gets added to the Start menu with different sub-menu items like Read Me, Help, Visit Website, Uninstall etc....
But when an EXE is created in VB, opening the EXE directly starts the application i.e. the user needn't go through all the above-mentioned installation steps to use the application. How do I make an EXE created in VB go through all those installation steps before it gets installed? Also I would like the application to get listed in the Add/Remove Programs so that users can uninstall the application from their machine. Also it should get added to the Start menu with different sub-items.
Thanks,
Arpan
si_the_geek
Nov 29th, 2005, 07:49 PM
This statement is wrong for many reasons:
But when an EXE is created in VB, opening the EXE directly starts the application i.e. the user needn't go through all the above-mentioned installation steps to use the application.
You cannot expect to just copy a executable file across to another computer and have it work. If it does work, you are just lucky that somebody else has bothered to create an installation package that has installed the components that you use.
Create an installation package.. you can do this with Package & Deployment Wizard that comes with VB, or one of the many other software pacakges that do this.
See our Application Deployment forum for more info and advice about which to use, and how to use it.
mebhas
Nov 30th, 2005, 12:38 AM
[Edited by MartinLiss to remove quote]anyways, if u dont create the installer, chances are the dependencies are not properly installed (quoting si the geek) and another thing that can go wrong is the files u need to add to the respective locations( like program settings, data, linked pictures etc) will get messed up if u dont know what u're doing. also what happens is u have to manually create the links in the start menu and the desktop/quick launch bar. i can go on more about the technicalities but i think i should stop here before i start seeing those dreaded yawns from u guys. :bigyello:
jeevan
Nov 30th, 2005, 03:42 AM
Exe file will not work like a installation file.To make it work like installer goto package and deployment wizard in microsoft visual studio tools.perform the steps.Be careful while creating installer.Check all the dependend files for u r application / exe if it has.Although P&D wizard gathers all the components but make sure and specify the path where u want to install.
This works perfectly.
But what the problem with P&D wizard is will not get this licence agreement/terms and conditions.It will just install the application.With this u r application works fine .For better installation go for other installers.
Regards
Jeevan :)
randem
Nov 30th, 2005, 03:44 AM
arpan_de,
I would start with ********** and Inno Setup (both can be found in my signature). There are other installers but I thinks that is best. Also please read Installation Problems in my signature.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.