MSI Delete Files dynamically created via MST (Orca)
12/12/2016 1775 views
I have a simple MSI that I added a file to via symantecs and this sites guide for adding files. For now I just stuffed a text file into a cab as an experiment using makecab and orca and this works properly.
Since for this project I really just need to stick to only having an MST file without any external scripts, I found that when I uninstall the MSI the uninstall process does not remove the text file I created. I added the RemoveFile and pointed it to the component and file name I created in order to add the one file following the guide below.
For some reason it doesn't work. Not sure if it matters, but I am on Win 7 x64, and altered a simple msi to put the file into c:\windows\syswow64\macromedia\flash
The weird thing is the file installs correctly, I just can't seem to delete it when using the same account I used to install the application in the first place.
Here are the parts from the logs.. my first guess is that it said it was absent.. is this a folder redirect issue?
MSI (s) (34:54) [11:41:15:592]: WIN64DUALFOLDERS: 'C:\Windows\system32\' will substitute 20 characters in 'C:\Windows\SysWOW64\Macromed\Flash\mms.cfg' folder path. (mask argument = 1, the folder pair's iSwapAttrib member = 1).
MSI (s) (34:54) [11:41:15:592]: Component: mms.cfg; Installed: Local; Request: Absent; Action: Absent; Client State: Local
MSI (s) (34:54) [11:41:17:116]: The file represented by File table key 'mms.cfg' has no eligible binary patches