Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Disable repair for a single file


2 replies to this topic

dGabay

dGabay
  • Members
  • 22 posts

Posted 19 November 2004 - 21:01

Does anyone know how to keep an installed file from being repaired after it has been deleted by the application? This file needs to stay deleted as it indicates whether or not the trial version has expired.
Thanks

mandy

mandy
  • Members
  • 121 posts

Posted 19 November 2004 - 22:15

Make sure it's not the keypath for it's component (use something that won't be deleted), and set the msidbComponentAttributesNeverOverwrite bit (128) in the attributes column of the component table.



KapilMarwah

KapilMarwah
  • Members
  • 32 posts

Posted 22 November 2004 - 15:28

Conditionalize the component. Use condition "NOT Installed". This way the file will only be installed once and won't ever get repaired.