Re: Slipstream Mod Manager v1.4 (2013-09-20)
Posted: Fri Nov 29, 2013 4:59 am
To fellow developers:
Writing to VirtualStore can be disabled by including a manifest in exes that sets "requestedExecutionLevel". Apparently just having a manifest that mentions the "trustinfo" section is enough to tell the OS that it's not a legacy app which needs that sort of 'help'. When a user's privileges are insufficient, they'll get a "denied" error instead.
Reading might still be fooled even then, if a phantom copy already exists. Not sure.
Article: Making Your Application UAC Aware
Article: StackOverflow - How to disable VirtualStore
launch4j can do this with the <manifest>myapp.manifest</manifest> tag (or "Wrapper Manifest" in the GUI).
Dunno if LF line-endings in a manifest are acceptable, but I use CRLF to be safe.
Writing to VirtualStore can be disabled by including a manifest in exes that sets "requestedExecutionLevel". Apparently just having a manifest that mentions the "trustinfo" section is enough to tell the OS that it's not a legacy app which needs that sort of 'help'. When a user's privileges are insufficient, they'll get a "denied" error instead.
Reading might still be fooled even then, if a phantom copy already exists. Not sure.
Article: Making Your Application UAC Aware
Article: StackOverflow - How to disable VirtualStore
launch4j can do this with the <manifest>myapp.manifest</manifest> tag (or "Wrapper Manifest" in the GUI).
Dunno if LF line-endings in a manifest are acceptable, but I use CRLF to be safe.