/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Copying a large amount of files

04/15/2014 2951 views

Hey

What is the best way to copy a large amount of files ( 1.12 gig) to users pc's.......I tried with 7zip to create a self extracting exe but it does not support silent installs and I've also tried to create an msi with installshield 11 but it keeps crapping out ???

Thanks

Answer Summary:
1 Comment   [ + ] Show comment

Comments

  • Installshield "craps out" when compiling the msi

All Answers

0

you can create a network share and place the files there and use xcopy /q /y or put 7-zip 7z.exe (command line version) and the zip on the share and call the extact silently from the share

Answered 04/15/2014 by: SMal.tmcc
Red Belt

  • If you are using Windows 7 computers, give Robocopy a try.
0

Robocopy. The syntax is more of a challenge but the performance is better than using drag-and-drop in Windows Explorer. If you need a GUI, I have had some success with Double Commander (http://sourceforge.net/projects/doublecmd/).

Run Robocopy in restart mode, which will continue the operation if you are moving the files across the network and the connection is broken (http://technet.microsoft.com/en-us/library/cc733145.aspx).

Answered 04/15/2014 by: tomyerex
White Belt

0

MAP your server location to any DRIVE

consider S:\Folder\Test Folder to local system C:\temp\ITNINJA

run cmd as admin user

run below commnad

ROBOCOPY SOURCE Destination /MIR

in this case command would look like

ROBOCOPY "S:\Folder\Test Folder" "C:\temp\ITNINJA" /MIR

 

i hope this help

Answered 04/16/2014 by: shreyas
Senior White Belt

0

"It keeps crapping out" isn't a particularly erudite description of the problem, especially as you don't say whether the issue is with the creation, the deployment or the execution of the MSI. That doesn't matter, though: we're all psychic here....

If you use SCCM as your deployment mechanism, that uses BITS to transfer the package to the PCs. There is now an access mechanism for scripts to use BITS, too:

http://blogs.msdn.com/b/powershell/archive/2009/01/11/transferring-large-files-using-bits.aspx

Answered 04/16/2014 by: VBScab
Red Belt

  • "keeps crapping out" refers to installshield when compiling the msi or actually trying to compile
    Thanks
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ