mysqlIf during your MySQL installation you get an error that says something like “setup ended prematurely”, and you are trying to install it in a Windows Server 2003 box, chances are the MySQL installer version that you are using is past 5.1.34

I had that same problem when I tried to install version 5.1.36 of MySQL. There is a bug which is the reason why it gives that error and does not proceed with the installation. Same goes with version 5.1.35. Just download the version 5.1.34 and use that

Creating a setup wizard within Visual Studio does not include an uninstall shortcut with it. The uninstalleasiest and quickest way would be to do the following. This post assumes you already know how to create a setup wizard.

Create a batch file (say name it uninstall.bat) with the contents below
@echo off
msiexec /x {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}

Where {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} is the product code that is found in your setup project’s product code. Make sure you include the brackets as well.

Under Application Folder, right click, choose ADD, then FILE and browser to where uninstall.bat is located. Under User’s Program Menu, right click and create a shortcut. Then browser to Application Folder and choose the uninstall.bat file that you just added.

Rebuild your project and voila! Your uninstall shortcut is now included when the setup wizard installs your application.

Related Posts Plugin for WordPress, Blogger...