Uhh, RemoveFile element?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jesse Englert
Sent: Monday, December 11, 2006 15:44
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Custom Action to Delete File

How do you author WiX to remove files not installed by the MSI? In my
scenario I have a self-extracting installer which extracts files to the
%SYSTEMDRIVE% and then launches a bootstrapper which in turn launches
the MSI.  I would like the MSI to remove the files that were
self-extracted after a successful install. I attempted the following
with no luck:

    <Property Id='CMD'>cmd.exe</Property>
    <CustomAction
      Id='DeleteFile'
      Property='CMD'
      ExeCommand='/C del c:\deleteme.txt'
      Return='asyncNoWait' />

    <InstallExecuteSequence>
      <Custom Action='DeleteFile' After='LaunchConditions'></Custom>
    </InstallExecuteSequence>

Any suggestions on how to accomplish this problem?

--
Jesse Englert
Software Engineer
Applied Technologies
Tel: 805-239-9100


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to