Jump to content
Sign in to follow this  

RunAsSet - Credentials not applying

Recommended Posts



I have been playing around with this program on and off for the past week. I'm using it because I was looking for a solution to run program installs that could be launched by login scripts etc. with administrator credentials. This seems to fit the bill...


Below is the script I have created:

if Not FileExists("C:\Program Files\MasterSpec LINK\licence.txt")Then









;WinWaitActive("Automated Program Install","MasterSpec install completed")





The issue is the exe does not launch with administrator privileges and will show an error during install regarding to permissions. I have done some searching and looked at a few other examples and cannot see where this is going wrong, I have tried to keep it as simple as possible yet it still is not working correctly. Any help would be much appreciated :)

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.