This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- problem with using wild card in FileName - RemoveFile Table
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 26, 2009
05:34 PM
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.
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.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 27, 2009
06:47 PM
Has anyone used *.* for FileName in RemoveFile table before? Did that wirk for you?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 27, 2009
09:10 PM
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?
[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?