This option sets the msidbComponentAttributesNeverOverwrite bit in the Attributes column of the Component table for the component.
If you use @Advertise='no' with the Class, Extension, ProgId, MIME, Verb elements, WiX generates Registry table entries rather than the corresponding Class (etc) table entries. However, Windows Installer already does not overwrite files that have been modified (where the Modified date is different from the Created date), if the default file versioning options are used. These cannot be changed (as far as I know) for a new install, but for a reinstall you can change what Windows Installer does by setting the REINSTALLMODE property. -- Mike Dimmick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of LEMIRE, JOHN Sent: 24 July 2007 17:08 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Prevent overwrite on upgrade Hi, I have a scenario where a product has a config file that gets installed with some default values at initial install. The user may subsequently add or remove lines from this file. Therefore on upgrade I do not want it to get overwritten with the initial version again. The file is actually already wrapped in it's own component so I am wondering if I can just use the <Component NeverOverwrite="true"/> flag but the docs say this is only for components being registered by the Registry table, not by the AppId, Class, Extension, ProgId, MIME, or Verb tables. How do I know which table the component is being registered by? This is just an ini style text file... Thanks :-) -john ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users