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.

While some controls within Visual Studio include a property to have a ToolTip, some do not. Take the case of a PictureBox. Since there is no tooltip property for you to set a tooltip text, you would have to do it programmatically. The ToolTip class is part of the System.Drawing namespace. To add a tooltip to a PictureBox object, simply do this code.

It seemed like only yesterday … how time flies by so fast. I guess checking my tech site’s page rank came to mind after I had a paid blog offer in my travel blog and it mentioned it needed a PR3 site. Whoa! I thought to myself. I longed for the day when my site would have a PR3 rating and now it is finally one. I guess the trick here is not to expect everyday if your site has its page rank rating increase. Yey! PR3 … I am very happy. Thank you to everyone who keeps on visiting my tech blog everyday and to those who support it.

Whether it is buying me a cup of coffee via PayPal (though I never had any yet lolz), or just plain visiting and reading the posts, much appreciated by me. Thank you again and keep on visiting!

Related Posts Plugin for WordPress, Blogger...