Results 1 to 3 of 3

Thread: Adding program to Add/Uninstall List

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2010
    Posts
    1

    Smile Adding program to Add/Uninstall List

    Hey, how can i add a program to the add/uninstall program list? using vb.net
    Is it even possible?

    Thanks for who ever resolves this question ;D

  2. #2
    PowerPoster Jenner's Avatar
    Join Date
    Jan 2008
    Location
    Mentor, OH
    Posts
    3,712

    Re: Adding program to Add/Uninstall List

    Make a Setup Project or publish with the ClickOnce system.
    My CodeBank Submissions: TETRIS using VB.NET2010 and XNA4.0, Strong Encryption Class, Hardware ID Information Class, Generic .NET Data Provider Class, Lambda Function Example, Lat/Long to UTM Conversion Class, Audio Class using BASS.DLL

    Remember to RATE the people who helped you and mark your forum RESOLVED when you're done!

    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe. "
    - Albert Einstein

  3. #3
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: Adding program to Add/Uninstall List

    Definitely use a proper installer if it is your own program you are trying to install/add as Jenner suggests, but if you are for some reason wanting to add just any program you like to the Add/Remove Programs list then you just need to create registry key in this location: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall (name the new key anything you like but generally best to name it with the name of the program) and then within that new key create two REG_SZ type registry entries. One named DisplayName and one named UninstallString. DisplayName should hold the name that you want to appear in Add/Remove Programs and UninstallString should hold the full path to the EXE that will uninstall this program. There are other values you can add, DisplayVersion for example, but those two are the only essentials.
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width