Auto It error fails to install firefox add-on

Asked By 0 points N/A Posted on -
qa-featured

Hello there,

I have this error on Line 59 from AutoIt in Firefox. Can anyone tell me more about this error ? For me it appears unexpectedly and it let me without a response. Any solution ? What caused this error and should I be worried ?

Thanks !

Autolt error Firefox 25 silent install

AutoIt Error

Line59 (File “C:UsersKevDesktop112.au3”):

DirRemover(:C:Program FileMozilla Firefox”) OR

DirRemover(:C:Program File(X86)Mozilla Firefox”)

DirRemover(:C:Program FileMozilla Firefox”) ERROR

Error: Illegal text at the end of statement (one statement per line).

SHARE
Answered By 10 points N/A #194444

Auto It error fails to install firefox add-on

qa-featured

Hello,

Have you run syntax error check??

Have you created any log along with the script? Did you received any error on that?

What is the o/p of script running uncompiled?

What is written in that line 25?? 

Well from the limited information you have provided here , all I can see a small default here in the given script.

DirRemover(:C:Program FileMozilla Firefox”) OR DirRemover(:C:Program File(X86)Mozilla Firefox”)

Change this into

if @OSArch == "X86" then DirRemove("C:Program FilesMozilla Firefox") if @OSArch == "X64" then DirRemove("C:Program Files(x86)Mozilla Firefox")  

Now this should be working fine for you!!

Related Questions