none
How to copy multiple application folders to target PC RRS feed

  • Question

  • Hello-

    In short here's what I need (want) to do... I want to copy 3-4 applications folders from MDT deployment share to the target PC and run install locally. The problem for one is that the install breaks the connection to MDT share thus causing the install to fail. [Cisco VPN Client]. One other app is install using a .cmd command with special internal switches and won't install either.

    Thx J-Woo

    Wednesday, February 19, 2014 11:49 PM

Answers

  • Hi,

    You can create an application in MDT that will launch the following kind of cmd :

    robocopy "%~dp0App1" c:\App1 /e

    robocopy "%~dp0App2" c:\App2 /e

    "c:\App1\setup.exe" -whateverswitchesyouneed

    "c:\App2\setup.exe" -whateverswitchesyouneed

    Of course you'll need to put in your application the App1, App2... folders that you'll need to copy.

    Regards,


    My technet galleries contributions : <a href="http://gallery.technet.microsoft.com/ConfigMgr-Driver-Injector-aae7d17d"> ConfigMgr driver injector</a> // <a href="http://gallery.technet.microsoft.com/SCCM-Collection-Splitter-e1c82b06"> SCCM Collection splitter</a>

    Thursday, February 20, 2014 8:55 AM

All replies

  • Hi,

    You can create an application in MDT that will launch the following kind of cmd :

    robocopy "%~dp0App1" c:\App1 /e

    robocopy "%~dp0App2" c:\App2 /e

    "c:\App1\setup.exe" -whateverswitchesyouneed

    "c:\App2\setup.exe" -whateverswitchesyouneed

    Of course you'll need to put in your application the App1, App2... folders that you'll need to copy.

    Regards,


    My technet galleries contributions : <a href="http://gallery.technet.microsoft.com/ConfigMgr-Driver-Injector-aae7d17d"> ConfigMgr driver injector</a> // <a href="http://gallery.technet.microsoft.com/SCCM-Collection-Splitter-e1c82b06"> SCCM Collection splitter</a>

    Thursday, February 20, 2014 8:55 AM
  • Which Cisco VPn client? I have no problem running either the old cisco vpn or anyconnect via mdt. What is the other application?

    For example, I use a bat file to install most application in mdt because I do other things in the bat file.

    @echo off
    
    cls
    echo ----------------------------------------------------
    echo .
    echo .
    echo .      Installing Cisco AnyConnect - Please Wait
    echo .
    echo .
    echo ----------------------------------------------------
    
    msiexec.exe /i "%~dp0\anyconnect.msi" /qb /norestart
    
    TIMEOUT /T 5
    
    copy "%~dp0\config.xml"  "C:\ProgramData\Cisco\Cisco AnyConnect Secure Mobility Client\Profile" /Y /V
    
    exit

    Thursday, February 20, 2014 2:38 PM
  • Thanks mponsot-

    I will use the advise you have suggested as I have not tried that yet, and this will work in my situation. Thanks!

    Thursday, February 27, 2014 12:51 AM