[2005] Placing an uninstaller in my Start Menu
Ok, I am using VS 2005 Professional, and I have placed a 'Shortcut' to my program using the setup project, which does it for you:)
Now I am wanting to place an uninstaller in there using the setup project GUI thing, could anyone tell me how, I've spent atleast 30 minutes trying my idea's, and I have run out :D
Thanks
Re: [2005] Placing an uninstaller in my Start Menu
In 2008 its a supported feature now but for 2005 I guess you can make a shortcut, like you do for the desktop to the app but place it in the programs folder and point it to the uninstaller exe or msi.
Re: [2005] Placing an uninstaller in my Start Menu
I tried that, this is what I did:
I made my setup wizard project, and built it(so it is published to my desktop as Uninstaller.msi)
And then I went and imported it into my Files in the setup wizard, and then I made a shortcut for it in the Start Menu, then I published it again, and installed it, however I clicked uninstall and it said stuff about the current version being newer and it was unable to install (if it opens properly, it changes the dialog to 'repair' and 'uninstall' instead of install)
How else could I do this, is that what you meant?
Re: [2005] Placing an uninstaller in my Start Menu
Check theis article and also the part II as it goes over step by step setup of a setup project.
http://visualbasic.about.com/od/usin...etupProj01.htm
Re: [2005] Placing an uninstaller in my Start Menu
Is it possible to use VS 2008 to make a .Net 2.0 installer that has the uninstall feature? Since I've found a flaw with every method for including an UnInstall start menu shortcut and this application, MSI installer included, can only run on .Net 2.0
Re: [2005] Placing an uninstaller in my Start Menu
You can have your app target 2.0 with 2008. Select the target framework in your project properties.
Project Properties > Compile > Advanced Compile Options > Target Framework > select 2.0 > Ok