Cannot unset "Permanent" property for installed file VS2005

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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


.



Relevant Pages

  • Re: error 1311 source file not found when reinstalling Office 03
    ... uninstall MSO2003. ... Description of the Windows Installer CleanUp Utility ... Mary Sauer MSFT MVP ... don't understand why, when trying to reinstall, MSD2003 can't find that file. ...
    (microsoft.public.office.setup)
  • Re: Windows installer keeps running
    ... My solution was to re-install Outlook 2007 beta. ... Windows Installer Cleaner seems to work but reinstall of Ofc2003Pro ... I can't uninstall 2003; 2007beta is ...
    (microsoft.public.office.setup)
  • Re: Cant reinstall Office Professional 2003 on my Vista computer
    ... alter) is apparently not compatible with Vista. ... Description of the Windows Installer CleanUp Utility ... I did an uninstall and then tried to reinstall. ...
    (microsoft.public.office.setup)
  • Re: Problem Changing Image Quality
    ... HD/Library/Printers where there is an hp folder. ... when I downloaded it a few minutes ago the installer ... I can't uninstall & reinstall again because there are no icons to work with. ...
    (microsoft.public.mac.office)
  • Re: Windows installer keeps running
    ... and the reinstall 2003 went fine. ... Description of the Windows Installer CleanUp Utility ... Every time I try to do anything within MS apps the Windows Installer pops ... I can't uninstall 2003Pro. ...
    (microsoft.public.office.setup)