tri_94 Posted October 7, 2020 Posted October 7, 2020 Hi Having an issues using MDT and trying to install applications. I can install Google Chrome fine using an MSI, But trying to install other software using PowerShell command powershell.exe -executionpolicy bypass -noprofile -noninteractive -file ".\name_Installer.ps1" Not sure why but some reason this doesn't want install, the applications are all based on the mdt server, in the mdt share / applications I've created an task sequence to try installing the applications only and that works fine. I connect to the server to run litetouch.vbs using the same user/pass i do within the imaging process Any ideas Many thanks
Davit2005 Posted October 7, 2020 Posted October 7, 2020 (edited) What applications are you having difficulty with? I've only ever installed applications in task sequences using the Install Applications task under the State Restore folder For instance using following Quiet Install commands: Chrome msiexec /i googlechromestandaloneenterprise_62.msi /qb PacketTracer6_2.exe /VERYSILENT /NORESTART I'd normally setup a applications Bundle, In the past I've had to install certain applications in order. I had the responsibility of doing all the new builds at a previous employment for a few years but I don't deal with MDT at work now, I still have a MDT server at home and use it to deploy servers and my desktop. If you are having issues with the silent switches you can use the application USSF Edited October 7, 2020 by Davit2005
strawberry Posted October 7, 2020 Posted October 7, 2020 Hi I've created an task sequence to try installing the applications only and that works fine. I connect to the server to run litetouch.vbs using the same user/pass i do within the imaging process Any ideas Many thanks are you running the command as admin?
tri_94 Posted October 7, 2020 Author Posted October 7, 2020 Thanks for your reply. We have been using powershell to install applications via group policy for a while now and now moving some of the software to are imaging process. I've used the scripts to install fine using group policy. As I said I've created install apps only task sequence and If i use this it installs the the applications fine. Impero (MSI), Sophos(EXE), Netsweeper(MSI) Only reason for the powershell is that it does extra parts too. Like Netsweeper it installs a root certificate in the same script. Thanks
tri_94 Posted October 7, 2020 Author Posted October 7, 2020 @strawberry i'm not running the litetouch.vbs as admin no
Davit2005 Posted October 7, 2020 Posted October 7, 2020 Thanks for your reply. We have been using powershell to install applications via group policy for a while now and now moving some of the software to are imaging process. I've used the scripts to install fine using group policy. As I said I've created install apps only task sequence and If i use this it installs the the applications fine. Impero (MSI), Sophos(EXE), Netsweeper(MSI) Only reason for the powershell is that it does extra parts too. Like Netsweeper it installs a root certificate in the same script. Thanks If it comes to certificates and you are running a domain cannot you use a GPO to deploy the certs?
tri_94 Posted October 7, 2020 Author Posted October 7, 2020 I can yes. its just was going to just reuse the methods we had been using for installing the applications etc from group policy
tri_94 Posted October 8, 2020 Author Posted October 8, 2020 Does anyone use a VBS or Powershell script to install applications? If so can you please tell me what command line your putting? Thanks
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now