Delete Files Command Not Working

Got a problem you cannot solve? Try here.
Post Reply
spbrady
Posts: 7
Joined: Tue Jul 10, 2007 12:57 pm
Contact:

Delete Files Command Not Working

Post by spbrady »

Hello,

I am trying to use the delete files command:

Delete Files C:\\Temp\\WCTest.txt (When installing)

It does not delete the file...just continues onto the next line.

What am I doing wrong, or am I not understanding this command?

What command should I use to delete a temporary file?

Thanks for the help
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Please read the help file topic "Setup Commands Preceding Apply Uninstall" for a discussion and explanation of this behavior.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
SteveDude
Posts: 253
Joined: Wed Apr 11, 2007 6:07 pm

Repeated Questions

Post by SteveDude »

Just a suggestion, I see many of the same questions asked over and over again, this being one of them (I'm just as guilty as anyone, especially when first started using IA). Maybe you guys should add a new common questions or FAQ's section to the forum. Maybe even make it read only so people can skim through it quickly. I know a lot of it is in the help files, but some of it requires a bit of digging and who reads help files? :)
Edhy
Posts: 138
Joined: Sun Jul 31, 2005 4:09 pm
Location: New York, USA

Re: Repeated Questions

Post by Edhy »

SteveDude wrote:Just a suggestion, I see many of the same questions asked over and over again, this being one of them (I'm just as guilty as anyone, especially when first started using IA). Maybe you guys should add a new common questions or FAQ's section to the forum. Maybe even make it read only so people can skim through it quickly. I know a lot of it is in the help files, but some of it requires a bit of digging and who reads help files? :)
I wonder, if it could be possible by IA to catch those commands that will not have any effect when use before the Apply Install command in the build process and generate an error/warning.
Edhy Rijo
Thom Child and Family Services
Post Reply