Take note of the dependencies discovered by the project already all I had to do was add the output of the project listed above WebSetup1 and save it and these dependencies were discovered automatically using the api to see what system files were referenced by my program a. So if you are still interested at this point scroll on down and continue reading.īasic of Creating an Installation in Visual Studioįirst examine the Solution Explorer view of the Web Setup Project One the best is at if you are interested and I think it will be worth your time and effort to add this to your personal list of Programming and Development skills. I won't go into an extremely detailed desciption of MSI itself as there are plenty of articles on that topic. You might wonder (or even groan a bit) about having too many choices and options but if you simplify your own thinking it will be easier to deal with creating you own installation. Microsoft has moved us through several iterations of Installation API's and now we are currently at the MSI level and current versions of Visual Studio support the creation of that type of installation. We have services that need to be installed and started, registry entries to add and network security issues to be dealt with but the main function of an installation is still to simply place new files on a machine that currently does not have them installed. Net assemblies and ActiveX/Com objects that need to be registered. The complexity has continued to rise over the years and now we Have. Later on we added Windows and the Mac GUI to our systems and we added the requirement of modifying and adding shortcuts and menus to systems in order to make our programs accessible to the user of the particular computer. Alright that's nice but what does it mean? Well not too long ago most program Installations did not require much more then copying the files required and simply typing the command line to start that program. So let me begin with describing what a basic Installation is.Īn installation is simply placing a file or files belonging to a software program to a particular location on a computer that currently does not have the program installed or available currently. You gain features like automatic dependency recognition this is what makes using this program useful by doing less to accomplish more. It is easier for you to add an additional project now to an existing solution that contains the project you wish to create a setup project for. If you haven't noticed it previously while working in Visual Studio and you are now thinking about creating an installation for your own software then this is where you will need to go in order to add a new setup project to your current solution. Before you move onto reading the rest of this article make note of the graphic above.
0 Comments
Leave a Reply. |