Help - Search - Members - Calendar
Full Version: AutoIt, Help me!
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
DarkGoat
alright so im writing some scripts for programs that i cant get to install silently. I used autoit for a perticular scripts but i cant get the copying file code to work...can any 1 help?

CODE
FileCopy(@ScriptDir & "\dlls\*.dll", "C:\Program Files\Macromedia\Dreamweaver MX 2004\*.*" , 1)
FileCopy(@ScriptDir & "\dlls\*.dll", "C:\Program Files\Macromedia\Fireworks MX 2004\*.*" , 1)
FileCopy(@ScriptDir & "\dlls\*.dll", "C:\Program Files\Macromedia\Flash MX 2004\*.*" , 1)
FileCopy(@ScriptDir & "\dlls\*.dll", "C:\Program Files\Macromedia\FreeHand MXa\*.*" , 1)


its supposed to copy the dll's from the same folder into the the 4 different folders....but it does nothing lol
any 1 know why?
btw this comps after my installation code incase that matters
Nologic
CODE
$folder_1 = @ScriptDir & "\dlls\*.dll"
$folder_2 = @ProgramFilesDir & "\Macromedia\"

FileCopy( $folder_1 , $folder_2 & "Dreamweaver MX 2004\" , 1)
...
DarkGoat
Thank alot! That did the job biggrin.gif
InTheWayBoy
Hmmm...wonder what those dll's do whistling.gif




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.