capriguy84 Posted October 28, 2011 Report post Posted October 28, 2011 Hello, I'd first like to thank the site community for being helpful as well as contributing to a better IT management. I want to deploy an app with the following steps and I would like to create a task sequence for that. 1. Mkdir C:\Program Files\App. 2. Copy the source files to C:\Program Files\App. Does this need to be on a fileshare? 3. Run the install.exe from that dir. Sounds easy. But can this be accomplished using TS? or should I write a VB script to execute it. Quote Share this post Link to post Share on other sites More sharing options...
0 Eswar Koneti Posted October 28, 2011 Report post Posted October 28, 2011 I dont have console with me but try with these steps : create a TS step 1:run command line with action cmd.exe /c md "C:\Program Files\App" Step 2: Create a package with what files u need to copy to above package,distribute it to DP's. create TS action with command line xopcy * "C:\Program Files\App" and select the package above. Step 3:To install the package,create a command line action with cmd.exe /c install.exe with above package as source. for more info look at it http://www.windows-noob.com/forums/index.php?/topic/1735-using-offline-mode-in-windows-pe-using-usmt-4-via-a-task-sequence-in-sccm-2007-sp2/ Quote Share this post Link to post Share on other sites More sharing options...
0 Peter33 Posted October 28, 2011 Report post Posted October 28, 2011 Don't forget to fill the "start in" option for step 3 with "%programfiles%\app". The "cmd /c" is not needed for this step. Quote Share this post Link to post Share on other sites More sharing options...
0 capriguy84 Posted November 2, 2011 Report post Posted November 2, 2011 Is it possible to create the above steps within a package rather than in TS? Quote Share this post Link to post Share on other sites More sharing options...
0 Peter33 Posted November 2, 2011 Report post Posted November 2, 2011 A Package is also needed when you are using a task sequence, since you want to copy the setup source files to your systems. So i guess you mean a program instead of a task sequence. Of course, this is possible. Just put the 3 Steps in a batch file and the call the batch in your program. md "%programfiles%\app" xcopy.exe ".\*" "%programfiles%\app" /D /E /C /I /Q /H /R /Y /S pushd "%programfiles%\app" install.exe popd Quote Share this post Link to post Share on other sites More sharing options...
Hello, I'd first like to thank the site community for being helpful as well as contributing to a better IT management.
I want to deploy an app with the following steps and I would like to create a task sequence for that.
1. Mkdir C:\Program Files\App.
2. Copy the source files to C:\Program Files\App. Does this need to be on a fileshare?
3. Run the install.exe from that dir.
Sounds easy. But can this be accomplished using TS? or should I write a VB script to execute it.
Share this post
Link to post
Share on other sites