Alan Bain wrote on 2011-10-28: > Hey Guys, > > Can't seem to find the issue with this from Inno. Using VFP 9sp2 and > Inno 5.4.2. > > I have been using Inno for over 5 years with no issues. > > I am upgrading a Win7professional box. The user has administrator > status yet when Inno tries to copy over the exe it fails with > DeleteFile failed; code 5 access denied. There is another win7 box > next to it that has upgraded just fine a few minutes earlier. I have > the exe file set to overwrite always in the Inno script. > > I renamed the exe and it copied the file. I have 7 exe's in the > folder and it errors on each one. By renaming the file I can see that > I have full permission on that file and that it is not locked. I ran > the upgrade as administrator with the same results. I have checked and > excluded the folder from Avast antivirus. > > Any ideas on how to keep this from occurring? > > Thanks, > Alan >
Alan, Which file is it really happening with? I have some DLL's that will return this error when they are actively in use by a running program. If I remember correctly, the dialog gives you Retry/Cancel/Ignore options and tells you which file. I've had to pull teeth from the user on the phone to get the full message. Tracy Pearson PowerChurch Software _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

