+ Reply to Thread
Results 1 to 3 of 3

Thread: Creating a Custom Uninstall

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2010
    Location
    Willow Spring, NC
    Posts
    3

    Default Creating a Custom Uninstall

    Hi,

    I am trying to create a custom uninstall. I have been successful as far as removing all files (both those created by the installer, and those created by my software), but I can not seem to remove the desktop Icon, Start Menu Program and the ITem under Add/Remove Programs (Programs and Features - depending on your version of windows) can someone help.

    Thanks,
    Justin

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Creating a Custom Uninstall

    Justin,

    The Desktop icon and Start Menu Program items are nothing more or less than files. So you can use the "Delete File(s)..." script function here.

    Let us assume, you have a test.lnk Shortcut in the All Users "MyApp" Start Menu. Then you simply delete %_CSIDL_COMMON_PROGRAMS%\MyApp\test.lnk

    To locate the Desktop folder, just use %_CSIDL_COMMON_DESKTOPDIRECTORY%

    In Windows, Add/Remove Programs are stored (for all users) in the registry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Uninstall\{YourProductIdentifier}. Just use the "Edit Registry..." script function to remove the keys and values.

    Does this help?

    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com
    +1.954.252.3910

    SetupBuilder is Windows 7 installation -- "point. click. ship"

    -- Official Comodo Code Signing and SSL Certificate Partner

  3. #3
    Join Date
    Nov 2010
    Location
    Willow Spring, NC
    Posts
    3

    Default Re: Creating a Custom Uninstall

    Thanks for your help

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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