• Uninstallers and desktop icons

    Home » Forums » Developers, developers, developers » DevOps Lounge » Uninstallers and desktop icons

    Author
    Topic
    #508069

    I’m about to issue a new software version while also switching to using a different type of installer for my clients. I’m assuming that I need to get them to uninstall the existing software, but I suspect that some may not bother (or perhaps understand how to uninstall something). The new installer will use a different folder under Program Files for the new version, so in theory they can uninstall later as long as this does not inadvertently remove any shortcuts created by the new installer. So I’m wondering how an uninstaller determines which icon to remove from the desktop (and program list). Is it purely the name of the .lnk file recorded during the original installation? Thanks for any input!

    Viewing 1 reply thread
    Author
    Replies
    • #1589973

      Because any shortcut can be copied or moved by an end-user, any installation EXE can miss where the old shortcuts reside.

      "Take care of thy backups and thy restores shall take care of thee." Ben Franklin, revisted

      • #1590003

        Thanks! Are you confirming that the installer simply records the name and location of the .lnk file for later use by the uninstaller? My concern is that, by using a completely different installer, I need to use a different name for the Desktop shortcut, to prevent the original installer from deleting it if they uninstall the old version after installing the new one. The new version’s executable is in a different subfolder of “program files.”

        • #1590007

          Are you confirming that the installer simply records the name and location of the .lnk file for later use by the uninstaller? My concern is that, by using a completely different installer, I need to use a different name for the Desktop shortcut, to prevent the original installer from deleting it if they uninstall the old version after installing the new one. The new version’s executable is in a different subfolder of “program files.”

          If your new installer is MSI-based (i.e. uses Windows Installer – originally called ‘Microsoft Installer’ – hence the .MSI file extension) then, even if uninstallation of the ‘old’ installation did remove the ‘new’ desktop shortcut, all the user would have to do it launch a ‘repair’ of the new installation. This would see that the desktop shortcut was missing and re-create it.

          If you aren’t using an MSI-based installation builder then consider adding a script/cmd (with a text file how to use it) to the installation that will re-create any missing desktop shortcut.

          Hope this helps…

    • #1590123

      Thanks! It is actually the opposite. The new installer is non-MSI, while the old installer was an old version of Installshield that I am retiring. I think the solution may be to rename the icon, let people install the new version and then have them use uninstall at their leisure to remove the old one. I’ll have some instructions to help them understand that they have (this whole problem started because the InstallShield installer was failing more frequently on some systems, leading to my discovery of a much simpler and less expensive alternative).

    Viewing 1 reply thread
    Reply To: Uninstallers and desktop icons

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: