Jump to content











Photo
* * * * * 1 votes

PE1_4WB82


  • Please log in to reply
23 replies to this topic

#1 pscEx

pscEx

    Platinum Member

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

Posted 26 March 2012 - 08:35 AM

Posted Image

File Name: PE1_4WB82
File Submitter: pscEx
File Submitted: 26 Mar 2012
File Updated: 24 May 2012
File Category: System scripts

PE1 for WinBuilder 82

This script patches LiveXP and other nativeEx based projects for successful build under WinBuilder version 82 and higher.
The script is reported not to run correctly with NaughtyPE.
EDIT: Version 7 works with NaughtyPE

Building time of the project using WinBuilder 082 is only about 40 % of time using WinBuilder 80.

Thanks to 2aCD for publicating several scripts doing this work in the 'official' LiveXP (provided via the Download portal).

The list of the changes he did, is the first base for PE1_4WB82.Script.

The second base is an enhanced HoJoPE.exe, downloadable at http://reboot.pro/fi.../124-hojopeexe/

After running the script, the patched project runs well under WinBuilder 80, 82 and 83

Earlier WinBuilder versions are not tested.

Click here to download this file
  • Nuno Brito likes this

#2 pscEx

pscEx

    Platinum Member

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

Posted 26 March 2012 - 08:39 AM

How to:
  • Download PE1_4WB82 into your project directory (where script.project resides)
  • Open PE1_4WB82.Script
  • To be on the safe side, make sure that the "Backup" option is ON!
  • Click "Patch"
When activated, after some seconds a log appears.

Do not worry about some "Not contained":
The configuration file for the patch provides solutions for several projects.
Not all of them contain all original statements to patch.

PE1_4WB82.Script has been successfully tested with Amalux's LX.111211 project.

#3 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 28 March 2012 - 06:46 PM

I'm a bit confused. This script contains a HoJoPe.exe too.
Which one, am i suppose to use? The included one or the one you posted as extra download?

:cheers:

#4 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 28 March 2012 - 09:11 PM

This patch script is NOT compatible with NaughtyPE.
So please don't try to update NaughtyPE with it.

:cheers:

#5 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4168 posts

Posted 28 March 2012 - 11:49 PM

This patch script is NOT compatible with NaughtyPE.
So please don't try to update NaughtyPE with it.

:cheers:


:loleverybody: how did you know!

#6 amalux

amalux

    Platinum Member

  • Tutorial Writer
  • 2813 posts
  •  
    United States

Posted 29 March 2012 - 06:46 AM

Hi Peter :)

Your new patch script is very nice, I think this is a fine solution and getting very close to success!

Currently, the test project builds successfully (with many warnings in log) but PE Start menu programs (and desktop) are empty, no shortcuts are created. Program files are present (and working) but no shortcuts are generated. http://www.mediafire...vm3wc0002hw9n0d

Hopefully this is not a difficult issue to resolve; I will look into it more when I have some time.

Thank you again for your efforts to support LiveXP, it is greatly appreciated.

:cheers:

#7 pscEx

pscEx

    Platinum Member

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

Posted 31 March 2012 - 02:13 PM

I uploaded a new version, which can do same change at several places in a single script.

@Amalux your latest LX project is built well and has shortcuts. :wodoo:

Peter

BTW: During the tests I found such nice comments

History012=Lancelot because of STUPID wb development decisions with Nazi dictatorship behaviour, %ISOfileVar% implemented to only *RE*create compatibility between projects.


When it helps somebody ... :rofl:

#8 amalux

amalux

    Platinum Member

  • Tutorial Writer
  • 2813 posts
  •  
    United States

Posted 31 March 2012 - 03:20 PM

I uploaded a new version, which can do same change at several places in a single script.

@Amalux your latest LX project is built well and has shortcuts. :wodoo:

Thanks Peter, I'll try new version :)

#9 amalux

amalux

    Platinum Member

  • Tutorial Writer
  • 2813 posts
  •  
    United States

Posted 31 March 2012 - 04:22 PM

Unpack LX.111211 to C:\LX.111211

Replace existing wb 80.0.3.0 with wb 82.0.1.0

Add PE1_4WB82 2 script to \Projects\LiveXP\Basic\Build.

R+R existing HoJoPE.exe in HoJoPE Hives Factory script with your updated version.

Run patch, choose source (xp-sp2-en) and build. No errors in log but no shortcuts.

Posted Image

Are there any other changes you make in your build?

#10 pscEx

pscEx

    Platinum Member

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

Posted 31 March 2012 - 05:08 PM

I used your project LX.111211.exe
The only change I made was deselecting "best emulator" and selecting "qEmu".

My source was XP_sp3_DE

I'll try again with xp_sp2_EN

Peter
amalux.gif

#11 pscEx

pscEx

    Platinum Member

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

Posted 01 April 2012 - 08:47 AM

@Amalux:

I tested with a really burned CD. It also shows the shortcuts.

Can you delete the %BaseDir%WorkbenchLiveXPCachePrebuild directory before build?

Peter

#12 pscEx

pscEx

    Platinum Member

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

Posted 01 April 2012 - 04:17 PM

Version 3 is uploaded.

It adds certification to patched scripts.
User interface changed: For non - developers the run options are unchecked.

Peter

#13 linuxbaby

linuxbaby

    Frequent Member

  • .script developer
  • 139 posts
  •  
    Germany

Posted 01 April 2012 - 04:46 PM

Hello Peter,

please link a bigger picture in post 1. My bad eyes do not see the small image.

Thanks.

#14 pscEx

pscEx

    Platinum Member

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

Posted 01 April 2012 - 05:07 PM

The forum's sofffft-ware makes a clone of the original attached to the download page.

I do not have any influence on the size.

Peter :frusty:

#15 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10547 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 01 April 2012 - 05:17 PM

Hello Peter,

please link a bigger picture in post 1. My bad eyes do not see the small image.

Thanks.

You can visit the download topic to view the image in full size: http://reboot.pro/fi.../174-pe1-4wb82/

#16 linuxbaby

linuxbaby

    Frequent Member

  • .script developer
  • 139 posts
  •  
    Germany

Posted 01 April 2012 - 05:24 PM

Hello Nuno ...

thanks for help and please delete my "off topic" posts.

#17 pscEx

pscEx

    Platinum Member

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

Posted 03 April 2012 - 08:08 AM

Version 4 is uploaded.

There have been some exotic statements in the "Common"-API, like

StrFormat,REPLACE,#9,#9,"#$q#$s#$q-SD:#9",#9

Such statements are replaced by simply

Set,#9,#$s-SD:#9

Patched (but selections / options unchanged) LiveXP from the download portal now builds with WinBuilder 82 within 11 minutes, compared to 28 minutes with WinBuilder 80.

Peter

#18 pscEx

pscEx

    Platinum Member

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

Posted 04 April 2012 - 04:34 PM

Version 5 uploaded!

Added option to mark changes
Added option to do a backup copy before changing a script
Added some debug help for developers

Have success! :thumbsup:

Peter

#19 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10547 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 04 April 2012 - 04:47 PM

Can you please provide an updated LiveXP zipped distribution to be made available on the downloads portal?

:cheers:

#20 pscEx

pscEx

    Platinum Member

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

Posted 04 April 2012 - 04:51 PM

Can you please provide an updated LiveXP zipped distribution to be made available on the downloads portal?

:cheers:

I already thought about this. But I was afraid to offer competing distribution.

I'll do tomorrow.

Peter

#21 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10547 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 04 April 2012 - 05:10 PM

Thanks. Let's get the project freshly updated.

If other developers are interested in participating, please do say. I can upload the updated LiveXP to our SVN site at http://winbuilder.googlecode.com and we can all work together to improve it.

Thanks!

#22 pscEx

pscEx

    Platinum Member

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

Posted 07 April 2012 - 08:18 PM

Version 6 is available.

Added [GlobalReplaces] for changes across all scripts

This makes it possible to exchange e.g.

If,Not,%runfrom%,Equal,Rundefault,%runfrom%,True

by code which does not create Warning Messages under WinBuilder 82.

For curious people:

[GlobalReplaces]

*.script_Replace_1=#$xIf,Not,%runfrom%,Equal,Rundefault,%runfrom%,True#$x

*.script_By_1=#$xIf,%runfrom%,EQUAL,RunFromRAM,RunFromRAM,True#$xElse,If,%runfrom%,EQUAL,RunFromCD,RunFromCD,True#$x

*.script_Replace_2=If,EXISTVAR,%WimPackExclude%,%WimPackExclude%

*.script_By_2=If,EXISTVAR,%WimPackExclude%,WimPackExclude



Peter

#23 pscEx

pscEx

    Platinum Member

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

Posted 09 April 2012 - 10:58 AM

Version 7 uploaded.

Now it patches NaughtyPE for use with WinBuilder version 82+

Peter

#24 pscEx

pscEx

    Platinum Member

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

Posted 15 April 2012 - 06:33 PM

Version 8 uploaded.
For NaughtyPE there was a missing declalation of %HivesFactoryScript%

I added to the patch.

Peter




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users