Jump to content

Recommended Posts

Posted (edited)

  On 1/18/2015 at 6:22 PM, SmOke_N said:

1.  When you did it manually, did you go to the directory that the xpi file was in and launch it from that directory?  I am going to assume so.

2.  

Run(@ComSpec & " /c " & $dir & "\Addon.xpi", $dir, @SW_HIDE)
Does that help?

3.  Or try launching (2nd param, from firefox's directory if it doesn't.

1) yes with CD.

2-3) no luck.

@JohnOne

Me too think it's not a bug, but indeed is (my) autoit causing the problem.

And again, it's not an xpi related problem, it is a ShellExecute/Run combined with FF problem.

EDIT:

I use FF 34.0.5

 

Edited by frank10
Posted

No, the associations don't change.

Yes, the dir is "C:Program Files (x86)Mozilla Firefox", I already tried to insert it in the ShellExecute/Run.

  • Developers
Posted (edited)

Could there be a difference between 32 and 64 bits as you likely run the 32 bit shell with AutoIt3?

Maybe try with the x64 version of AutoIt3 and see what happens.

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted (edited)

Thank you Jos, you pointed me in the right direction!!

Normally I launch my .au3 file with a dblclick on the desktop's icon --> problem

Or from Scite --> problem

Now, to test difference with x64 version I tried "Run Script (x64)" with the right mouse button over the .au3.--> WORKS WELL!

Then I tried also "Run Script (x86)" --> WORKS also.

So, it's not a problem of x64 but something in the autoitWrapper?, something related at launching the script from Scite or dblclicking the file...

EDIT:

I have W7/64bit

Edited by frank10
  • Developers
Posted

What did you do to solve the double clicking? (Set the default to AutoIt3_x64.exe?)

Can you show me the SciTE output pane info so I can see what is happening?

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted (edited)

I solved the double clicking adding the line you suggested at the top of script:

#AutoIt3Wrapper_UseX64=Y

But the same script running in Scite doesn't solve the problem.

>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /beta /ErrorStdOut /in "E:\Domotica\TEST.au3" /UserParams    
+>08:46:27 Starting AutoIt3Wrapper v.0.0.0.0 SciTE v.3.4.1.0   Keyboard:00000410  OS:WIN_XP/Service Pack 3  CPU:X64 OS:X64    Environment(Language:0410)
+>         SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE   UserDir => C:\Users\Franci3\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper   SCITE_USERHOME => C:\Users\Franci3\AppData\Local\AutoIt v3\SciTE
>Running AU3Check (3.3.13.0)  from:C:\Program Files (x86)\AutoIt3\Beta  input:E:\Domotica\TEST.au3
+>08:46:27 AU3Check ended.rc:0
>Running:(3.3.11.6):C:\Program Files (x86)\AutoIt3\Beta\autoit3_x64.exe "E:\Domotica\TEST.au3"    
--> Press Ctrl+Alt+F6 to Restart or Ctrl+Break to Stop
+>08:46:27 AutoIt3.exe ended.rc:0
+>08:46:27 AutoIt3Wrapper Finished.
>Exit code: 0    Time: 1.125




			
				


	Edited  by frank10
	
	

			
		
Posted

So am I right in presuming that the issue is because Firefox is being launched as 32 bit when it should be 64?

Which would let AutoIt off the hook essentially, and fall back on the coder. ;)

Unless I'm missing something (not unheard of)? :blink:

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

  Reveal hidden contents

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Posted

I don't know if the problem is in the 64bit, as I'm already said, the script works fine also launching it in "Run Script (x86)" mode, so it shouldn't be a 64bit thing.

Besides also with the wrapper 64bit line in Scite it doesn't work.

Posted

It seems to me, that it is likely something to do with 64 bit, of which I have no experience.

It appears you are running a 32 bit version of Firefox on a 64 bit system.

I'm not sure what that means when it comes to execution using AutoIt, so I will leave that to the Wise Ones.

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

  Reveal hidden contents

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Posted

Another weird thing:

If I add this line (that I could need):

#RequireAdmin

after

#AutoIt3Wrapper_UseX64=Y

the same script before working, now doesn't work anymore!

  • 4 years later...
Posted

addons2610.au3Fetching info...

sorry to just give the answer but it's working for me, let me know if there is problems with this (just tried with normal install of firefox on  Windows32 and 64 bits versions), just put the XPI near the m3u to compile. for the moment (just in 5 addons, essentials for me, near 5 Mo for the exe. I'm trying to know how to make it better because I want to have near 100 xpi on my pocket). the programme is 5KO sized but all XPI have is owned size. I Put them directly in the temp folder when I lauch the .exe ans ask firefox to install them when I click on each . Firefox is spécial and I don't want to renew this at each change (juste change the XPI before compile and rename them) and mozilla don't let some addons which can work I think.

PS : do you know where to find a spécial addons like cooliris (piclens and let me know witch addons are essentials or more usesefull ). regards

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...