|
|
YOUR FEEDBACK
|
TOP MICROSOFT .NET LINKS Product Review
Wise for Visual Studio .NET
By: Rob Harrop
Digg This!
Perhaps the most important, yet most overlooked, area of application development is that of deployment. A flawed installation, or worse - one that corrupts other applications - does not instill faith in your software and makes for very unhappy clients. Having been in this situation myself, I took the time to investigate the various utilities available for creating Windows Installer-based setup applications. While at a trade show one day, I managed to get hold of a couple of evaluation copies of the most popular installation products. On my flight back across the Atlantic I had the chance to come to grips with the various products, and by the time I landed back in the UK, my mind was made up to use Wise for Windows Installer. Since then my job has become focused predominately on .NET development and I find myself with a couple of new challenges. I am no longer faced with DLL versioning problems, and I rarely need to configure the registry when I deploy a .NET application, so to all intents and purposes I could just use XCOPY deployment and be done. Alas, no. It seems my clients like desktop shortcuts, file associations, and icons in the Start menu, so I have found myself again returning to the Wise Installer, in its latest incarnation fully integrated with Visual Studio .NET.
Windows Applications When deploying Windows applications I can build an installer routine in about an hour using Wise for Visual Studio .NET. My project files are automatically synchronized with the output from my Windows Forms projects, meaning that I can be perfectly sure I am sending the latest version to my client. With a couple of mouse clicks, I can add external files, as well as create shortcuts on the desktop and in the Start menu. On the rare occasion that I need to create Registry entries for my application, Wise allows me to either create Registry keys manually or to copy the keys from my development environment. Creating file associations for an application is just as simple, as everything in Wise for Visual Studio .NET is driven by a simple menu-based interface. The feature that annoys me the most about Visual Studio .NET is its inability to deploy the .NET Framework with an application. With Wise for Visual Studio .NET, this is no longer a problem. I can simply select the version of the .NET Framework I want to include, either 1.0 or 1.1, and which build of the specific version I require. Wise for Visual Studio .NET will then dynamically download the required EXE and include it in the final setup file.
Web Applications Thankfully, building an installer for this kind of application is just as simple as building one for a Windows application. Building an ASP.NET installer using Wise for Visual Studio .NET gives me full control of the IIS virtual directory on the target system, relieving me of any dependencies on the administrator at the client site. I can even verify that they have the correct version of IIS installed, handy for those clients who can't tell the difference between Windows NT 4.0 and Windows 2003. No ASP.NET application would be complete without a shiny new SQL Server database to store all its data. New to this version of Wise for Visual Studio .NET are the SQL Server installer tools, which allow a developer to execute SQL scripts against a target database. This is my favorite feature because I can load the schema into Wise for Visual Studio .NET directly from my development database, including any data that needs to be prepopulated in the database - something that goes way beyond the built-in scripting features of SQL Server Enterprise Manager.
Features for the Enterprise Wise for Visual Studio .NET uses the Wise Software Repository to compare the components and resources for your application against applications stored in the repository. Using this data, Wise highlights any possible conflicts that may occur, allowing you to fix them before you release your application. An important feature of Wise Software Repository is the ability to group your applications so that testing takes place against a specific group of applications as opposed to every application in the repository. In my company we have grouped our applications by client, but you may choose to group them by department in your own enterprise. To allow for compatibility with applications across the enterprise, Wise can import the setup.exe file for any application and have it analyzed and included in the repository. I use this functionality all the time, importing my clients' commonly used applications into the repository so I can test for compatibility before I deploy. With Software Manager, I can easily manage and organize the application data stored within the Wise Software Repository. Software Manager, which launches from directly within Visual Studio .NET, allows me to import and delete applications within the Wise Software Repository, as well as create and manage application groupings. This process takes very little time, but has saved me countless hours during deployment. Using Software Manager you can generate reports about the shared files and registry entries across your enterprise or on an application-by-application basis. These reports are invaluable to developers, as they can be made fully aware of the target system layout before they start coding, thereby saving time and money on expensive recoding efforts at a later date. I have even started to use these reports to placate wary administrators at the client site who are worried about application compatibility.
Conclusion You can create installations for SQL Server database, Web applications, Windows clients, and even mobile clients running on Windows CE or Palm OS. With 90% of the information needed for your installer being drawn directly from your development environment, creating a set of installers like this takes no more than an hour. What makes it so much better is that, if your Wise Software Repository is up to date, then testing your application for compatibility is simple. Wise also offers an Enterprise version of Wise for Windows Installer, which is nonintegrated and can be used by .NET developers who are not using Microsoft Visual Studio .NET for their development.
Company Info
Test Environment
MICROSOFT .NET LATEST STORIES
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
|
SYS-CON FEATURED WHITEPAPERS MOST READ THIS WEEK BREAKING NEWS FROM THE WIRES
|
|||||||||||||||||||||||||||||||||||