I think I got it solved by adding the following lines in the install.bat
pushd \IP\DeploymentShare$\Applications\WinEDT-UNC
Powershell.exe -WindowStyle Minimized -executionpolicy remotesigned -File "%~dp0Media\Deploy-Application.ps1"
popd
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Dear all,
Applications I would like to add to MDT usually copies everything over to the deploymentshare. I have a few and large applications I would like to put on a separate hard drive or network share.
I found this blogpost: https://social.technet.microsoft.com/Forums/en-US/2d133f05-5aa4-497b-a164-ca767bfa47d8/installing-applications-located-on-a-server-share-unc-path-via-zticonnectwsf-stuck?forum=mdt
I have tried the following:
Option 1:
Quiet Install command: cscript.exe "%SCRIPTROOT%\ZTIConnect.wsf" /uncpath:\IP\Apps\PACKAGE-WINEDT-V10-Win10-64bit-PS\INSTALL.bat
Working directory: <left it empty>
and the result on the client end up with:
Property uncpath is now = \\IP\Apps\PACKAGE-WINEDT-V10-Win10-64bit-PS\INSTALL.bat
Microsoft Deployment Toolkit version: 6.3.8456.1000
The task sequencer log is located C:\Users\<User>\Appdata\Local\Temp\SMSTS.LOG for task sequence failures, please consult this log
Validating connection to \\IP\Apps\PACKAGE-WINEDT-V10-Win10-64bit-PS\INSTALL.bat
Already connected to server IP as that is where this script is running from.
Successfully connected to \\IP\Apps\PACKAGE-WINEDT-V10-Win10-64bit-PS\INSTALL.bat
ZTIConnect processing completed successfully
and nothing gets installed
Options 2:
Quiet Install command: cscript.exe "%SCRIPTROOT%\ZTIConnect.wsf" /uncpath:\IP\Apps\PACKAGE-WINEDT-V10-Win10-64bit-PS\INSTALL.bat
Working directory: \IP\Apps\PACKAGE-WINEDT-V10-Win10-64bit-PS\
and the result on the client end up with:
Property uncpath is now = \\IP\Apps\PACKAGE-WINEDT-V10-Win10-64bit-PS\INSTALL.bat
Microsoft Deployment Toolkit version: 6.3.8456.1000
The task sequencer log is located C:\Users\<User>\Appdata\Local\Temp\SMSTS.LOG for task sequence failures, please consult this log
Validating connection to \\IP\Apps\PACKAGE-WINEDT-V10-Win10-64bit-PS\INSTALL.bat
Already connected to server IP as that is where this script is running from.
Successfully connected to \\IP\Apps\PACKAGE-WINEDT-V10-Win10-64bit-PS\INSTALL.bat
ZTIConnect processing completed successfully
and nothing gets installed
Option 3:
Quiet Install command: "\IP\Apps\PACKAGE-WINEDT-V10-Win10-64bit-PS\INSTALL.bat"
Working directory: \IP\Apps\PACKAGE-WINEDT-V10-Win10-64bit-PS\
On the client it says "CMD does not support UNC path as current directories"
Any suggestions on how to solve this?
Thaank you!
I think I got it solved by adding the following lines in the install.bat
pushd \IP\DeploymentShare$\Applications\WinEDT-UNC
Powershell.exe -WindowStyle Minimized -executionpolicy remotesigned -File "%~dp0Media\Deploy-Application.ps1"
popd