Topic: New Images.script Throws CAPI Error  (Read 7468 times)

New Images.script Throws CAPI Error
« on: June 25, 2011, 09:03:17 AM »

Arvy

  • Code Baker
  • Chef
  • ***
  • Location: Canada
  • Date Registered: Jun 2011
  • Posts: 157
Just updated complete from the server and the latest Images.script version (006) is giving me an error "V is not a valid integer" when it invokes the CAPI.  When I go back to version 005 of the Images.script everything seems to work fine again.

Never mind.  Was a version mismatch issue.  It needed a newer version of the CAPI but the Common_Api.script didn't update itself with the others on the server.  Once I downloaded manually the current CAPI fixed the problem.
« Last Edit: June 25, 2011, 09:13:28 AM by Arvy »

Re: New Images.script Throws CAPI Error
« Reply #1 on: June 25, 2011, 02:42:33 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
just for the record:

there is download button on capi interface
and after revision 99, capi would get pretty mature (we came a long way now to get capi stability) and would continue with only version ;).
also
this update event not only happens with capi, there are other cases too......
to be sure you update project syncronised with server exactly,
there is blexact download tool http://theoven.org/index.php?topic=65.0
 (and usage in practice here http://theoven.org/index.php?topic=96.0 , which can be easly used for w7pese (I use that))

and there will be a script at some time to more ease syncronising with server (when/if i find time.....   :whistling::thumbsup:

Re: New Images.script Throws CAPI Error
« Reply #2 on: June 25, 2011, 04:26:04 PM »

Arvy

  • Code Baker
  • Chef
  • ***
  • Location: Canada
  • Date Registered: Jun 2011
  • Posts: 157
Well, in the meantime, perhaps some kind of CAPI version check could be incorporated that at least puts up a mismatch notification.  In fact, I think Gena's pre-check already updates it's CAPI automatically if I'm not mistaken.

I'm not saying it's a big deal, at least not for me.  But thought the discrepancy was worth mentioning as I'm sure I won't be the only one caught and puzzled by it.
« Last Edit: June 25, 2011, 04:28:02 PM by Arvy »

Re: New Images.script Throws CAPI Error
« Reply #3 on: June 25, 2011, 04:28:55 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
correct, if webget can work ;), I guess better to implement same main configuration process.....

Re: New Images.script Throws CAPI Error
« Reply #4 on: June 25, 2011, 07:20:17 PM »

Arvy

  • Code Baker
  • Chef
  • ***
  • Location: Canada
  • Date Registered: Jun 2011
  • Posts: 157
Since this seems to be a day for picking on minor script faults ...

In the Attribute Changer script, the InprocServer32 path entry (line 46) needs to be changed to REG_EXPAND_SZ (RegWrite,HKLM,0x2,...).  Either that or the REG_SZ (0x1) value needs to be a RegAddBoot entry.

That was partly my fault.  Sorry.  Meant to mention it earlier and forgot.

Re: New Images.script Throws CAPI Error
« Reply #5 on: June 26, 2011, 12:52:02 PM »

Lancelot

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

I informed ChrisR about Gena solution...

about Attribute Changer, i just tested and it works ok
besides your references to line46 does not fit here,
here line I guess is 53 and already 0x2,
can you check the one on Gena server, maybe i am missing sth !!!!

btw, if you find an attribute changer utility for right-click like current, which does NOT require vc200x like current, let me know. :wink:

Re: New Images.script Throws CAPI Error
« Reply #6 on: June 26, 2011, 04:18:33 PM »

Arvy

  • Code Baker
  • Chef
  • ***
  • Location: Canada
  • Date Registered: Jun 2011
  • Posts: 157
In the latest Attribute Changer script I got off the server, line 46 reads as follows:
Code: [Select]
RegWrite,HKLM,0x1,Tmp_Software\Classes\CLSID\{D3F9A525-8824-497A-BE36-B23E22F141FC}\InprocServer32,,%PE_Programs%\%ProgramFolder%\%ProgramEXE%

Shouldn't that be RegWrite,HKLM,0x2,... ?  It only worked for me when I changed it that way.  But I only used (and tested) it for my Win7x64 PE OS and set it to Run from RAM in that one.  For everything else, I use Properties Plus which I prefer, just because I'm more familiar with it I suppose.

Those are the only two I know of at the moment, but if I stumble onto anything else I'll certainly pass it along to you.  What is the DLL dependency for vc200x?
« Last Edit: June 26, 2011, 04:31:23 PM by Arvy »

Re: New Images.script Throws CAPI Error
« Reply #7 on: June 27, 2011, 08:47:48 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
In the latest Attribute Changer script I got off the server, line 46 reads as follows:

the one on "the server" (and inside all distribution packages announced so far since Gena release) does not fit your example codebox for months now, as written by me above  :wink:

besides your references to line46 does not fit here,
here line I guess is 53 and already 0x2,
can you check the one on Gena server, maybe i am missing sth !!!!

I may guess, you mixed your script organisations... :wink:


Those are the only two I know of at the moment, but if I stumble onto anything else I'll certainly pass it along to you.  What is the DLL dependency for vc200x?
i just checked notes, it is particularly vc2005, info provided by JFX that times (not me, I can't reply your question....), I am pretty sure you will figure out easly when you extract vc2005 and compare dependencies.......

ps: vc2005 dependent applications are the ones we avoid adding \Apps\ distribution. :wink: (along with wmi dependent ones  :whistling: + naturally .net ones   :tongue:)
edit: above ps. written Gena in mind, following post shows I got mixed. :w00t:
vc200x depedency tolerated by Win7PESE having vc200x script available inside project. .net might be too (besides not prefered due to size of .net) no coment about .wim.

tip: Getting such kind applications working with Gena Appetizer kind build gives a nice "requirement list"  :thumbsup:
« Last Edit: June 27, 2011, 10:20:19 AM by Lancelot »

Re: New Images.script Throws CAPI Error
« Reply #8 on: June 27, 2011, 09:45:21 AM »

Arvy

  • Code Baker
  • Chef
  • ***
  • Location: Canada
  • Date Registered: Jun 2011
  • Posts: 157
the one on "the server" (and inside all distribution packages announced so far since Gena release) does not fit your example codebox for months now, as written by me above  :wink:

I can only tell you what my own eyes tell me, Lancelot.  What server is  "the server" for the Win7PE SE project?  I've been using win7pe.winbuilder.net/SE.  What are you using?

Re: New Images.script Throws CAPI Error
« Reply #9 on: June 27, 2011, 09:50:20 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
ups mixed topics.... :frusty: mixed.....  :w00t:

I thought attribute changer on W7PESE and Gena same (never noticed the one on W7PESe side before, missed from eyes), and refering the one on Gena server, give me time to check  :thumbsup:

Re: New Images.script Throws CAPI Error
« Reply #10 on: June 27, 2011, 10:02:49 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hehe,

I changed name and title of script (Attribute Changer_Petges.script) to avoid possible future confusions

fixed and updated, thanks  :thumbsup:

Re: New Images.script Throws CAPI Error
« Reply #11 on: June 27, 2011, 11:27:37 AM »

Arvy

  • Code Baker
  • Chef
  • ***
  • Location: Canada
  • Date Registered: Jun 2011
  • Posts: 157
No sweat.  Having posted my initial comment here under Win7PE SE, I thought we must surely be looking at two different Attribute Changer scripts.  If nothing else, it's a very good illustration of how misunderstandings can arise quite innocently.

To be honest, I've never even looked at the Gena version as all of my PE1 builds (so far) are strictly x86 and I use my preferred Properties Plus for all of them.  Just a personal preference.

Re: New Images.script Throws CAPI Error
« Reply #12 on: June 27, 2011, 11:58:35 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
we share some scripts with Win7PESE Arvy, ex: 7zip, superfinder.... with high efficiency.......

when you wrote attribute changer, and I have not notice (or totally went of my mind) it was added to w7pese, I naturally thought you are using the one at Gena.
Guessing via "Share Scripts". :tongue:

There is no Gena version, There is either  Properties Plus written by Kish (at Gena server), or Properties Plus written by Petges (now i notice at W7pese server)
ps: Properties_Plus_Kish added after you providing script or codes, like you provided Petges one to W7PESE ;).

shortly, both "attributes" scripts are written by you, added projects via your recommendation after project admins like them a lot.  :wink:

ps: I advice you to take a look around Gena apps collection  :wink:

  :icecream:

Re: New Images.script Throws CAPI Error
« Reply #13 on: June 27, 2011, 12:30:20 PM »

Arvy

  • Code Baker
  • Chef
  • ***
  • Location: Canada
  • Date Registered: Jun 2011
  • Posts: 157
I can assure you that I have certainly looked around at all of the Gena scripts, including "sweets", just not inside the coding for all of them.

The originator of Properties Plus (the utility) is "Kish" and the originator of Attribute Changer is Petges.  I suggested (to ChrisR) adding a PE script for the Petges Attribute Changer utility because it supports 64-bit Windows.  The Kish Properties Plus utility doesn't, at least not so far as I'm aware.  I've never actually tried to make it do so.

Re: New Images.script Throws CAPI Error
« Reply #14 on: June 27, 2011, 01:07:44 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
no Kish's one does not, no need to try  :thumbsup:
I just explained the situation   :cheers:

 

Powered by EzPortal