Reply to Thread

Post a reply to the thread: Files not uninstalled

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 09-09-2013, 06:09 AM
    linder

    Re: Files not uninstalled

    I'm glad that it's working fine now!

    and Yes - I do hate computers! <g>

    Friedrich
  • 09-09-2013, 05:41 AM
    Chris

    Re: Files not uninstalled

    Ha !!

    I could not see any difference between your .SB8 and mine (I went through mine and changed all things like "Backup replaced files" etc to be the same as yours. Mine still did not remove files when I used uninstall.

    So I renamed my files (just added a 2 at the end). And renamed the .EXE that get produced. Now everything works perfectly. Even the folder gets removed (from desktop shortcut or from Control Panel remove).

    I shall go and worry about the next problem...... :-)
  • 09-09-2013, 04:59 AM
    Chris

    Re: Files not uninstalled

    Thank you.
  • 09-09-2013, 04:47 AM
    linder

    Re: Files not uninstalled

    Sorry, "Working Directory" should be %TMPWINDIR% and NOT %TMPDIR% in your case.

    Friedrich
  • 09-09-2013, 02:58 AM
    linder

    Re: Files not uninstalled

    You are welcome, Chris

    BTW, I would suggest to change it to this "method":

    http://www.lindersoft.com/projects/support20130909B.zip

    If the "empty" folder remains and the installer created that folder then it's a permission problem. This happens when you start an uninstall from a Shortcut and the shortcut action "locks" the folder for some time. You can try to set the "working folder" in the Shorctut, but there is no guarantee that it always works. The uninstall should only be launched from the "Programs and Features" control panel.

    Friedrich
  • 09-09-2013, 02:51 AM
    Chris

    Re: Files not uninstalled

    Hi Friedrich

    Many thanks. The demo "almost" works :-)
    The files are removed, but the empty folder remains.

    So now I will try and work out what is different about "your" install .SB8 and mine.


    Re_ "against Windows guidelines"..... Yes, yes. But it's easier to tell this client (who does not understand computers) to Click on this item to run the program. And then click on the other icon. Rather than talk them through going to Control Panel and uninstalling this program -- trying not to uninstall other similar sounding programs by mistake......
    Be assured MOST of my installs do not have an uninstall desktop shortcut :-)

    Thanks again for your quick replies.
    Chris
  • 09-09-2013, 01:57 AM
    linder

    Re: Files not uninstalled

    BTW, just a quick suggestion. You should NOT create a Desktop shortcut for the Uninstall. This is against the Windows development guidelines.

    Friedrich
  • 09-09-2013, 01:50 AM
    linder

    Re: Files not uninstalled

    Chris,

    I have uploaded a demo for you:

    http://www.lindersoft.com/projects/support20130909A.zip

    Unzip the files into a temporary folder, open the project "Install FormatSites Utility LS.sb8" and compile/run it. It will install two dummy files into "C:\ABC6\TEMP_UTIL_X". Uninstall works without any problem. Tested on Windows XP, Windows 7 (x64) and Windows 8.1 (x64).

    Does this demo work for you?

    Friedrich
  • 09-09-2013, 01:37 AM
    Chris

    Re: Files not uninstalled

    Still doesn't work :-(

    I have added back the "Product GUID" and the "Upgrade GUID" (and "Product Version" is set to 1). Now when I install it, it does create an entry in the Control Panel UNINSTALL PROGRAMS list. (it didn't without the GUID).

    I've tried uninstalling via control panel, and also by calling the uninstall.exe directly. In both cases the result is the same as before. The installed programs and folder are not removed. I'm using Windows 8.0

    It works on your computer but not on mine.
    This is not an important issue (I can always get the client to manually delete the folder as this is a one-off temporary install). But I'd like to find out what I'm doing wrong so I get future install/uninstall projects correct.

    Any more things I can try :-)
  • 09-09-2013, 12:58 AM
    linder

    Re: Files not uninstalled

    BTW, see attached screenshots. We have created a "dummy" test install with your project and it works as expected (this is a Windows 8.1 x64 machine).

    What I have noticed is that you have removed the "Product GUID" and the "Upgrade GUID" (and "Product Version" is set to 1). You need a Product GUID in Windows to register your uninstall. So please put this information back (similar to the attached information in the "Product Properties").

    Friedrich
This thread has more than 10 replies. Click here to review the whole thread.

Posting Permissions

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