Move file to system32 and run
Hello,
I have looked over many questions but haven't found an answer.
We have some custom software and the developer has some interesting install procedures.
So, they want us to move an .msi and batch script to System32 and then run the batch as Administrator. I trust this developer so there's nothing fishy going on but trying to get Kace SMA to do this automatically is frustrating.
I've tried adding a line to the batch script to copy the .msi to System32 and then run it but it's not wanting to copy/move over due to permissions. I've tried making a shortcut and having the shortcut run as Administrator. That works but I haven't gotten SMA to run the shortcut, you have to manually go and run it.
Any suggestions?
Thanks,
Bradley
Answers (2)
I trust this developer
You trust a developer that can't get an MSI to install without it being run from System32?!? I wouldn't trust them to get out of bed without causing themselves serious injury! I've encountered some clueless vendors in my time but I think you may have hit pay-dirt with this bunch!
Top Answer
create 2 scripts
first runs as system that moves the files to system 32
the second runs as administrator to install. You should be able to take the batch file and use that as a batch script.
use task chains to run one after the other.
Comments:
-
Thank you! That worked. - Ballen 5 years ago