Note: you probably don't need to do 1 if you do 2.

You'll need a CustomAction to toast an entire directory tree.  You can clean 
all files out of a set of directories using the RemoveFile and RemoveFolder 
elements.  However, your trading off describing all of the files for custom 
code and a less robust installation.  The Windows Installer install/uninstall 
code is very well tested (by this time) so using it without adding custom code 
is always ideal.

Personally, I would do work to describe all of the files to get the confidence 
that my install costing/install/uninstall/repair/upgrade would all work well.

-----Original Message-----
From: Jason Van Eaton
Sent: Friday, March 30, 2007 7:54 PM
To: Rob Mensching; wix-users@lists.sourceforge.net
Subject: RE: Disk costing, directory deleting

1.  Thanks.

2.  I am not going to describe all of the objs, generated headers, binaries, 
pdbs, etc.  I am just looking for a way to nuke the directory and tie that into 
a user option in the UI.

JVE

-----Original Message-----
From: Rob Mensching
Sent: Friday, March 30, 2007 3:10 PM
To: Jason Van Eaton; wix-users@lists.sourceforge.net
Subject: RE: Disk costing, directory deleting

1.  ReserveCost element.

2.  If you describe all of the files in the MSI, then MSI will clean up 
properly.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Van Eaton
Sent: Friday, March 30, 2007 1:21 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Disk costing, directory deleting

I need to accomplish 2 tasks and I am not seeing any obvious solutions (using 
3.0.2420.0).

1.      I am creating a source code install.  I would like to prevent users 
from installing on drives that that do not have enough room to build the source 
code.  So although the source itself only consumes 220MB, I would like to 
"reserve" 2GB.  Is that possible?
2.      When uninstalling, I would like to provide an option to delete the 
INSTALLDIR in its entirety (whether empty or not).  How should I accomplish 
that?

Thanks for your help.

JVE




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