UPDATE: FileBot Advanced Context Menu v1.3
New Features:
- Now Includes "FileBot Context Menu Subtitle Fetch Language Selector v1.1", which will be created in c:\program files\filebot\cmdlets
Improvements:
- Several compatibility fixes and improvements, particularly in regards to seeking elevated privileges.
- Tidied log files and coding up a little
----------------------------------------------
The script for upgrading the file to take admin privileges is now over 100 lines long in and of itself.
Process works a little like this:
Am I running as admin?
- If yes, continue
- If no, go check if I can write to the current directory
- Can I write to the temp directory?
-- If yes, write upgrade permissions script
-- Can I execute the script?
---- If yes, upgrade then continue
---- If no, go check if I can write to profile directory
-- If no, go check if I can write to profile directory
- Can I write to profile directory?
-- If yes, write upgrade permissions script
-- Can I execute the script?
---- If yes, upgrade then continue
---- If no, go check if I can write to temp directory
-- If no, go check if I can write to temp directory
- Can I write to the temp directory?
-- Can I execute the script?
---- If yes, upgrade then continue
---- If no, go to upgrade failure message
-- If no, go to upgrade failure message
- Display message informing users they must right click and run the file as an admin
... now, assuming I haven't made a hash of it somewhere, hopefully that should keep all the various incarnations of Windows happy
![Smile :-)](./images/smilies/icon_e_smile.gif)