Hello,
I've added several Run Script tasks to install different piece of softwares in our deploy image job.
Typically I've one Run Script task to contain net use command to connect file server share, where installation files reside. This is executed with SYSTEM account privileges. At this stage, desktop is still in workgroup.
Another Run Script task has installation command for that software. Eg. msiexec /I Z:\softwares\package.msi /quiet /norestart. This task is also executed with SYSTEM account privileges.
I'm little confused should I copy all software MSI and EXE's with script to client computer's eg. temp folder and execute installation from there or execute installation directly over file share?
I've noticed that I'm unable to uninstall certain software from imaged computer, if no network connection to file server is available. Uninstallation attemps to locate original MSI package, which was used to install software.