What happens when the user clicks cancel and rolls your uninstall back?  Do you 
need those files.

-----Original Message-----
From: vivek.anandan [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 02, 2008 18:04
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Delete temp files during uninstall


Thanks for all answers. This is the final code that worked and I needed to
run
it twice as I had to clean up two directories.

<CustomAction Id="SetGadgetManagerCmdLine" Property="QtExecCmdLine"
Value='"[SystemFolder]\Cmd.exe" /c rmdir /s /q
"[WindowsFolder]\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\myappe"'/>

<CustomAction Id="RunGadgetManager" BinaryKey="WixCA" DllEntry="CAQuietExec"
Impersonate='yes' Return='check' />

<CustomAction Id="SetLaunchCplCmdLine" Property="QtExecCmdLine"
Value='"[SystemFolder]\Cmd.exe" /c rmdir /s /q
"[WindowsFolder]\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\maypp1"'/>

<CustomAction Id="RunLaunchCpl" BinaryKey="WixCA" DllEntry="CAQuietExec"
Execute='immediate' Impersonate='yes' Return='check' />




Eitan Behar-3 wrote:
>
> Fixing a little the code below:
>
> use ' instead of " to surround the string value, this is to allow using "
> instead of &quote; and the closing " right after cmd.exe.
>
>
> <Property Id="QtExecCmdLine" Value=*'*"[SystemFolder]\Cmd.exe" /c rmdir /s
> /q "[WindowsFolder]\Microsoft.NET\Framework\v2.0.50727\Temporary
> ASP.NET<http://asp.net/>
> Files\myapplication"*'*/>
>
> The generic syntax is:
>
>  <Property Id="QtExecCmdLine" Value=*'*"command-surrounded-with-quotes"
> command-parameters*'*/>
>
> Eitan
> -------------------------------------------------------------------------
> 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-tp1130780p1140612.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


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