On Windows, if my app needs to delete a file in the install location (eg. Program Files) does it need UAC? And if so, how do I do it silently?

On Windows, if my app needs to delete a file in the install location (eg. Program Files) does it need UAC? And if so, how do I do it silently?

Thanks

Comments

  1. Attila Kovacs It's a file that is put by the installer and it is checked when the app launches. If it is found some things take place and the file is deleted. Anyway, I will move it to ProgrammData

    ReplyDelete
  2. John Kouraklis There are indeed. Designing your program so that it doesn't attempt to delete files in protected folders is where I'd start.

    ReplyDelete

Post a Comment