m.rudolph
07-21-2005, 01:39 PM
Here's my situation:
We have several products that share a common folder in Program Files.
The person before me(in my opinion) did not apply best practices. I feel they should have had their own folders within the main company folder for each program.
What we now have is each programs executable in the main directory. I plan to change this in the new versions coming out, but for updates sake, I can't change this situation with the current family of software.
Now what's happening, and it's only happened a couple times (not 100% reproducable), is that on uninstalling my build, it removes the other programs executable file.
The component that uses the <TARGETDIR> as it's folder is not set to shared and is set to uninstall. I do need the files added to this folder(by my install) deleted on uninstall, but not the other programs files. I would assume InstallShield should not touch the other programs files, only the ones it added on my install, right?
I suppose for now, I'm guessing my best bet is to get a list of files the other programs install to that shared folder and put some protection on them in my build at the beginning to be certain they aren't touched. I don't see anything in help that would let me do that.
Anyone have any ideas as to why this is occuring(bug, bad scripting or otherwise), and/or a best way to add a 100% chance it could never happen during my uninstall? It simply cannot be allowed to occur under any circumstances.
Thanks,
Mike
We have several products that share a common folder in Program Files.
The person before me(in my opinion) did not apply best practices. I feel they should have had their own folders within the main company folder for each program.
What we now have is each programs executable in the main directory. I plan to change this in the new versions coming out, but for updates sake, I can't change this situation with the current family of software.
Now what's happening, and it's only happened a couple times (not 100% reproducable), is that on uninstalling my build, it removes the other programs executable file.
The component that uses the <TARGETDIR> as it's folder is not set to shared and is set to uninstall. I do need the files added to this folder(by my install) deleted on uninstall, but not the other programs files. I would assume InstallShield should not touch the other programs files, only the ones it added on my install, right?
I suppose for now, I'm guessing my best bet is to get a list of files the other programs install to that shared folder and put some protection on them in my build at the beginning to be certain they aren't touched. I don't see anything in help that would let me do that.
Anyone have any ideas as to why this is occuring(bug, bad scripting or otherwise), and/or a best way to add a 100% chance it could never happen during my uninstall? It simply cannot be allowed to occur under any circumstances.
Thanks,
Mike