Cannot unset "Permanent" property for installed file VS2005
- From: "Simon" <sefrica@xxxxxxxxxxxxxxxxx>
- Date: Wed, 24 May 2006 09:29:34 +0100
Hi,
I am creating an installer for a windows service in VS2005. I have several
files that must not be overwritten when an update of the service is
installed (i.e. config files etc). I have successfully performed this for
some files by setting the "Permanent" flag for them and then creating a
"Search Target Machine" action which is referred to in the "Condition"
property of the files.
I have now come across a problem; I had set the "Permanent" flag for a
particular file and created a condition, which did not appear to work; the
file was never uninstalled or overwritten on reinstall. I set the
"Permanent" flag back to False and deleted the "Search Target Machine"
action associated with this file. I also cleared the "Condition" property.
Now when I uninstall the app, this file always remains. Even if I then
delete the directory manually and reinstall then uninstall, it still
remains. I have tried deleting the *.msi file and rebuilding, and removing
the file from the project and then adding it again. I am completely stuck
with this... has anyone any ideas?
Many thanks,
Simon
.
- Prev by Date: .NET setup shortcut keeps reinstalling
- Next by Date: Re: A shortcut to content file
- Previous by thread: .NET setup shortcut keeps reinstalling
- Next by thread: deployment question
- Index(es):
Relevant Pages
|