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
- :
- Remove files from install, but not on an upgrade
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
Mar 28, 2011
11:27 AM
Remove files from install, but not on an upgrade
Hello,
I am having a little trouble with an InstallShield project that I have inherited midway through its lifecycle. What I would like to do is remove several files from the project so that they won't be installed for anyone who is running the install for the first time, but I would prefer to leave these files for users who have already installed with a previous version.
When I remove the files from the Files and Folders view in and build my project i get several error messages that say something like:
"The file 'MyFile.txt' with a target of 'MyDirectory' appears to have been removed from the setup, but does not appear in the RemoveFile table. The file will not be removed from the target machine when an upgrade is run unless..."
What that error is describing is exactly what I want to happen (don't actually remove the file on an upgrade), but it makes me nervous since it is an error and not a warning. Is it safe to distribute it with those kind of errors? I have tested the upgrade as well as the install and they both appear to be doing exactly what I want them to do, but those errors are freaking me out a bit.
Thanks in advance for any help.
I am having a little trouble with an InstallShield project that I have inherited midway through its lifecycle. What I would like to do is remove several files from the project so that they won't be installed for anyone who is running the install for the first time, but I would prefer to leave these files for users who have already installed with a previous version.
When I remove the files from the Files and Folders view in and build my project i get several error messages that say something like:
"The file 'MyFile.txt' with a target of 'MyDirectory' appears to have been removed from the setup, but does not appear in the RemoveFile table. The file will not be removed from the target machine when an upgrade is run unless..."
What that error is describing is exactly what I want to happen (don't actually remove the file on an upgrade), but it makes me nervous since it is an error and not a warning. Is it safe to distribute it with those kind of errors? I have tested the upgrade as well as the install and they both appear to be doing exactly what I want them to do, but those errors are freaking me out a bit.
Thanks in advance for any help.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 27, 2011
09:03 AM
I'm in exactly the same position, does anyone know how to suppress this message, or otherwise deal with it?
Seems to be a feasible situation to support, also creeps me out that it's an error and not a warning at the most.
Thanks,
Andy.
Seems to be a feasible situation to support, also creeps me out that it's an error and not a warning at the most.
Thanks,
Andy.
ISRookie11 wrote:
Hello,
I am having a little trouble with an InstallShield project that I have inherited midway through its lifecycle. What I would like to do is remove several files from the project so that they won't be installed for anyone who is running the install for the first time, but I would prefer to leave these files for users who have already installed with a previous version.
When I remove the files from the Files and Folders view in and build my project i get several error messages that say something like:
"The file 'MyFile.txt' with a target of 'MyDirectory' appears to have been removed from the setup, but does not appear in the RemoveFile table. The file will not be removed from the target machine when an upgrade is run unless..."
What that error is describing is exactly what I want to happen (don't actually remove the file on an upgrade), but it makes me nervous since it is an error and not a warning. Is it safe to distribute it with those kind of errors? I have tested the upgrade as well as the install and they both appear to be doing exactly what I want them to do, but those errors are freaking me out a bit.
Thanks in advance for any help.