RunAs Different User causes an error (cannot find the file, even though it exists) - the fix has been to explicitly modify the ACL to include "Authenticated Users".
Is there a way to modify permissions of the package from within a manifest?
Change Permissions of .exe after packaging?
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: Change Permissions of .exe after packaging?
This is usually not necessary. Most likely you package the exe in a user folder. run the exe and it changes its security context to run itself under the new context. If the file is in a user folder (of the original user) it is no longer accessible.
In most cases it is sufficient to place the packaged exe in a folder that is accessible to all users.
In most cases it is sufficient to place the packaged exe in a folder that is accessible to all users.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.