Results 1 to 3 of 3

Thread: How do you force Repair mode to stop overwriting specific files?

  1. #1
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    60

    Post How do you force Repair mode to stop overwriting specific files?

    Hi, my installation has an INI file that I use to keep persistable settings for the installation. The settings are set in New Installation mode and reused by Modify, Remove, and Upgrade.

    When I choose to Repair the application for any reason, the INI file holding the settings gets reset to the default values - this is more like a destroy than a repair

    How do I stop an INI file from being overwritten or in other words, be ignored by Repair mode?

    I have tried the "Do Not Overwrite" component flag but no dice. I also noticed the INI file doesn't show as a file under the component it belongs to, so this seems a bit tricky.

    Any advice? Thanks in advance!

  2. #2
    Join Date
    Aug 2002
    Location
    London
    Posts
    16
    if you set the file up as a component on its own there is a component property of never overwrite, give that a go
    Kevin

  3. #3
    Join Date
    Jan 2002
    Location
    Oakland, CA, USA
    Posts
    5,346
    Try setting a condition, say (Not Installed AND REMOVE <> "ALL"), without parentheses, and making Reevaluate Condition to Yes on that particular component. You may need to tweak the condition to suit your needs.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •