Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How to delete files during an uninstall?


1 reply to this topic

jjdajadams

jjdajadams
  • Members
  • 3 posts

Posted 23 June 2004 - 18:31

How do you remove files during an uninstall? I am using the XML WIX script to create the MSIs and cannot figure out how to remove files after the uninstall. There are two files which need to be removed, one place in "documents and settings/<user>/Local Settings/Application Data/<vendor>/<vendor application>". My challenge is in how to find the users directory, once that is there it would not be too hard to discover the rest and remove the file. Are there any defined variables in MSI world which define this? Also, I have one file under the TARGETDIR which the app creates and needs to be removed on the uninstall.

Thanks.

John

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 24 June 2004 - 06:24

I think what you are looking for is the LocalAppDataFolder property.
To remove these files add them to the RemoveFile table.