Jump to content











Photo
* * * * * 2 votes

My personal script collection working with Win7RescuePE


  • Please log in to reply
142 replies to this topic

#126 sbaeder

sbaeder

    Gold Member

  • .script developer
  • 1338 posts
  • Location:usa - massachusettes
  •  
    United States

Posted 03 September 2011 - 04:19 PM

ON what script and in what context...A full, debug log file might help us help you!

#127 Kebas

Kebas
  • Members
  • 8 posts
  •  
    Netherlands

Posted 04 September 2011 - 12:23 PM

@sbaeder
Thank you very much for your reply.

I'm using the latest known Win7ResuePE script (v.13), downloaded here from this site combined with the scripts from this thread from Skybeam.
I followed his instructions.
In the past I had build a Win7RescuePE before, I think with With Winbuilder 78 without problems.
Now the most errors are RegWrite errors and the index out of bound errors.
You may find my logfile here: http://www.kebas.nl/log.html

Thanks in advance,

Kindly regards,

Jacob.

#128 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 04 September 2011 - 02:18 PM

There is a syntax error in the CommonAPI, which has been interpreded as supposed in previous WB versions:

Change in Common_Api.script

%reg%\=%reg_temp%\

to

%reg%=%reg_temp%


In the API there are no serious warnings, which have to be taken into question.

But you have to check the warnings in other scripts like Explorer Tweaks.

Peter

BTW @Skybeam:
I wanted to downlad your collection to test, but I did not find any link. Usually it is in the first post. I looked through the following posts, too, but :frusty:

Sorry, the forum software does not allow to unbold the above text behind your name.

#129 Kebas

Kebas
  • Members
  • 8 posts
  •  
    Netherlands

Posted 04 September 2011 - 06:00 PM

@pscEx
Did you notice the last NOTE in the first post from SkyBeam? In the last line there is a link to download...
I'll test the change in the script now.

Edited by Kebas, 04 September 2011 - 06:01 PM.


#130 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 04 September 2011 - 06:26 PM

@pscEx
Did you notice the last NOTE in the first post from SkyBeam? In the last line there is a link to download...

Thanks. I'have been a bit blind! :frusty:

Peter

#131 Kebas

Kebas
  • Members
  • 8 posts
  •  
    Netherlands

Posted 04 September 2011 - 07:05 PM

The RegWrite errors are gone now.
Yet I get still the 'list index out of bounds(1)' error. The first script that gives that error is 7Zip.

#132 sbaeder

sbaeder

    Gold Member

  • .script developer
  • 1338 posts
  • Location:usa - massachusettes
  •  
    United States

Posted 04 September 2011 - 07:43 PM

New log, or more information about the error?

#133 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 04 September 2011 - 07:48 PM

In addition, I need YOUR CURRENT 7zip script. Then I'll check in debugger.

Peter

#134 Kebas

Kebas
  • Members
  • 8 posts
  •  
    Netherlands

Posted 05 September 2011 - 05:51 PM

Sorry for the late reply. I'm working again on weekdays.
The 7-Zip script you may find here: http://www.kebas.nl/7-Zip.script
Also I placed a new debug logfile on http://www.kebas.nl/log.html.

Thanks in advance,

Regards,
Jacob.

#135 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 05 September 2011 - 06:52 PM

Thanks for your post.

There is a syntax error in

[CheckUpdate]

If,%pAlwaysUpdate%,EQUAL,True,Begin

  Run,%ScriptFile%,Download

  Else

  If,NotExistFile,"%ProgramTemplate%\%ProgramEXE%",Run,%ScriptFile%,Download

End

Syantax description says: Else,Command.

The code is crazy! It has an Else inside a If,...Begin ... Else block :rofl:
I do not know what is intended, but IMO it should be

[CheckUpdate]

If,%pAlwaysUpdate%,EQUAL,True,Run,%ScriptFile%,Download

Else,If,Not,ExistFile,"%ProgramTemplate%\%ProgramEXE%",Run,%ScriptFile%,Download

@SkyBeam: You should test ALL options you gave in your scripts! :showoff:
Maybe you misunderstood the If ... Else syntax. Have a look at running scripts!

Peter

#136 Kebas

Kebas
  • Members
  • 8 posts
  •  
    Netherlands

Posted 05 September 2011 - 07:47 PM

@pscEx,
IMO it must be something with the ShellExecute ....msiexec... command.
When I manually download and update the script (7-Zip script in Winbuilder and than push the Download/Update Button) the .msi is downloaded, but corrupted through the ShellExecute command.
The .msi file is a lot smaller after that.
When I run the same commandline from the CMD-box, the msiexec-command is executed fine!

If I saw it correct, first a .bak file is created and after that also a .tmp file.
So I think it goes wrong in the msiexec command.

Regards,
Jacob..

#137 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 05 September 2011 - 07:51 PM

Maybe that is a different issue, but in the debugger WinBuilder first crashes in the Else line.

Peter

#138 sbaeder

sbaeder

    Gold Member

  • .script developer
  • 1338 posts
  • Location:usa - massachusettes
  •  
    United States

Posted 05 September 2011 - 08:25 PM

An alternate interpretation would be...

[CheckUpdate]

If,%pAlwaysUpdate%,EQUAL,True,Run,%ScriptFile%,Download

If,Not,ExistFile,"%ProgramTemplate%\%ProgramEXE%",Run,%ScriptFile%,Download

This is because you don't need the "else", since if the download worked, the file would exist, and there is no real harm in trying a second time - just in case the first attempt that was forced by the optional variable setting might have failed.
  • pscEx likes this

#139 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 05 September 2011 - 08:36 PM

:good:
Peter

#140 SkyBeam

SkyBeam

    Member

  • Members
  • 41 posts
  • Location:Switzerland
  •  
    Switzerland

Posted 08 September 2011 - 11:38 AM

I admit that there was a small bug in the 7-Zip script. However the main issue is that linking to the sourceforge download page does not work very well with the WebGet functionality as it redirects to the closest mirror. It's mandatory therefore to use any direct URL to a mirror. Else you will see an error on extract any WinBuilder will result in a DirMove error because the MSI installer could not be extracted. Check Temp/7-Zip for the MSI file downloaded. If the size is something less than 1MB then it does not contain the right installer but intead it just contains some re-direction information

Use the following download URL for example (7-Zip):
http://switch.dl.sou.../9.20/7z920.msi

Using http://downloads.sou...enzip/7z920.msi will make WinBuilder download some HTML code and you will end up with a 19kB "7-Zip.msi" file which just contains HTML code (open it with your editor to verify).

I have also updated the script to use wget.exe (if available in %Tools%) which seems to work much better with SourceForge downloads.

I am currently quite busy with other projects too but I am certainly going to release an updated script set with some issues fixed and new download URLs later this week.

#141 SkyBeam

SkyBeam

    Member

  • Members
  • 41 posts
  • Location:Switzerland
  •  
    Switzerland

Posted 08 September 2011 - 01:08 PM

Hmm, either I am blind or this forum does not allow any more to edit existing posts :(

Therefore I cannot update the initial post with the update.

Anyway the link provided there is still valid. I've uploaded a bunch of updated scripts (mainly updates of download URLs).
The scripts have not been tested very well due to time constraints. Here is a list of changes:


2011-09-08

==========

- Updated innounp to version 0.36

- Updated 7-Zip package to use WGet.exe, should solve some download issues

- Updated InfraRecorder to version 0.52

- Updated CPUID Hardware Monitor to version 1.18

- Updated HDDScan to version 3.3

- Updated FastStone Capture to version 6.9

- Updated FastStone Image Viewer to version 4.6

- Updated VLC to version 1.1.11

- Updated VLC package to use WGet.exe, should solve some download issues

- Updated FileZilla Client to version 3.5.1

- Updated Firefox to version 6.0.2

- Updated Thunderbird to version 6.0.2

- Updated Opera USB to version 11.51

- Updated WinSCP to version 4.3.4

- Updated Wireshark to version 1.6.1

- Updated SumatraPDF to version 1.7

- Updated download URL for WinMerge version 2.12.4

- Updated WinMerge package to use WGet.exe, should solve some download issues

- Updated TestDisk & PhotoRec to version 6.12

- Updated John the Ripper download URL

- Updated CPU-z to version 1.58

- Updated GPU-z to version 0.5.5

- Updated SystemExplorer download URL

- Updated System Info package, thanks to sbaeder

- Updated Memtest86+ to version 4.20

- Updated PartedMagic to version 6.6

- NEW: Mcafee Stinger (current version: 10.2.0.267)

- NEW: Added Alldup, duplicate finder



#142 Kebas

Kebas
  • Members
  • 8 posts
  •  
    Netherlands

Posted 08 September 2011 - 05:56 PM

@SkyBeam
Thanks for your update.
I'll try this one and will look out for further updates.
Regards,
Jacob.

#143 forever0donotknowme

forever0donotknowme

    Member

  • Members
  • 81 posts
  •  
    India

Posted 25 April 2013 - 02:46 AM

I do not see kaspersky.script here






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users