Feature Requests item #1479509, was opened at 2006-04-30 15:16 Message generated for change (Comment added) made by derekc You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642717&aid=1479509&group_id=105970
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: compiler Group: Next Release (example) Status: Open Priority: 5 Submitted By: Scott Anderson (osttocs) Assigned to: Derek (derekc) Summary: Hash Yes/No Attribute for File Element Initial Comment: Adding a Hash Yes/No attribute to the File element would give the installer author more control over unversioned files in the resultant MSI. In it's absence, the author must supply the -sh command line option to light.exe and manually set the DefaultSize property. This feature would be useful to optimize disk costing when a file hash is undesirable, i.e. very large unversioned files. ---------------------------------------------------------------------- >Comment By: Derek (derekc) Date: 2006-05-01 19:54 Message: Logged In: YES user_id=518766 Sorry, one more comment - since this is a new feature, it would only be present in WiX 3.0 (not 2.0). ---------------------------------------------------------------------- Comment By: Derek (derekc) Date: 2006-05-01 19:53 Message: Logged In: YES user_id=518766 Are you aware that relying upon the timestamps only looks at the timestamp of the file already on the machine? It does not compare the timestamp of the file being installed with that of the file on the machine (as might be expected). Basically, if it looks like the file on the machine has been modified (its created date and last modified date differ), the file will not be installed. By ommiting the file hash for unversioned files, you basically force the installer to assume that the file in the installation must be installed every time unless the file on the machine has been modified. This may have a significant impact on install and reinstall times if it takes longer to re-install the file than merely do the hash check on it. So basically, although the UI may seem more responsive without the hash check, the overall performance of reinstall/repair/patch operations will almost certainly be slower. ---------------------------------------------------------------------- Comment By: Scott Anderson (osttocs) Date: 2006-05-01 16:08 Message: Logged In: YES user_id=1272964 Yes. I am trying to avoid creating hashes for specific unversioned files. Here's an example. I have a collection of unversioned data files that have a total size of 960 MB. Three of the files are 114, 313, 475 MB in size. By default, the WIX generated MSI will cause the installer to compare file hashes when the files exist on the target machine. The file hashing takes considerable time during file costing and is done as a background task, which degrades the UI unless I put up a wait for costing dialog. I would prefer to use the file dates instead of hashes. I am rather new to this low level of an installer, so it's possible that there is a way to prevent hash creation or comparisons and I am simply not aware of it. I am able to get the behavior I am want by removing the large file entries from the MsiFileHash table using Orca or by adding the DefaultSize attribute to the files and light'ing with the -sh option. I would like to be able to automatically pull in the file information without creating a hash. According to the binder source code, this doesn't seem possible. ---------------------------------------------------------------------- Comment By: Derek (derekc) Date: 2006-05-01 15:43 Message: Logged In: YES user_id=518766 Could you please add some more information about your scenario? Are you trying to avoid creating hashes for certain unversioned files? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642717&aid=1479509&group_id=105970 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-devs
