/build/static/layout/Breadcrumb_cap_w.png
03/13/2019 190 views

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

Answer Summary:
0 Comments   [ + ] Show comments

Comments


Answer Chosen by the Author

0

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. 


Answered 03/13/2019 by: SMal.tmcc
Red Belt

  • Thank you! That worked.

All Answers

1
 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!

Answered 03/14/2019 by: VBScab
Red Belt