thanks Hans.
Tried the third option of QTExec and it errors out.
with the following message:

CAQuietExec:  Error 0x80070057: failed to get command line data
CAQuietExec:  Error 0x80070057: failed to get Command Line

This is from my wxs:

<CustomAction Id="Test.Command"
      Property="QtExecCmdLine"
Value="&quot;c:\windows\system32\cmd.exe&quot; rmdir /s /q
&quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\myapplication&quot;"/>

      <CustomAction Id="Test"
                    BinaryKey="WixCA"
                    DllEntry="CAQuietExec"
                    Execute="immediate"
                    Return="check"/>



post wrote:
> 
> 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
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Delete-temp-files-during-uninstall-tp1130780p1132763.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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