MSFN Forum: AutoIt, Help me! - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

AutoIt, Help me! Check my code please Rate Topic: -----

#1 User is offline   DarkGoat 

  • Group: Members
  • Posts: 4
  • Joined: 11-August 05

Posted 13 August 2005 - 10:18 PM

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?

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


#2 User is offline   Nologic 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 461
  • Joined: 07-October 03

Posted 14 August 2005 - 04:01 AM

$folder_1 = @ScriptDir & "\dlls\*.dll"
$folder_2 = @ProgramFilesDir & "\Macromedia\"

FileCopy( $folder_1 , $folder_2 & "Dreamweaver MX 2004\" , 1)
...


#3 User is offline   DarkGoat 

  • Group: Members
  • Posts: 4
  • Joined: 11-August 05

Posted 14 August 2005 - 01:10 PM

Thank alot! That did the job :D

#4 User is offline   InTheWayBoy 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 709
  • Joined: 16-August 04

Posted 15 August 2005 - 01:27 AM

Hmmm...wonder what those dll's do :whistle:

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy