How to ExecFile things in "program files" on win7?
Blitz3D Forums/Blitz3D Programming/How to ExecFile things in "program files" on win7?
| ||
Topic says it all really, ExecFile Simply refuses to work on files in the program files directory! I think this has something to do with windows UAC controls (mine are set to lowest) would i just need to advise people to Run As Administrator? |
| ||
Crinkle, That would be the easiest, but not necessarily the correct way under Microsoft Guidelines. Possibly strange that you couldn't at least execute, but you certainly cannot write to that folder. I would take a look around the forum as I think you may be able to embed the app manifest into your exe - this may also help in this regard. |
| ||
What i ended up doing is making the file run outside of program files (will advise users of this in a txt). Unfortunately this now means i have to code a directory browser into the program which is a hassle! |
| ||
Not sure if you can access "c:\program files" under Windows 7 x64, 32-bit programs get re-directed to "c:\program files (x86)" instead. Certain locations are only accessible by 64-bit programs. |