none
Uninstall shortcut RRS feed

  • 問題

  •  

    I am using Visual Studio 2005 and creating a setup wizard.

     

    Question:

    How do I create a shortcut for application uninstalling on my program menu?

     

    thnaks

    2007年11月26日 上午 02:36

解答

  • Although uninstall shortcuts used to be common they're not used much these days. You're supposed to direct people to use Add/Remove Programs and not clutter up the Start menu. Plus it's got other options like Repair and support links. So there is no built-in support to do this. The shortcut would need to run msiexec /x {your product code guid}, and you'd have to create it with code (a custom action).

     

    2007年11月26日 下午 10:52
    版主

所有回覆

  • Although uninstall shortcuts used to be common they're not used much these days. You're supposed to direct people to use Add/Remove Programs and not clutter up the Start menu. Plus it's got other options like Repair and support links. So there is no built-in support to do this. The shortcut would need to run msiexec /x {your product code guid}, and you'd have to create it with code (a custom action).

     

    2007年11月26日 下午 10:52
    版主
  • I didnt know Jessica Alba was a developer too. I can code for you for free if you have a cup of coffee with me :P
    Fahad
    2011年5月25日 下午 03:02