Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×

midiboy

Member
  • Posts

    703
  • Joined

  • Last visited

  • Donations

    $0.00 

Everything posted by midiboy

  1. Hey Franceso, thanks, will use it I assume that will be part of future wpi versions .... Byebye, Alex
  2. I wanted to do it for some time anyway ... I just donated a bit. Thanks for listening to your users ! Alex
  3. Hi Kel, thanks, I am sure thats a wise decision. PS: I have my server at home so still private use ... but I will donate ! Bye, Alex
  4. Hi kel This is really a major problem. Not only for an unattended installation. Even if i start wpi as an application installer i need to start it with a script so i can first look for network shares and if they exist connect them, then wait for wpi to finish and later disconnect the drives again. Waiting for a program to finish is the basis of any unattended installation process and making this impossible for a program that enables unattended installations is imho really bad. Wpi is much less flexible now, you cannot start it in any kind of script anymore. It doesnt make sense at all, why not leave wpi.exe open or at least let us call wpi.hta again like in earlier versions. PS: Dont wanna be rude, it just really causes problems and I guess it will for a few people and it will make wpi less flexible to use so I dont think thats a good decision. Hope there is another solution ..
  5. Is your config.js file set inside the new folder: ..\WPI\UserFiles ? Yes, but that doesnt have anything to do with the problem. Wpi starts with the right config but wpi.exe doesnt stay open. Only mshta.exe. Tahts different from earlier versions and doesnt work in my setup.
  6. Hi ! Thanks for the new version .... However I think I have found a problem ... usually if I start wpi.exe in a script like this: start "" /wait "Z:\Setup\WPI\Wpi.exe" the script will wait until wpi.exe is finished and all programs are installed. Not with this new version. WPI is started alright but the script procedes ... which is a real problem because I have a shutdown right after that command so WPI will start and windows then just shuts down ... Any ideas what has changed ? Seems like wpi.exe closes right after the start ... The last version I used before this one was 8.1.0 so I am not sure if this is new to 8.4.6 or a version before but 8.1.0 didnt have this problem ... Thanks for your help ! Alex
  7. Hey bphlpt ! Of course I can post it, I am posting the whole script now, not only the part which copies the files, but also the parts that creates snapshots in DPM etc. Maybe someone who also uses DPM can make good use of it ! @ECHO OFF cd /D %~dp0 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: REM Script needs blat downloaded (http://tinyurl.com/2qdxea) and setup to mail to the local server. Put blat.exe into this folder. REM Script needs wget.exe + libeay32.dll +libiconv2.dll +libintl3.dll +libssl32.dll in this folder (for FTP part) REM Script needs shadowcopieslist.txt file containing directories to be copied to USB in Phase 4 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: REM CHECK FOR IDENTITY FILE ON ALL DRIVES ATTACHED TO THE COMPUTER AND QUIT SCRIPT IF NO DRIVE IS ATTACHED :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: For /f %%# In ('Mountvol^|Findstr [c-z]:\\') Do If Exist %%#IphosUSBbackup (Set USB=%%~d#) if not defined USB goto NOUSB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: REM SET VARIABLES :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: set p=%~dp0 set log="%USB%\copylog.txt" set roboparametermirror=/E /ZB /MIR /XD "System Volume Information" /XF "*.mp*" "*.avi" "*.flv" "*.mkv" "*.wm*" "*.m4*" /R:20 /LOG+:"%LOG%" /NP /TEE set mailadress= set company= set server=%hostname% set smtpserver= set fromadress=administrator@dpm2010.iphos.local set subject=Windows USB Backup Jobs Completed SET LISTOFSHADOWCOPIES=%p%shadowcopieslist.txt :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: REM CHECK FOR OLD DATE IDENTIFIER AND DELETE IT :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: if exist "%USB%\Created_*" del "%USB%\Created_*" if exist "%log%" del "%log%" :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: REM Configure blat.exe + Start logfile :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: "%p%blat.exe" -install %smtpserver% %fromadress% :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: REM START LOGFILE ON USB DRIVE :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ECHO Start Time of script >%log% date /t >>%log% time /t >>%log% :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: REM START FTP TRANSFER TO COPY SVN REPOSITORY ON SVN SERVER TO USB DRIVE :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ECHO. >>%log% ECHO PHASE1 ... Downloading SVN Data via FTP ... >>%log% ECHO. >>%log% if not exist "%USB%\SVN" md "%USB%\SVN" wget -a %log% -nv --ftp-user=usbbackup --ftp-password=*********** -m ftp://svn.server.local/ -P "%USB%\SVN" :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: REM CREATE SHADOW COPIES OF DPM DATA :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ECHO. >>%log% ECHO PHASE2 ... Creating Shadow Copies of all DPM Replica Data ... >>%log% ECHO. >>%log% "%PROGRAMFILES%\Microsoft DPM\DPM\bin\DpmBackup.exe" -replicas >>%log% :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: REM DPM DB Backup ERSTELLEN :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ECHO. >>%log% ECHO PHASE3 ... Creating Copy of DPM Database ... >>%log% ECHO. >>%log% "%PROGRAMFILES%\Microsoft DPM\DPM\bin\DpmBackup.exe" -db >>%log% :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: REM COPY SOME SHADOW COPIES CREATED IN PHASE2 TO USB DRIVE (Only shadowcopies mentioned in shadowcopieslist.txt) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ECHO. >>%log% ECHO PHASE4 ... Copy a few important Shadow Copies from DPM Mountpoints to USB drive ... >>%log% ECHO .......... If you want to change selection change shadowcopieslist.txt .... >>%log% ECHO. >>%log% SETLOCAL ENABLEDELAYEDEXPANSION if not exist "%USB%\DPM" md "%USB%\DPM" FOR /F "skip=1 tokens=* delims=" %%A IN (%LISTOFSHADOWCOPIES%) DO ( SET DPMSource=%%A SET DPMName=%%~nA robocopy "!DPMSource!" "%USB%\DPM\!DPMname!" %roboparametermirror% ) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: REM TAG THE USB DRIVE WITH CURRENT DATE :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: echo BACKUP CREATION DATE > "%USB%\Created_%date%" :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: REM SEND EMAIL WITH LOG TO ADMINS AND EXIT SCRIPT :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: "%p%blat.exe" %log% -to %mailadress% -subject "%company% %server% %subject%" exit :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :NOUSB set mailadress=i set company= set server=%hostname% set smtpserver= set fromadress=administrator@dpm2010.iphos.local set subject=ALERT! USB Copy Backup Job FAILED! set body=No USB Drive configured for USB Backup is attached to %hostname%. Please insert drive or check for correct identifier (IphosUSBbackup) in the root of the drive. "%p%blat.exe" -install %smtpserver% %fromadress% "%p%blat.exe" -body "%body%" -to %mailadress% -subject "%company% %server% %subject%" exit :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: The shadowcopylist.txt consists of directories on the DPM server: :: This is a list of directories that will be copied to USB drive by the FOR /F LOOP Robocopy command in backup_to_usb.cmd C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Database Backups C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\File System\vol_6a61d272-a115-4d0b-aa59-3e601d21b6a4 etc
  8. Hi Yzöwl, unfortunately it does not work really. This is the output I get with the new version: ROBOCOPY "C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_1c79e280-ba21-484f-8f3d-82 a4f4419872\$RECYCLE.BIN" "G:\DPM" /E /ZB /MIR /XD "System Volume Information" /XF "*.mp*" "*.avi" "*.mkv" "*.wm*" "*.m4* " /LOG+:""G:\copylog.txt"" /TEE /NP ROBOCOPY "C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_1c79e280-ba21-484f-8f3d-82 a4f4419872\68be349c-090c-4392-8e80-fdaeb100eddd" "G:\DPM" /E /ZB /MIR /XD "System Volume Information" /XF "*.mp*" "*.avi " "*.mkv" "*.wm*" "*.m4*" /LOG+:""G:\copylog.txt"" /TEE /NP ROBOCOPY "C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_1c79e280-ba21-484f-8f3d-82 a4f4419872\System Volume Information" "G:\DPM" /E /ZB /MIR /XD "System Volume Information" /XF "*.mp*" "*.avi" "*.mkv" " *.wm*" "*.m4*" /LOG+:""G:\copylog.txt"" /TEE /NP ROBOCOPY "C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_1c79e280-ba21-484f-8f3d-82 a4f4419872\$RECYCLE.BIN\S-1-5-21-654489264-3419089459-3909593113-1113" "G:\DPM" /E /ZB /MIR /XD "System Volume Informati on" /XF "*.mp*" "*.avi" "*.mkv" "*.wm*" "*.m4*" /LOG+:""G:\copylog.txt"" /TEE /NP ROBOCOPY "C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_1c79e280-ba21-484f-8f3d-82 a4f4419872\68be349c-090c-4392-8e80-fdaeb100eddd\Full" "G:\DPM" /E /ZB /MIR /XD "System Volume Information" /XF "*.mp*" " *.avi" "*.mkv" "*.wm*" "*.m4*" /LOG+:""G:\copylog.txt"" /TEE /NP ROBOCOPY "C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_1c79e280-ba21-484f-8f3d-82 a4f4419872\68be349c-090c-4392-8e80-fdaeb100eddd\Full\F-Vol" "G:\DPM" /E /ZB /MIR /XD "System Volume Information" /XF "*. mp*" "*.avi" "*.mkv" "*.wm*" "*.m4*" /LOG+:""G:\copylog.txt"" /TEE /NP ROBOCOPY "C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_1c79e280-ba21-484f-8f3d-82 a4f4419872\68be349c-090c-4392-8e80-fdaeb100eddd\Full\F-Vol\WindowsImageBackup" "G:\DPM" /E /ZB /MIR /XD "System Volume I nformation" /XF "*.mp*" "*.avi" "*.mkv" "*.wm*" "*.m4*" /LOG+:""G:\copylog.txt"" /TEE /NP ROBOCOPY "C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_1c79e280-ba21-484f-8f3d-82 a4f4419872\68be349c-090c-4392-8e80-fdaeb100eddd\Full\F-Vol\WindowsImageBackup\SECDOM" "G:\DPM" /E /ZB /MIR /XD "System V olume Information" /XF "*.mp*" "*.avi" "*.mkv" "*.wm*" "*.m4*" /LOG+:""G:\copylog.txt"" /TEE /NP ROBOCOPY "C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_1c79e280-ba21-484f-8f3d-82 a4f4419872\68be349c-090c-4392-8e80-fdaeb100eddd\Full\F-Vol\WindowsImageBackup\SECDOM\Backup 2011-08-27 120048" "G:\DPM" /E /ZB /MIR /XD "System Volume Information" /XF "*.mp*" "*.avi" "*.mkv" "*.wm*" "*.m4*" /LOG+:""G:\copylog.txt"" /TEE /N P ROBOCOPY "C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_1c79e280-ba21-484f-8f3d-82 a4f4419872\68be349c-090c-4392-8e80-fdaeb100eddd\Full\F-Vol\WindowsImageBackup\SECDOM\Catalog" "G:\DPM" /E /ZB /MIR /XD " System Volume Information" /XF "*.mp*" "*.avi" "*.mkv" "*.wm*" "*.m4*" /LOG+:""G:\copylog.txt"" /TEE /NP ROBOCOPY "C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_1c79e280-ba21-484f-8f3d-82 a4f4419872\68be349c-090c-4392-8e80-fdaeb100eddd\Full\F-Vol\WindowsImageBackup\SECDOM\SPPMetadataCache" "G:\DPM" /E /ZB / MIR /XD "System Volume Information" /XF "*.mp*" "*.avi" "*.mkv" "*.wm*" "*.m4*" /LOG+:""G:\copylog.txt"" /TEE /NP Press any key to continue . . . It seems like robocopy tries to copy every subdirectory inside the directory that shall be copied extra instead of just the directoy whose name is mentioned in the listfile. Anyway ... I am using jaclaz´ version now, it works great and I can understand the script. It is not as refined maybe because I have to add all the full paths I need to copy into the list file instead of just the directory name but it works fine. I really thank all of you guys especially Yzöwl and Jaclaz for spending time to help me and making me understand this I am so grateful ! Alex
  9. Hi Yzöwl, ok I tried your script without any changes now (except for adding a pause command + changing the branch variable to a subdirectory to limit the output. Here is the script i used: rem @ECHO off SETLOCAL enableextensions disabledelayedexpansion REM Set the two variables below SET "LISTOF=D:\Scripts\USB_Backup\shadowcopieslist.txt" SET "USB=G:" SET "BRANCH=C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer" (SET RCOPTS=/E /ZB /MIR) (SET RCOPTS=%RCOPTS% /XD "System Volume Information") (SET RCOPTS=%RCOPTS% /XF "*.mp*" "*.avi" "*.mkv" "*.wm*" "*.m4*") (SET RCOPTS=%RCOPTS% /LOG+:"%LOG%" /TEE /NP) SET "DESTIS=%USB%\DPM" PUSHD %BRANCH% FOR /d /r %%# IN (*) DO ( ECHO=%%~nx# | FINDSTR/ixg:"%LISTOF%" >NUL 2>&1 && (CALL :CopyIt %%#) ) pause POPD :CopyIt ROBOCOPY "%*" "%DESTIS%" %RCOPTS% This is the shadowcopieslist.txt file: vol_1c79e280-ba21-484f-8f3d-82a4f4419872 Thats the first subdirectory in the branch. This is the output: D:\Scripts\USB_Backup>rem @ECHO off D:\Scripts\USB_Backup>SETLOCAL enableextensions disabledelayedexpansion D:\Scripts\USB_Backup>REM Set the two variables below D:\Scripts\USB_Backup>SET "LISTOF=D:\Scripts\USB_Backup\shadowcopieslist.txt" D:\Scripts\USB_Backup>SET "USB=G:" D:\Scripts\USB_Backup>SET "BRANCH=C:\Program Files\Microsoft DPM\DPM\Volumes\Sha dowCopy\Non VSS Datasource Writer" D:\Scripts\USB_Backup>(SET RCOPTS=/E /ZB /MIR ) D:\Scripts\USB_Backup>(SET RCOPTS=/E /ZB /MIR /XD "System Volume Information" ) D:\Scripts\USB_Backup>(SET RCOPTS=/E /ZB /MIR /XD "System Volume Information" /X F "*.mp*" "*.avi" "*.mkv" "*.wm*" "*.m4*" ) D:\Scripts\USB_Backup>(SET RCOPTS=/E /ZB /MIR /XD "System Volume Information" /X F "*.mp*" "*.avi" "*.mkv" "*.wm*" "*.m4*" /LOG+:"" /TEE /NP ) D:\Scripts\USB_Backup>SET "DESTIS=G:\DPM" D:\Scripts\USB_Backup>PUSHD C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCop y\Non VSS Datasource Writer C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> FOR / %# IN (*) DO (ECHO=%~nx# | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopi eslist.txt" 1>NUL 2>&1 && (CALL :CopyIt %# ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=vol_1c79e280-ba21-484f-8f3d-82a4f4419872 | FINDSTR/ixg:"D:\Scripts\USB_B ackup\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Micr osoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_1c79e280-ba21-484 f-8f3d-82a4f4419872 ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=vol_2e4dcc92-a087-4319-8977-ec16e1cb78d2 | FINDSTR/ixg:"D:\Scripts\USB_B ackup\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Micr osoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_2e4dcc92-a087-431 9-8977-ec16e1cb78d2 ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=vol_39cd1c45-4cfc-4876-942a-f23b65414048 | FINDSTR/ixg:"D:\Scripts\USB_B ackup\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Micr osoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_39cd1c45-4cfc-487 6-942a-f23b65414048 ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=vol_8e6cc792-07cc-4767-9c24-582ab86458f8 | FINDSTR/ixg:"D:\Scripts\USB_B ackup\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Micr osoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_8e6cc792-07cc-476 7-9c24-582ab86458f8 ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=vol_a48a61d2-b2e9-423a-83fd-0441961bef98 | FINDSTR/ixg:"D:\Scripts\USB_B ackup\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Micr osoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_a48a61d2-b2e9-423 a-83fd-0441961bef98 ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=vol_e7e4933b-574d-4f20-8e6e-5c67d6b0601a | FINDSTR/ixg:"D:\Scripts\USB_B ackup\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Micr osoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_e7e4933b-574d-4f2 0-8e6e-5c67d6b0601a ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=68be349c-090c-4392-8e80-fdaeb100eddd | FINDSTR/ixg:"D:\Scripts\USB_Backu p\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsof t DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_1c79e280-ba21-484f-8f 3d-82a4f4419872\68be349c-090c-4392-8e80-fdaeb100eddd ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=Full | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_1c79e280-ba21-484f-8f3d-82a4f4419872\68be349c-090c-43 92-8e80-fdaeb100eddd\Full ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=F-Vol | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\No n VSS Datasource Writer\vol_1c79e280-ba21-484f-8f3d-82a4f4419872\68be349c-090c-4 392-8e80-fdaeb100eddd\Full\F-Vol ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=WindowsImageBackup | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist .txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\ ShadowCopy\Non VSS Datasource Writer\vol_1c79e280-ba21-484f-8f3d-82a4f4419872\68 be349c-090c-4392-8e80-fdaeb100eddd\Full\F-Vol\WindowsImageBackup ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=SECDOM | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist.txt" 1>NU L 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\N on VSS Datasource Writer\vol_1c79e280-ba21-484f-8f3d-82a4f4419872\68be349c-090c- 4392-8e80-fdaeb100eddd\Full\F-Vol\WindowsImageBackup\SECDOM ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=Backup 2011-08-27 120048 | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopi eslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Vo lumes\ShadowCopy\Non VSS Datasource Writer\vol_1c79e280-ba21-484f-8f3d-82a4f4419 872\68be349c-090c-4392-8e80-fdaeb100eddd\Full\F-Vol\WindowsImageBackup\SECDOM\Ba ckup 2011-08-27 120048 ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=Catalog | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist.txt" 1>N UL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\ Non VSS Datasource Writer\vol_1c79e280-ba21-484f-8f3d-82a4f4419872\68be349c-090c -4392-8e80-fdaeb100eddd\Full\F-Vol\WindowsImageBackup\SECDOM\Catalog ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=SPPMetadataCache | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist.t xt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\Sh adowCopy\Non VSS Datasource Writer\vol_1c79e280-ba21-484f-8f3d-82a4f4419872\68be 349c-090c-4392-8e80-fdaeb100eddd\Full\F-Vol\WindowsImageBackup\SECDOM\SPPMetadat aCache ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=1dd4f965-cb2a-42fc-8fc6-871e60804c31 | FINDSTR/ixg:"D:\Scripts\USB_Backu p\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsof t DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_2e4dcc92-a087-4319-89 77-ec16e1cb78d2\1dd4f965-cb2a-42fc-8fc6-871e60804c31 ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=Full | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_2e4dcc92-a087-4319-8977-ec16e1cb78d2\1dd4f965-cb2a-42 fc-8fc6-871e60804c31\Full ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=C-Vol | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\No n VSS Datasource Writer\vol_2e4dcc92-a087-4319-8977-ec16e1cb78d2\1dd4f965-cb2a-4 2fc-8fc6-871e60804c31\Full\C-Vol ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=DPM_SYSTEM_STATE | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist.t xt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\Sh adowCopy\Non VSS Datasource Writer\vol_2e4dcc92-a087-4319-8977-ec16e1cb78d2\1dd4 f965-cb2a-42fc-8fc6-871e60804c31\Full\C-Vol\DPM_SYSTEM_STATE ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=a9680f68-29a5-42d8-bd65-ed720b09d386 | FINDSTR/ixg:"D:\Scripts\USB_Backu p\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsof t DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_39cd1c45-4cfc-4876-94 2a-f23b65414048\a9680f68-29a5-42d8-bd65-ed720b09d386 ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=Full | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_39cd1c45-4cfc-4876-942a-f23b65414048\a9680f68-29a5-42 d8-bd65-ed720b09d386\Full ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=C-Vol | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\No n VSS Datasource Writer\vol_39cd1c45-4cfc-4876-942a-f23b65414048\a9680f68-29a5-4 2d8-bd65-ed720b09d386\Full\C-Vol ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=WindowsImageBackup | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist .txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\ ShadowCopy\Non VSS Datasource Writer\vol_39cd1c45-4cfc-4876-942a-f23b65414048\a9 680f68-29a5-42d8-bd65-ed720b09d386\Full\C-Vol\WindowsImageBackup ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=e73426d4-8e7e-4248-8855-15b159d8c931 | FINDSTR/ixg:"D:\Scripts\USB_Backu p\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsof t DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_8e6cc792-07cc-4767-9c 24-582ab86458f8\e73426d4-8e7e-4248-8855-15b159d8c931 ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=Full | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_8e6cc792-07cc-4767-9c24-582ab86458f8\e73426d4-8e7e-42 48-8855-15b159d8c931\Full ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=C-Vol | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\No n VSS Datasource Writer\vol_8e6cc792-07cc-4767-9c24-582ab86458f8\e73426d4-8e7e-4 248-8855-15b159d8c931\Full\C-Vol ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=WindowsImageBackup | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist .txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\ ShadowCopy\Non VSS Datasource Writer\vol_8e6cc792-07cc-4767-9c24-582ab86458f8\e7 3426d4-8e7e-4248-8855-15b159d8c931\Full\C-Vol\WindowsImageBackup ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=154a5fb4-8aaf-4361-8520-c4a3db71a4a4 | FINDSTR/ixg:"D:\Scripts\USB_Backu p\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsof t DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_a48a61d2-b2e9-423a-83 fd-0441961bef98\154a5fb4-8aaf-4361-8520-c4a3db71a4a4 ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=Full | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_a48a61d2-b2e9-423a-83fd-0441961bef98\154a5fb4-8aaf-43 61-8520-c4a3db71a4a4\Full ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=C-Vol | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\No n VSS Datasource Writer\vol_a48a61d2-b2e9-423a-83fd-0441961bef98\154a5fb4-8aaf-4 361-8520-c4a3db71a4a4\Full\C-Vol ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=WindowsImageBackup | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist .txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\ ShadowCopy\Non VSS Datasource Writer\vol_a48a61d2-b2e9-423a-83fd-0441961bef98\15 4a5fb4-8aaf-4361-8520-c4a3db71a4a4\Full\C-Vol\WindowsImageBackup ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=55e1330c-8a3d-43b4-b305-bbad5253403f | FINDSTR/ixg:"D:\Scripts\USB_Backu p\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsof t DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_e7e4933b-574d-4f20-8e 6e-5c67d6b0601a\55e1330c-8a3d-43b4-b305-bbad5253403f ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=Full | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_e7e4933b-574d-4f20-8e6e-5c67d6b0601a\55e1330c-8a3d-43 b4-b305-bbad5253403f\Full ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=D-Vol | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\No n VSS Datasource Writer\vol_e7e4933b-574d-4f20-8e6e-5c67d6b0601a\55e1330c-8a3d-4 3b4-b305-bbad5253403f\Full\D-Vol ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=WindowsImageBackup | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist .txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\ ShadowCopy\Non VSS Datasource Writer\vol_e7e4933b-574d-4f20-8e6e-5c67d6b0601a\55 e1330c-8a3d-43b4-b305-bbad5253403f\Full\D-Vol\WindowsImageBackup ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=dpm2010 | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist.txt" 1>N UL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\ Non VSS Datasource Writer\vol_e7e4933b-574d-4f20-8e6e-5c67d6b0601a\55e1330c-8a3d -43b4-b305-bbad5253403f\Full\D-Vol\WindowsImageBackup\dpm2010 ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=Backup 2011-08-27 032131 | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopi eslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Vo lumes\ShadowCopy\Non VSS Datasource Writer\vol_e7e4933b-574d-4f20-8e6e-5c67d6b06 01a\55e1330c-8a3d-43b4-b305-bbad5253403f\Full\D-Vol\WindowsImageBackup\dpm2010\B ackup 2011-08-27 032131 ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=Catalog | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist.txt" 1>N UL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\ Non VSS Datasource Writer\vol_e7e4933b-574d-4f20-8e6e-5c67d6b0601a\55e1330c-8a3d -43b4-b305-bbad5253403f\Full\D-Vol\WindowsImageBackup\dpm2010\Catalog ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> (ECHO=SPPMetadataCache | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist.t xt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\Sh adowCopy\Non VSS Datasource Writer\vol_e7e4933b-574d-4f20-8e6e-5c67d6b0601a\55e1 330c-8a3d-43b4-b305-bbad5253403f\Full\D-Vol\WindowsImageBackup\dpm2010\SPPMetada taCache ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer> pause Press any key to continue . . . The first command should have copied the conten of this subdirectory: C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Non VSS Datasource Writer\vol_1c79e280-ba21-484f-8f3d-82a4f4419872 But it didnt. Also this line will cause a problem I think: ROBOCOPY "%*" "%DESTIS%" %RCOPTS% Because the /MIR switch in robocopy will cause everything in the destination to be deleted that does not exist in the source. So I think we will have to copy each source into a seperate subdirectory of %DESTIS%. Again, lots of thanks for your help on this ! Have a nice Sunday Yzöwl ! Alex
  10. Hi guys ! Yzöwl: Yeah, I got a list with all directory names below C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy. That worked. Is there a simple way to only scan like 5 directories below C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy ? That would probably work and not create a list of thousands of directories Jaclaz: Sorry, I did incorporate your script into my larger script and changed a bit but not much. Must have screwed something up, you are right It works now even with two or more lines in list.txt Sorry for being such a newbie Alex
  11. Hi guys, again, thanks for your help on this. First I tried Yzöwl´s solution. I think it doesnt work because I am looking for names in the listfile that exist somewhere in the path not exactly at the top of the path in "C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy" When I run that script I get a long running script with thousands of lines of output like this: C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Microsoft Hyper-V VSS Writ er>(ECHO=68EFFFA4-BAA3-4533-8627-D01B4A018078 | FINDSTR/ixg:"D:\Scripts\USB_Ba ckup\shadowcopieslist.txt" 1>NUL 2>&1 && (CALL :CopyIt C:\Program Files\Micro soft DPM\DPM\Volumes\ShadowCopy\Microsoft Hyper-V VSS Writer\vol_fa8b864b-234c-4 868-bd22-08b783b46fe6\c6f637b2-cdc2-4d4c-9e00-b48e200d296d\Full\D-Vol\secdom\Vir tual Machines\68EFFFA4-BAA3-4533-8627-D01B4A018078 ) ) C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Microsoft Hyper-V VSS Writ er>(ECHO=secdom | FINDSTR/ixg:"D:\Scripts\USB_Backup\shadowcopieslist.txt" 1 >NUL 2>&1 && (CALL :CopyIt C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCop y\Microsoft Hyper-V VSS Writer\vol_fa8b864b-234c-4868-bd22-08b783b46fe6\c6f637b2 -cdc2-4d4c-9e00-b48e200d296d\Full\E-Vol\secdom ) ) My List of files looks like this: Database Backups DPMDB Scripts Acronis Microsoft Exchange Writer serv22 boomerang2 devtest02 UATWIN Serv32 EX2010 TMG2010 Non VSS Datasource Writer SqlServerWriter These are directory names that exist somewhere in the directory structure below "C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy" Then I tried Jaclaz solution: At first I wasnt sure if the line ECHO robocopy "!DPMSource!" "%USB_drive%\DPM\!DPMname!" %roboparametermirror% Was correct or not ... shouldnt it be ECHO robocopy "%DPMSource%" "%USB_drive%\DPM\%DPMname%" %roboparametermirror% I tried both versions but the "!" instead of the "%" didnt work. But even with the second version and a list file of just one line like C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Database Backups I get this output: D:\Scripts\USB_Backup>FOR /F "skip=1 tokens=* delims=" %A IN (D:\Scripts\USB_Bac kup\shadowcopieslist.txt) DO ( SET DPMSource=%A SET DPMName=%~nA ECHO robocopy "" "G:\DPM\" /E /ZB /MIR /XD "System Volume Information" /XF "*.m p*" "*.avi" "*.mkv" "*.wm*" "*.m4*" /LOG+:""G:\copylog.txt"" /TEE /XD " /NP ) Seems like the variables are not being read from the list file. Hope you can help some more ... If you have some time that is ! Have a nice saturday evening guys ! Alex
  12. Hi jaclaz, well my robocopy command would be like this: robocopy "%DPMSource%\vol_9edf29cf-c89a-4fe5-97d6-7c9ce70c13b0" "%USB%\DPM\vol_9edf29cf-c89a-4fe5-97d6-7c9ce70c13b0" %roboparametermirror% Variables being: DPMSource: Path to DPM Shadowcopy Volume USB: Path to USB driveletter robocopyparametermirror: /E /ZB /MIR /XD "System Volume Information" /XF "*.mp*" "*.avi" "*.mkv" "*.wm*" "*.m4*" /LOG+:"%LOG%" /TEE /NP
  13. Hi again, @gunsmokingman: thanks a lot for your vbs script. I would prefer to do it within a batchfile because the process is part of a larger already existing cmd backup script. But if I dont find a good way to do it within a cmd I will come back to your solution ! @Yzöwl: Attached is a screenshot of the directorystructure that I am trying to copy. Those are shadowcopy mountpoints created by DPM (Dataprotectionmanager) so one can copy files from DPM to for instance external Harddrives via non VSS aware scripts or applications. I do not have space on my external HD for all the mountpoints so my intention was to have a list of mountpoints that will then be copied from the directory structure to the USB harddisc like: vol_9edf29cf-c89a-4fe5-97d6-7c9ce70c13b0 vol_a6f0c2c5-39d7-4e77-ae3b-b8f4fc835b8f vol_1d53783a-0dcf-4d62-8f11-19c297af3de2 etc. The script should go over the complete structure below the "C:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy" Source directory and copy everythiing below the mountpoints mentioned inside the list. @bphlpt: Thanks so much for your script. Before I can test it ... robocopy expects a source to copy from ... where is this source variable in your script. I am amazed at your script, I can hardly understand every part of it so please excuse if I didnt check the obvious Thanks guys and sorry for being such a lame a** with scripting .. I hope to learn more ! Alex
  14. Guys ! You are soooo wonderful. I didnt except soo much responsive! I will look through your answers in detail, I am sure I will have some questions ... I will get back to you, thanks sooo much for your help ! Have a great day ! Alex
  15. Hi guys, maybe someone can help ... i would like to copy directories containing a defined set of names to a location using robocopy. So instead of using 20 robocopy commands I would like to use one line using the "for" command to cylce through a specific directory and copy only those directories matching a list of names. Lets say the path is D:\Data and contains subdirectories like "001, 002, 003, 004 etc. Maybe these directories also contain subdirectories like 0001, 0002, etc. I would like to have a list of directories in a file like 001, 002 0001 and the for command should just copy the content of directories matching the above names in the list. Would that be possible or not ? Is there anyone able to help me with the solution ? Thanks a lot in advance ! Alex
  16. Hi Marc, I set DontSplitCats to false. Unfortunately I cannot make the category lighter ...
  17. Hi Marc, thanks. How can I work around that category bug ? Strange, I never had that so far ... edit: found the solution !
  18. Hi ! Compared to version 8.0.3 I found the following graphical problems (see screenshot). - In installer the green icons for Success are not showing - In WPI, the first column on the first page is empty. I imported all the configuration files from 8.0.3. useroptions.js: // WPI Options 8.1.0 // // User defined options // // Window tab Resolution=1024; MainWindowWidth=800; MainWindowHeight=600; MainWindowX=-1; MainWindowY=-1; InstallerWindowX=475; InstallerWindowY=25; // General tab NumCols=2; // --- Timer=true; Seconds=3600; StartBeepAtSecs=100; // --- Language='zz'; // --- DefaultInstallPath='default'; CustomInstallPath=['']; // --- AbortInstallIfFailure=false; ExecuteCommandIfFailure=['']; ContinueWhereFailed=false; // Features tab ShowExtraButtons=true; DoNotShowIfCD=true; USSFSilentMode=false; VerifyInstallHDD=false; AllowCheckForInternet=false; LoadDesktopBeforeInstall=false; ReOpenAfterInstall=false; DisableCatCheckBoxes=false; SortWithinCats=true; DisableOnDepsNotMet=true; AlwaysUseScrollBar=true; DontSplitCats=true; InstallByCategory=false; ReallyForce=false; DisableIfDoGray=false; InstallFonts=true; ShowCommandInInstaller=false; ShowInstallerImages=false; AlwaysShowOutputWindow=false; EjectCDWhenDone=false; DoNotShowIfUSB=true; DisableHotKeys=false; // Tools tab MonitorResolution=0; MonitorDepth=0; MonitorRefresh=0; // --- ExecuteBeforeEnabled=false; ExecuteBeforebit64=false; ExecuteBefore=['']; ExecuteAfterEnabled=false; ExecuteAfterbit64=false; ExecuteAfter=['']; // --- RestartComputer=false; RestartType=0; RestartSeconds=30; DoNotLoadDesktop=false; // --- LogInstallation=true; LogPath=['%systemdrive%\\WPI_Log.txt']; TimeStampLogFile=true; // Audio tab PlayAudioInInstaller=false; InstallAudio=[]; Volume=75; Shuffle=false; CopyAudioFolder=false; CopyAudioPath=['%systemdrive%\\WPI_Audio']; DeleteAudioFolder=false; // Sounds tab SndWPIStartCB=false; SndWPIStart=['"%wpipath%\\Audio\\SoundsScheme\\Alert.wav"']; SndInstallStartCB=false; SndInstallStart=['"%wpipath%\\Audio\\SoundsScheme\\AtBeginning.wav"']; SndInstallSuccessCB=false; SndInstallSuccess=['"%wpipath%\\Audio\\SoundsScheme\\Yes.wav"']; SndInstallWarningCB=false; SndInstallWarning=['"%wpipath%\\Audio\\SoundsScheme\\Warning.wav"']; SndInstallFailCB=false; SndInstallFail=['"%wpipath%\\Audio\\SoundsScheme\\No.wav"']; SndInstallFinishCB=false; SndInstallFinish=['"%wpipath%\\Audio\\SoundsScheme\\AtEnd.wav"']; SndWPIExitCB=false; SndWPIExit=['"%wpipath%\\Audio\\SoundsScheme\\Exit.wav"']; themeoptions.js: // WPI Theme Options 8.0.0 // // User defined options // // Style tab Theme='Accordion'; ThemeSkin='SkyBlue'; BgPicture=''; // --- InstallBgsSkin='Blue_04'; ProgBarsSkin='SkyBlue'; // --- ShowLogos=false; // Tool Tips tab ShowToolTips=true; Thanks ! Alex
  19. Hi Mark, Could you please add an option to disable this combobox in the installer ? I dont want people to change the default behaviour during installaton ! Thanks !
  20. Hi Mark, thats ok, no problem. I hope you will find some time for this some time in the future ! (could really make good use of that). As for the new layout .. I was hoping for some semiautomatic stuff lazy as I am ... It would be nice if WPI could detect the name of the application to be installed from the title for instance and automatically use the correct image file and possibly description (those could be shared among all users so that each new WPI version could automatically add new logos and descriptions for new software. Of course you should be able to overrule this but it would make a good starting point for popular software like Firefox, Microsoft Office, itunes etc. Don´t know if this is possible but it should make it easier for everyone. Bye and good luck for the move! Bye, Alex
  21. Hi Mark, during WPI 8 betaphase you were working on the Autologin feature durch setup (adding new autologin counts to Windows if an application required a reboot). However in the WPI8 final version I don´t see that mentioned in the changelog. Did you drop that feature or did you encounter problems ? Second question is in regard to the new layout. It is nice to be able to enable it but what else do we have to do to make use of it ? In the changelog you wrote about changing style sheets ... ahm, could you maybe show us how, give us examples or make it easier for a non html programmer to know what to do ? I am kind of lost here.... Thanks, Alex
  22. Hi guys, thanks, that worked. Yeah, maybe it would be a good idea to have empty files there by default. It´s no problem if people know to start WPI first but sometimes we might forget :-) Bye, Alex
  23. Hi ! I am starting WPI over the network and there is no write access to the WPI folder during installation. Since 8.01 I get this error when starting WPI: Could not be saved: Z:\Setup\WPI\WPIScripts\networkoptions.js Errornumber 70 Permission denied With the older WPI 8 beta this did not happen. Obviously WPI is trying to create the networkoptions.js file but due to missing write permissions this operation fails. Is there anything I or you can do ? Why is WPI trying to create the file in the WPIScripts folder ? If run from a DVD this folder will be write protected as well ... Have a nice day ! Bye, Alex
  24. Hi maestrodellaves! Thanks, that worked. But I thought that <SkipMachineOOBE>true</SkipMachineOOBE> is deprecated ? It still works though ... @MrJinje: I have tried your script. Unfortunately it does not work, at least not from setupcomplete.cmd. Maybe it works when the script is called from specialice phase but since the above works I will go with that for the time being ! To all guys: Thanks for your help in solving this problem ! Bye, Alex

×
×
  • Create New...