Recursively Delete Files not working
Posted: Thu Nov 22, 2012 2:23 am
Hello Guys,
when installing one of our software products, I want to delete the cache files from older versions.
They are in appdata. So I tried the function "Recursively Delete Files" with native_engine=true and without.
But nothing happens. The folder with subfolder and files are still exist.
How can I remove everything? The best thing would be to delete the whole folder.
Set Variable native_engine to true
Recursively Delete Files $MYAPPDATA$MIK
Recursively Delete Files $MYLOCALAPPDATA$MIK
Set Variable native_engine to false
Recursively Delete Files $MYAPPDATA$MIK
Recursively Delete Files $MYAPPDATA$MIKbis
Recursively Delete Files $MYLOCALAPPDATA$MIK
end
when installing one of our software products, I want to delete the cache files from older versions.
They are in appdata. So I tried the function "Recursively Delete Files" with native_engine=true and without.
But nothing happens. The folder with subfolder and files are still exist.
How can I remove everything? The best thing would be to delete the whole folder.
Set Variable native_engine to true
Recursively Delete Files $MYAPPDATA$MIK
Recursively Delete Files $MYLOCALAPPDATA$MIK
Set Variable native_engine to false
Recursively Delete Files $MYAPPDATA$MIK
Recursively Delete Files $MYAPPDATA$MIKbis
Recursively Delete Files $MYLOCALAPPDATA$MIK
end