Re: [WiX-users] Disk costing, directory deleting

2007-04-02 Thread Rob Mensching
1.  You are correct.  I didn't read the mail that way.

2.  Yes, RemoveFile and RemoveFolder could be used.  However, I would question 
the intention to delete everything out of a directory where the user could put 
data.  Personally, I would be a very unhappy developer if I added some other 
files for the project then uninstalled and found that all my hard work was 
removed by some uninstaller.

User data is a very tricky thing to manage.  I follow the rule, "If in doubt, 
leave the user's stuff alone."  As noted on another thread, I'm still looking 
for a bit smarter way of managing user data.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Monday, April 02, 2007 6:31 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Disk costing, directory deleting

In response to Jason Van Eaton's question about deleting all files in a
folder on uninstall (including ones that were not initially installed)
Rob Mensching responded:

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.


Rob,

I suspect you missed the point. The way I read Jason's original message
it sounds as if he has no problem doing that with the *source* files.
The problem is the files created by whatever tool is used to build the
supplied code.

While Jason developed the code using Visual Studio, there is no
guarantee that someone receiving the code will be using the same version
of Visual Studio. They may not even be using it at all and be using (for
example) SharpDevelop instead. These different tools may generate
intermediate and additional files with different names and I believe it
is not sensible to try and handle all of them in the install/uninstall
when they are not directly related to the product supplied.

Perhaps I'm being stupid here (wouldn't be the first time! :-) ), but
what would prevent him from using RemoveFile and/or RemoveFolder?

Regards,
Richard



* C O N F I D E N T I A L I T Y N O T I C E *
---
The content of this e-mail is intended solely for the use of the individual or 
entity to whom it is addressed. If you have received this communication in 
error, be aware that forwarding it, copying it, or in any way disclosing its 
content to any other person, is strictly prohibited. Peek Traffic Corporation 
is neither liable for the contents, nor for the proper, complete and timely 
transmission of (the information contained in) this communication. If you have 
received this communication in error, please notify the author by replying to 
this e-mail immediately and delete the material from any computer.



-
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


Re: [WiX-users] Disk costing, directory deleting

2007-04-02 Thread Richard.Foster
In response to Jason Van Eaton's question about deleting all files in a
folder on uninstall (including ones that were not initially installed)
Rob Mensching responded:

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.


Rob,

I suspect you missed the point. The way I read Jason's original message
it sounds as if he has no problem doing that with the *source* files.
The problem is the files created by whatever tool is used to build the
supplied code.

While Jason developed the code using Visual Studio, there is no
guarantee that someone receiving the code will be using the same version
of Visual Studio. They may not even be using it at all and be using (for
example) SharpDevelop instead. These different tools may generate
intermediate and additional files with different names and I believe it
is not sensible to try and handle all of them in the install/uninstall
when they are not directly related to the product supplied.

Perhaps I'm being stupid here (wouldn't be the first time! :-) ), but
what would prevent him from using RemoveFile and/or RemoveFolder?

Regards,
Richard



* C O N F I D E N T I A L I T Y N O T I C E *
---
The content of this e-mail is intended solely for the use of the individual or 
entity to whom it is addressed. If you have received this communication in 
error, be aware that forwarding it, copying it, or in any way disclosing its 
content to any other person, is strictly prohibited. Peek Traffic Corporation 
is neither liable for the contents, nor for the proper, complete and timely 
transmission of (the information contained in) this communication. If you have 
received this communication in error, please notify the author by replying to 
this e-mail immediately and delete the material from any computer.



-
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


Re: [WiX-users] Disk costing, directory deleting

2007-03-31 Thread Rob Mensching
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


Re: [WiX-users] Disk costing, directory deleting

2007-03-30 Thread Jason Van Eaton
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


Re: [WiX-users] Disk costing, directory deleting

2007-03-30 Thread Rob Mensching
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


[WiX-users] Disk costing, directory deleting

2007-03-30 Thread Jason Van Eaton
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