Hi Vivek,

You have at least these options:

1)Create a DTF custom action
2)Create a VB script custom action
3)Look into Quiet Execution Custom Action (ref Wix Help file)

and then put a condition like REMOVE="ALL" so it does not get run on
installs.

If these files and folders are not installed by the msi, you can not use
RemoveFolder or RemoveFile(s) according to the help file documentation.

Kind regards,

Hans


> I have a requirement to delete temporary files at
> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files. As the number of directories and files created by the application
> are
> close to 200 and RemoveFolder,RemoveFile with "*" is only
> on a directory and not recursive, makes it harder to do for every
> directory.
> Do we have any other solution?
> Can we run a dos command rmdir /s /q? If so how to do it in WiX?
>
> thanks,
> Vivek
>
> <wix-users@lists.sourceforge.net>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to