cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
grparsec
Level 7

problem with using wild card in FileName - RemoveFile Table

Hello all,

I am trying to delete a few files in my upgrade. I've added the files to the RemoveFile Table but the ones that I have refrenced with wild card (for example *.gif) do not get deleted when I run the upgrade setup. However the oned that I have used the complete names for are getting deleted. I am wondering why wild cards are not working?

By the way, I am using dynamic file linking.
Labels (1)
0 Kudos
(2) Replies
grparsec
Level 7

Has anyone used *.* for FileName in RemoveFile table before? Did that wirk for you?
0 Kudos
RobertDickau
Flexera Alumni

If you create an MSI log file during uninstallation, does it say anything about RemoveFiles? In a quick test, I get these "FileRemove" operations for three files (1.tmp, Copy of 1.bmp, Copy of Copy of 1.tmp) in INSTALLDIR:
[code]Executing op: ActionStart(Name=RemoveFiles,Description=Removing files,Template=File: [1], Directory: [9])
Executing op: ProgressTotal(Total=3,Type=1,ByteEquivalent=175000)
Executing op: SetTargetFolder(Folder=C:\Program Files\Sample Co\RemoveThese\)
Executing op: FileRemove(,FileName=1.tmp,,)
Verifying accessibility of file: 1.tmp
Executing op: FileRemove(,FileName=Copy of 1.tmp,,)
Verifying accessibility of file: Copy of 1.tmp
Executing op: FileRemove(,FileName=Copy of Copy of 1.tmp,,)
Verifying accessibility of file: Copy of Copy of 1.tmp[/code]

Perhaps post the contents of your project's RemoveFile records?
0 Kudos