I know but I have to take this scenario anyway. Tomcat behaves so dodgy
in my scenario.
 
Cheers,
Hooman

  _____  

From: Simon Dahlbacka [mailto:[EMAIL PROTECTED] 
Sent: 09 May 2007 13:41
To: Hooman Amini
Cc: Mike Dimmick; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] run a dos command through wax


Not knowing anything about your specific scenario, but generally
deleting folders over which you don't have control seems like a Bad Idea


On 5/9/07, Hooman Amini <[EMAIL PROTECTED]> wrote: 

        The problem is the folder is not empty and I have no idea during
the installation that what it may contain. I just need to remove the
folder. do you have a code to do it. I already tried removefiles with
wildcard option but it doesnt delete all the files and folders inside
the parent directory anyway.
         
        Cheers,
        Hooman Amini

  _____  

        From: Mike Dimmick [mailto:[EMAIL PROTECTED] 
        Sent: 08 May 2007 19:36
        To: 'Hooman Amini'; wix-users@lists.sourceforge.net
        Subject: RE: [WiX-users] run a dos command through wax
        
        
        

        'rmdir' is not a separate program but a cmd.exe built-in
command.

         

        If you want to remove a directory on installation, use a
RemoveFolder element.

         

        -- 

        Mike Dimmick

         

        
  _____  


        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hooman
Amini
        Sent: 08 May 2007 16:19
        To: wix-users@lists.sourceforge.net
        Subject: [WiX-users] run a dos command through wax

         

        Hello,

         

        I tried to run the following command:

         

        <CustomAction Id= "RemoveWebApps.Command"

        Property= "QtExecCmdLine" Value='"rmdir.exe" /s /q
"[%CATALINA_HOME]\webapps" '/>

        <CustomAction Id= "RemoveWebApps" Execute ="immediate"
BinaryKey="wixca" DllEntry="CAQuietExec" Return="ignore " />

         

        but it doesnt seem to work properly. is it technically possible
to parse switch parametes like /s /q?

         

        Cheers,

        Hooman

        
        
        
        -------------------------------------------------------
        QAS Ltd.
        Registered in England: No 2582055
        Registered in Australia: No 082 851 474
        -------------------------------------------------------
        
        Disclaimer: The information contained within this e-mail is
confidential and may be privileged. This email is intended solely for
the named recipient only; if you are not authorised you must not
disclose, copy, distribute, or retain this message or any part of it. If
you have received this message in error please contact the sender at
once so that we may take the appropriate action and avoid troubling you
further. Any views expressed in this message are those of the individual
sender. QAS Limited has the right lawfully to record, monitor and
inspect messages between its employees and any third party. Your
messages shall be subject to such lawful supervision as QAS Limited
deems to be necessary in order to protect its information, its interests
and its reputation. 
        
        Whilst all efforts are made to safeguard Inbound and Outbound
emails, QAS Limited cannot guarantee that attachments are virus free or
compatible with your systems and does not accept any liability in
respect of viruses or computer problems experienced.


        
------------------------------------------------------------------------
-
        This SF.net email is sponsored by DB2 Express
        Download DB2 Express C - the FREE version of DB2 express and
take
        control of your XML. No limits. Just data. Click to get it now. 
        http://sourceforge.net/powerbar/db2/
        _______________________________________________
        WiX-users mailing list 
        WiX-users@lists.sourceforge.net
        https://lists.sourceforge.net/lists/listinfo/wix-users
        
        


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to