This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Will not overwrite some files
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 20, 2011
05:23 AM
Will not overwrite some files
Hello
I have a web application and I need to issue an update. I can create the setup or msi but it does not overwrite some files. For example the web.config file will not be updated.
Can anyone tell me what I need to set so the the install will overwrite all files regardless of version, date etc.
Regards
James
I have a web application and I need to issue an update. I can create the setup or msi but it does not overwrite some files. For example the web.config file will not be updated.
Can anyone tell me what I need to set so the the install will overwrite all files regardless of version, date etc.
Regards
James
(9) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 20, 2011
12:30 PM
There is a property named "Always overwrite" that can be configured for each file.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 20, 2011
06:11 PM
Thanks for that 🙂
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 23, 2011
02:39 PM
I have set Always Overwrite on some of my files and on an Update or Repair install they are still not getting overwritten. Any ideas?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 23, 2011
03:12 PM
Windows Installer checks first the key file of a component to determine if it must install/repair it. So, if the key file does not have to be reinstalled, I believe the others files, even if configured as "always overwrite" won't reinstall. You might want to check for that, see this link for some infos: http://kb.flexerasoftware.com/doc/Helpnet/installshield15helplib/FAQFilesOverwrite.htm
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 23, 2011
03:13 PM
If this is not the problem, you might want to check the installation log created by Windows Installer. You might find something there.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 23, 2011
03:47 PM
You are correct. The component is not being reinstalled so the installer doesn't check the file overwrite attribute. Do you know of anyway to force the component to reinstall? This won't be a problem later when I start rolling version numbers but I'd like to force re-installs of my exe while in development.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 23, 2011
03:49 PM
Set the "always overwrite" property on the key file of the component. That should do the trick.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 23, 2011
04:41 PM
How do I do this? I only see Yes or No available for the Never Overwrite attribute for components. The help document suggest an Overwrite attribute but I don't see it. This is a basic MSI install.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 27, 2011
07:48 AM
This is not a property for the component, but for the key file of that component. See this link for infos on key file: http://community.flexerasoftware.com/showthread.php?t=125425