Hi all,
I want to remove a file that is not included in installer (application generate it), at installation, uninstallation and during maintenance install.
I think this can be achieved using custom action, but it is better if this will be achieved on general standard msi sequence.
Adding an entry to RmoveFile table with InstallMode=3 works fine on installation and uninstallation but on maintenance install the file reamains.
Any ideas ?
Thanks in advance.
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.
how to remove file on maintenance install
Started by
tktk
, Mar 13 2007 06:04
2 replies to this topic
Posted 13 March 2007 - 22:05
I belioeve the RemoveFile table only removes a file if there is a state change in the associated component (install or uninstall, but nor repair). So you will need a custom action (why doesn#t your application clean up this temp file in the first place?).
Stefan Krüger
InstallSite.org twitter facebook
Posted 15 March 2007 - 02:51
Hi Stefan, thank you for reply.
OK, I will do that by custom action.
OK, I will do that by custom action.
QUOTE |
why doesn#t your application clean up this temp file in the first place? |
Because the file is kind of a cache file.
Thank you again.