Announcement

Collapse
No announcement yet.

UninstallData.AddItem dicey behaviour

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • UninstallData.AddItem dicey behaviour

    Is there some secret to using UninstallData AddItem? Specifically with UNIDATA_FILES? It seems to work only about 50% of the time. Meaning the logged file sometimes gets removed on uninstall and sometimes doesn't. This is what I am doing in one of the the After Installing Screens:

    -- _AppFolder previously set to install directory:
    File.Install(_TempLaunchFolder.."\\myapp.exe", _AppFolder.."\\myapp.exe", FILE_INSTALL_OLDER);
    UninstallData.AddItem(UNINDATA_FILES, {Filename=_AppFolder.."\\myapp.exe"});

    I know that _AppFolder is correct because myapp.exe is getting installed to the correct directory. It is just that it is not always deleted by the uninstall. (myapp.exe is included as a Primer File, not in the File List).

    Is there some known issue with UninstallData.AddItem?

    I am using SUF 9.2 and testing on Windows 7 x64.

  • #2
    I would check the uninstall log file for hints. There are no known issues with that action.

    Ulrich

    Comment

    Working...
    X