Hello dear guest!

Boot Land is a community driven pc software site established since 2006 and focused on recovery/backup boot disks, research of Microsoft Windows 2000/XP/2003/Vista/7 install/deployment/lease/antivirus/antispam tools, customizing Microsoft Windows PE administration systems and even learning how to recover computer data from disaster situations!

How about joining our boot disk community? So do it. Life's short!

  - You get free access to our newsletter with all the interesting buzz about boot disks
  - We share publicity revenue with everyone who wishes to participate at the forums
  - Publicity is never, never, never displayed to members (along with many other cool things)
http://boot-land.net/register


42 Pages V   1 2 3 > » 

External intergration with winbuilder.exe
paraglider
Posted on: Jun 23 2010, 03:35 AM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


All I was trying to point out is that the goal should not be getting back to the speed of 78rc2, although that is a good starting point, it should be aiming much higher.

Achieving the speed of pebuilder is impossible without totally redesigning and simplifying the script syntax. However I would say double the pebuilder time for a XP based PE should be the ultimate goal.
  Forum: Development · Post Preview: #103187 · Replies: 30 · Views: 612

External intergration with winbuilder.exe
paraglider
Posted on: Jun 22 2010, 11:44 PM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


Whilst 7rc2 is faster I still see it as slow - 17 minutes 11 seconds is far too long.

With pebuilder I can build a 746mb xp based pe iso in about 3.5 minutes.
  Forum: Development · Post Preview: #103179 · Replies: 30 · Views: 612

External intergration with winbuilder.exe
paraglider
Posted on: Jun 21 2010, 10:25 PM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


Using an external exe to me sounds wildly inefficiant. Much better to use a dll which is all in process and will remain loaded for more than one call.

For example require_file if coded as an external dll everything needed could be passed as parameters.

Access to the log file as already pointed out would need to be addressed. Could be done by winbuilder providing all log access through a api dll which it uses and which other external dlls could also use.
  Forum: Development · Post Preview: #103086 · Replies: 30 · Views: 612

WB frozen at 080?
paraglider
Posted on: Jun 20 2010, 11:23 AM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


The win7 version of require_file is much simpler.

Maybe the answer for complicated common api functions is to support plugin dll functions so the functions can be replaced with compiled code.
  Forum: Development · Post Preview: #102912 · Replies: 25 · Views: 700

WB frozen at 080?
paraglider
Posted on: Jun 19 2010, 12:07 PM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


Hopefully we will finish up with a development model where controversial features are discussed before they are implemented.

To my mind the highest priority issue is the performance of the scripting engine. The win7 feature script runs for 6 minutes and I have a Core I7 965.
  Forum: Development · Post Preview: #102794 · Replies: 25 · Views: 700

WB frozen at 080?
paraglider
Posted on: Jun 19 2010, 11:21 AM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


What does that mean? No more development of WB? Is WB dead?
  Forum: Development · Post Preview: #102790 · Replies: 25 · Views: 700

Pinned: [Package] PEFactory
paraglider
Posted on: Jun 17 2010, 11:56 AM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


%TargetWOW64% is a mechanism to indicate that if 64 bit source is used that x86 support has also been added to the build. So:

1) With x86 source %TargetWOW64%=x86
2) With x64 ( amd64 ) source %TargetWOW64%=x64 if no x86 support.
3) With x64 ( amd64 ) source %TargetWOW64%=x86 if x86 support has been added to the build with a WOW64 script
4) With IA64 source %TargetWOW64%=ia64 if no x86 support.
5) With IA64 source %TargetWOW64%=x86 if x86 support has been added to the build with a WOW64 script.

IA64 support can probably be ignored has not many people have Itanium computers and they don't have much future in the windows world. MS is dropping support with windows 8.

You can see that %TargetWOW64% is really just a boolean indicating if x86 support is available!

Its only effect is on the Common API Arch function. If the script indicates that it only supports x86 and the source is 64 bit and no x86 support has been enabled then a scripting error is thrown. It has no effect on Require_File that I could see.
  Forum: NativeEx · Post Preview: #102598 · Replies: 46 · Views: 1,873

Pinned: [Package] PEFactory
paraglider
Posted on: Jun 16 2010, 12:27 PM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


I don't see it. Only use of targetwow64 in commonapi is in Arch_Check:

win7pe version / livexp:

[Arch_check]
Set,%arch%,#1
If,#1,Equal,off,Set,%arch%,%SourceArch%
StrFormat,POS,%arch%,|,%multiarch%
If,%multiarch%,Equal,0,Begin
If,Not,EXISTVAR,%TargetWOW64%,Set,%TargetWOW64%,%SourceArch%
If,%arch%,Equal,x86,If,Not,%TargetWOW64%,Equal,x86,Exit,"%ProgramTitle% requires WOW64 for PE %SourceArch%"
If,%arch%,Equal,x64,If,Not,%SourceArch%,Equal,x64,Exit,"%ProgramTitle% can only run on PE x64"
If,%arch%,Equal,IA64,If,Not,%SourceArch%,Equal,IA64,Exit,"%ProgramTitle% can only run on PE IA64"
End
Else,Begin
StrFormat,POS,%arch%,%SourceArch%,%multiarch_test%
If,%multiarch_test%,Equal,0,Exit,"%ProgramTitle% requires different source architecture than current %SourceArch%"
End

vistape capi version:

[Arch_check]
If,#1,Equal,x86,If,Not,%TargetWOW64%,Equal,x86,Exit,"%ProgramTitle% requires WOW64 for PE x64/IA64"
If,#1,Equal,x64,If,%SourceArch%,Equal,x86,Exit,"%ProgramTitle% can only run on PE x64/IA64"
  Forum: NativeEx · Post Preview: #102493 · Replies: 46 · Views: 1,873

Pinned: [Package] PEFactory
paraglider
Posted on: Jun 16 2010, 12:15 PM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


I think Psc is correct. Targetwow64 does not seem to be used other than getting set. SourceArch is the one that seems to be used.
  Forum: NativeEx · Post Preview: #102488 · Replies: 46 · Views: 1,873

paraglider
Posted on: Jun 10 2010, 12:09 AM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


Go to google.com and type site:www.boot-land.net u3
  Forum: Site feedback · Post Preview: #102020 · Replies: 3 · Views: 261

Pinned: [Package] PEFactory
paraglider
Posted on: Jun 8 2010, 11:23 AM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


If you are not careful you finish up with what happened with win7pe_se. In the interest of making it easy to use - all the useful options get removed.
  Forum: NativeEx · Post Preview: #101911 · Replies: 46 · Views: 1,873

New Feature Script
paraglider
Posted on: Jun 6 2010, 11:51 AM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


I also see the same errors. Its not the problem but the eventlog section is run twice. Schedule section also runs eventlog section.
  Forum: Win7PE · Post Preview: #101723 · Replies: 16 · Views: 1,595

Boot - Autostart
paraglider
Posted on: Jun 5 2010, 12:55 AM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


That's what the PostConfig section of the vpeldr config file is for ( AddPostConfig in common api ).
  Forum: Windows PE · Post Preview: #101604 · Replies: 8 · Views: 933

File-system redirection
paraglider
Posted on: Jun 5 2010, 12:51 AM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


My runscanner program uses detours. Its a great pity the 64 bit version of detours is $10000 per product.

Easyhook:

http://easyhook.codeplex.com/releases/view/24401

is a free alternative with both 32 and 64 bit versions.
  Forum: Project forge · Post Preview: #101603 · Replies: 20 · Views: 1,362

paraglider
Posted on: Jun 3 2010, 11:39 AM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


The previous V1 version of flashboot was the only program that would partition my USB stick so that it would boot on my previous motherboard ( an AMD Athlon FX-55 processor ). No longer have it so cannot try the latest tools.

Does seem a bit over priced ($38) for what it does.
  Forum: Boot from USB / Boot anywhere · Post Preview: #101500 · Replies: 3 · Views: 419

Paragon Partition Alignment Tool White Paper and Free License
paraglider
Posted on: Jun 3 2010, 11:33 AM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


I had major problems with my win7 x64 after running the tool on the OS drive. Sleep / hibernate would no longer work. Would just return back to the desktop after a few seconds. Then the next full shutdown would hang forever.
  Forum: IT World News · Post Preview: #101499 · Replies: 1 · Views: 297

Winpe - how to make a script to change removable drive letters?
paraglider
Posted on: Jun 2 2010, 11:38 AM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


That was why I created my FindFile program:

http://www.paraglidernc.com/winbuilder/Scripts/scripts.htm

Click the Usage link for more information.

Here is an example cmd file showing its use:

QUOTE
echo on
%SystemRoot%\System32\imdisk.exe -a -t vm -s 30M -m b: -p "/fs:ntfs /q /y"
if not exist b:\PROGRAMS\. mkdir b:\PROGRAMS
if not exist b:\PROGRAMS\PROGRAMS\. mkdir b:\PROGRAMS\PROGRAMS
for /F "usebackqtokens=*" %%f in (`FindFile X Win7PE_SE sources\PROGRAMS.WIM`) do imagex /mount %%f 1 b:\PROGRAMS\PROGRAMS
  Forum: Win7PE · Post Preview: #101424 · Replies: 4 · Views: 419

Boot - Autostart
paraglider
Posted on: Jun 1 2010, 12:02 PM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


Here is what MS has to say in the AIK:

QUOTE
Winpeshl.ini FilesWinpeshl.ini controls whether a customized shell is loaded in Windows® PE or the default Command Prompt window. To load a customized shell, create a file named Winpeshl.ini and place it in %SYSTEMROOT%\System32 of your customized Windows PE image. The .ini file must have the following sections and entries.


[LaunchApp]
AppPath = %SYSTEMDRIVE%\myshell.exe
[LaunchApps]
%SYSTEMDRIVE%\mydir\application1.exe, {option}



Set the AppPath entry to the path to your shell application. You can use a fully qualified path, or you can use environment variables, such as %SYSTEMROOT%\System32\Myshell.exe. The AppPath entry does not support command-line options.

Use the [LaunchApps] section to run applications with command-line options. The applications run in the order listed. Separate the name of the application from its options with a comma.

When you exit the Command Prompt window or your customized shell application, Windows PE restarts.

Important:
Do not edit the value of CmdLine in the HKEY_LOCAL_MACHINE\SYSTEM\Setup registry key of Setupreg.hiv to start your shell application. The value of CmdLine calls Winpeshl.exe, which performs a number of functions, including calling the default Command Prompt window in Windows PE or your customized shell application.


Some of what MS says about command line options is not entirely true in my experience. It can be difficult to get command line options to take.


  Forum: Windows PE · Post Preview: #101328 · Replies: 8 · Views: 933

Boot - Autostart
paraglider
Posted on: Jun 1 2010, 11:53 AM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


Loader is specified in winpeshl.ini:

Projects\VistaPE-CAPI\Base\07-config.script:

If,NotExistFile,%TargetDir%\windows\system32\winpeshl.ini,FileCreateBlank,%TargetDir%\windows\system32\winpeshl.ini
TXTAddLine,%TargetDir%\windows\system32\winpeshl.ini,[LaunchApps],Append
TXTAddLine,%TargetDir%\windows\system32\winpeshl.ini,vpeldr.exe,Append


Win7 / vista based pe always use this file. Different projects may create the file in different scripts but the concept is always the same.

If the last app loaded in the LaunchApps section exits your PE will reboot.Other option is to use the LaunchApp section of the same file:

[LaunchApp]
AppPath = %SYSTEMDRIVE%\myshell.exe

Again if the specified app exits PE will reboot.

Use of winpeshl.ini is documented in the windows aik downloadable from MS.
  Forum: Windows PE · Post Preview: #101327 · Replies: 8 · Views: 933

Crazy error
paraglider
Posted on: May 31 2010, 11:18 AM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


You have to copy the listed tools to <winbuilderdir>\projects\tools\win7pe. That's assuming you are trying to build the win7pe project.
  Forum: Win7PE · Post Preview: #101270 · Replies: 5 · Views: 467

New Feature Script
paraglider
Posted on: May 30 2010, 09:57 PM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


It takes very nearly six minutes for winbuilder to process the features script. That more than doubles the build time for me.
  Forum: Win7PE · Post Preview: #101249 · Replies: 16 · Views: 1,595

Crazy error
paraglider
Posted on: May 30 2010, 09:54 PM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


That's correct. Quite a few of them are MS components only legally available from the windows AIK / OPK. The former is downloadable from www.microsoft.com. Do a search for windows aik. Currently downloadable from this link:

http://www.microsoft.com/downloads/details...;displaylang=en

OPK is only available to OEM's.

Easier way to start is winpe se. It contains all tools you need to build apart from the windows 7 source dvd. It does however include components that are not legal to redistribute:

http://www.boot-land.net/forums/index.php?showtopic=10693
  Forum: Win7PE · Post Preview: #101248 · Replies: 5 · Views: 467

Downloads Page - Suggestion
paraglider
Posted on: May 28 2010, 11:18 AM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


I think all you are doing is proving @CMS points:

1) Its a mess because different projects require different versions of winbuilder to build and run successfully. Should be possible to build all available winbuilder projects with one version of winbuilder ideally the latest public version. Should not have to maintain separate winbuilder installations for different projects.

2) Two of the best known win7 projects are not downloadable via winbuilder - win7 rescue pe and win7pe se.

3) All actively developed winbuilder projects should be downloadable with winbuilder. Should not have to troll through the forum looking for download links.
  Forum: Support · Post Preview: #101074 · Replies: 9 · Views: 806

Downloads Page - Suggestion
paraglider
Posted on: May 27 2010, 10:10 PM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


As long as you don't use the latest winbuilder version 81 RC1!
  Forum: Support · Post Preview: #101045 · Replies: 9 · Views: 806

error on build 080
paraglider
Posted on: May 24 2010, 11:29 AM


Gold Member
*****

Group: .script developer
Posts: 1,070
Joined: 12-August 06
From: NC,USA
Member No.: 153


Make sure you run winbuilder elevated i.e. run as administrator. Easiest way to make sure you don't forget is to go into the file properties of winbuilder from explorer. Choose the Compatibility tab. Hit Change Settings For All Users. Then make sure the 'Run this program as an administrator' check box is set. Click Apply then run winbuilder. It should prompt for permission to run.

Other not recommended alternative is to disable UAC.
  Forum: Win7PE · Post Preview: #100839 · Replies: 4 · Views: 643

42 Pages V   1 2 3 > » 

New Posts  New Replies
No New Posts  No New Replies
Hot topic  Hot Topic (New)
No new  Hot Topic (No New)
Poll  Poll (New)
No new votes  Poll (No New)
Closed  Locked Topic
Moved  Moved Topic