Topic: Winbuilder Webget problem??  (Read 9151 times)

Winbuilder Webget problem??
« on: August 30, 2015, 06:52:19 PM »

Rui Paz

  • Code Baker
  • Jr. Chef
  • **
  • Date Registered: Mar 2011
  • Posts: 47
Hello Guys,

Not sure if this is a know problem because I couldn't find nothing on my search.

Running the BGInfo script for example the download of BGInfo.zip fails with this:
Code: [Select]
WebGetIfNotExist -  [http://live.sysinternals.com/files/BGInfo.zip] to directory: [%BaseDir%\Workbench\Common\BGInfo\BGInfo.zip] HTTP/1.1 401 Unauthorized

I don't think is as problem with the URL or the server because I got the same result testing with WebGet on a different server where I have full access and I know there isn't any browser restrictions when downloading.

Also this isn't a firewall problem because the Winbuilder download button can access the w7pese.cwdodes.net server and download files just fine.

My host is running Windows 7 Pro SP1 x64 and the Win7PE_SE project is set to build a x86 PE.

I can download the need file or change the script to use wget on the tools folder but also want to know if this is a know problem?

Thanks.

Re: Winbuilder Webget problem??
« Reply #1 on: August 31, 2015, 04:11:39 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Yes it is a known problem,
 yet another bug of winbuilder

To simplify code writing, we have Call,Download for a while
Code: [Select]
Call,Download,%GlobalTemplates%\BGInfo\BGInfo.zip,http://live.sysinternals.com/files/BGInfo.zip

 :thumbsup:

Re: Winbuilder Webget problem??
« Reply #2 on: August 31, 2015, 04:25:52 AM »

KYHI

  • Code Baker
  • Sr. Chef
  • ****
  • Location: Kentucky
  • Date Registered: Jan 2015
  • Posts: 909
To simplify code writing, we have Call,Download for a while
Code: [Select]
Call,Download,%GlobalTemplates%\BGInfo\BGInfo.zip,http://live.sysinternals.com/files/BGInfo.zip

 :thumbsup:

Thank You for this info - so I don't need all the [ Download_Files_Wget ] coding anymore ??

Re: Winbuilder Webget problem??
« Reply #3 on: August 31, 2015, 04:39:50 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
so I don't need all the [ Download_Files_Wget ] coding anymore ??

Yes  :thumbsup:  :smile:

:turtle:

Re: Winbuilder Webget problem??
« Reply #4 on: August 31, 2015, 09:48:11 AM »

Rui Paz

  • Code Baker
  • Jr. Chef
  • **
  • Date Registered: Mar 2011
  • Posts: 47
Hi Lancelot,
Yes it is a known problem,
 yet another bug of winbuilder

To simplify code writing, we have Call,Download for a while
Code: [Select]
Call,Download,%GlobalTemplates%\BGInfo\BGInfo.zip,http://live.sysinternals.com/files/BGInfo.zip

I see but in that case doesn't the Macro_Library needs an update?
The BGinfo script already use the Unpack macro and its the macro internally that calls WebGet instead of a new macro that uses wget directly

Also maybe I'm reading this wrong but with the Download_Files_Wget macro the wget window is always visible... maybe another macro needed!

Re: Winbuilder Webget problem??
« Reply #5 on: August 31, 2015, 10:23:10 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi Rui Paz,

unpack macro still there to support old plugins, never listed as a macro http://theOven.org/index.php?board=14.0
one day it will be totally removed from Macro Library  :thumbsup:

I will put optional hide parameter to get window hidden   :thumbsup:

I feel something like:
Call,Download,%GlobalTemplates%\BGInfo\BGInfo.zip,http://live.sysinternals.com/files/BGInfo.zip,,Hide
 :thumbsup:


Re: Winbuilder Webget problem??
« Reply #6 on: August 31, 2015, 10:37:00 AM »

Rui Paz

  • Code Baker
  • Jr. Chef
  • **
  • Date Registered: Mar 2011
  • Posts: 47
Hi Rui Paz,

unpack macro still there to support old plugins, never listed as a macro http://theOven.org/index.php?board=14.0
one day it will be totally removed from Macro Library  :thumbsup:

It's available when you right click inside Winbuilder source editor under MacroLibrary and in this case used on a plug-in included on the main project and downloaded directly from the project server.

Quote
I will put optional hide parameter to get window hidden   :thumbsup:

I feel something like:
Call,Download,%GlobalTemplates%\BGInfo\BGInfo.zip,http://live.sysinternals.com/files/BGInfo.zip,,Hide
:thumbsup:

Re: Winbuilder Webget problem??
« Reply #7 on: August 31, 2015, 11:03:04 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Yes I know, this is all about priorities and time  :smile:

Something life:
1) Life (we are all lost around time to time since we have life to maintain, work, girlfriends, childrens etc.)
2) Projects (development etc.)
as you know, Chris and JFX working on Win10PESE
3) Projects severe bug fix
4) Projects fix
5) enhancements
Macro Library: this summer: Call,Version Call,HostOSVersion, Terminal server fix to Call,HostWindowsDir Call,Download Call,Require,File,netsh.exe Require,File,fltmgr.sys etc. etc...... (see ML update info )
+
"Download Plugins" , already on Gena, Chris currently working on Win10PESE
......
6) Updates:
many plugins updated, currently there are acronis plugins to check out....
7) getting rid of old stuff (like unpack -> in past we get rid of most critical ones ....)
We already get rid of most unpack, we know there are still there and we left them operational inside Macro Library,
need time to replace rest  :wink: there will be no unpack in some future, never use inside your plugins.


In this nice summer time, having some free time, I am currently working on update and upload plugins with a simple button,
Update would be nice for end user so one can easly click a button to update a single button  :smile:
Upload would be nice for server admins so we can quickly upload a single plugin to server with a single button

development here is slow but stable, we can't do all stuff at once. :turtle:

Re: Winbuilder Webget problem??
« Reply #8 on: August 31, 2015, 11:31:10 AM »

Rui Paz

  • Code Baker
  • Jr. Chef
  • **
  • Date Registered: Mar 2011
  • Posts: 47

Yes I know about time constrains. You guys work in so many projects that probably have days with more than 24 hours :smile:

Re: Winbuilder Webget problem??
« Reply #9 on: August 31, 2015, 11:57:34 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Well we don't work that much  :lol:
That is the reason things wait  :wink:

What we do is, to use time efficiently,
 we develop things so that we don't come back to that place again,
   and don't need to start all over. I call this "Development Upwards",
    Starting all over again and again is what I call "Development Circle" which personally I hate most.

Even starting a new project, lots of plugins around would work out of box,
 Chris have SE projects, I have other projects in mind which I could not find to start with. :)

btw,
Call,Download,%GlobalTemplates%\BGInfo\BGInfo.zip,http://live.sysinternals.com/files/BGInfo.zip,,Hide
Hide will work on next update, you can use inside plugin.
:thumbsup:

Well life goes :turtle:
« Last Edit: October 08, 2015, 02:19:18 PM by Lancelot »

Re: Winbuilder Webget problem??
« Reply #10 on: September 09, 2015, 04:20:03 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi Rui Paz,

no need hide at the end anymore, better you remove if you have inside your plugins  :thumbsup:
Call,Download default hides minimize now  :thumbsup:
maybe we can use 4th parameter for other things in future :)

*
This summer we start develop download/upload syntax, you can see at Wand-Web
 It took some time to figure out default behaviours (still .... ),
  still there is development at that page ..
   In time You will see more "green download arrow" buttons on plugins that downloads new plugin quickly (hot download)

+
also ScriptInterface, command become ChangeInterface, to fix bad naming,
same command, only name changes, we may remove old one after a year after plugins updated slowly  :wink:




Life Goes Slowly, Quickly .... ,
See You around
:turtle:
« Last Edit: October 08, 2015, 01:29:15 PM by Lancelot »

Re: Winbuilder Webget problem??
« Reply #11 on: October 08, 2015, 02:32:03 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi Rui Paz,

Call,Download start with default minimize now, it will stay like this,
 hiding not nice.

I put more infos here ( CTRL + F : Call,Download )
http://theoven.org/index.php?topic=45
 :thumbsup:

We start to use Call,Download a lot via Macro Library,
 see "green down" and sometimes "yellow down" buttons on some of plugins (ex: Opera),
 it will be used more inside plugins to get rid of this old webget bug.

Life goes...
:turtle:

Re: Winbuilder Webget problem??
« Reply #12 on: February 06, 2016, 03:23:33 PM »

paraglider

  • Chef
  • ***
  • Date Registered: Mar 2011
  • Posts: 144
Cannot get this to work:

Call,Download,%ScriptDir%\mpam-fe.exe,http://go.microsoft.com/fwlink/?LinkID=121721&arch=%SourceArch%

Its downloading the file to the work directory but not copying to %ScriptDir%\mpam-fe.exe

Re: Winbuilder Webget problem??
« Reply #13 on: February 06, 2016, 09:33:54 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi paraglider

I tested, works fine here,
here is test lines I use:
Code: [Select]
Call,Download,%GlobalTemplates%\Mbam\mpam-fe_x86.exe,http://go.microsoft.com/fwlink/?LinkID=121721&arch=x86
Call,Download,%GlobalTemplates%\Mbam\mpam-fe_x64.exe,http://go.microsoft.com/fwlink/?LinkID=121721&arch=x64
Call,OpenDir,%GlobalTemplates%\Mbam

still, I added a warning and a 2nd attempt on Macro Library v42.147 , hit green download button on Macro Library  :wink:

ps: there is no plugin that use %ScriptDir% for provide files on servers, %GlobalTemplates%   :great:

I hope a new mbam plugin soon  :cool:

:turtle:
« Last Edit: February 06, 2016, 09:34:29 PM by Lancelot »

 

Powered by EzPortal