Hello dear guest!

Why not join 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

fxscrpt

.script developer

***

Joined: 15-September 08
Profile Views: 0*
Last Seen: Today, 08:14 PM
Local Time: Sep 5 2009, 11:21 PM 294 posts (0.83 per day)

fxscrpt doesn't have a personal statement currently.

Profile
Personal Photo
Personal Info
Contact Information

 

fxscrpt
Frequent Member
Age Unknown
Gender Not Set
Location Unknown
Birthday Unknown
AIM No Information
Yahoo No Information
ICQ No Information
MSN No Information
Contact Send Message
Contact Private

Topics
Posts
Files E2T
Comments
Friends
My Content
2 Sep 2009
Read Topic
WinBuilder 078 - Is it a bug #2?
I am not sure (so not reported in bug tracker)

CODE
CopyOrExpand,%source_win%\TShoot.cab,%target_win%
thumbsup.gif

copies the file thumbsup.gif
but
the file is not expanded sad.gif

Because there is an 'OR' in command (copy OR expand)
the command logically works, but i always
understood as 'copy and expand'.

For other file types (.inf,...) it works well, but not for cab files.

cheers.gif
Peter
21 Mar 2009
Read Topic
ProjectInfo.ini
Hello,

How to get localized values of following shell folders?

Common Documents
Common Favorites
Common Templates
PrintHood
My Pictures
NetHood
Templates
Favorites

Thanks
Peter


10 Mar 2009
Read Topic
RegFactory ready to use
Hi,

RegFactory API is ready to use.

If using RegFactory API many installation tasks
can be moved to run inside a virtual machine.

Edit: RegFactory is now part of LiveXp.

RegFactory sequence:

execute %PreApiRegScript% , section [Process]

create blank virtual disk
mount virtual disk
copy the build to virtual disk
prepare the copy to run inside a virtual machine

execute %PreApiRegScript% , section [PreVMBoot]
(add extra files to mounted virtual disk here)

unmount virtual disk
run the build inside VM (dll-register/dll-install/commands are executed here)
mount virtual disk
import registry changes to original build

execute %PostApiRegScript% , section [PostVMBoot]
(grab files from mounted virtual disk here)

unmount virtual disk

execute %PostApiRegScript% , section [Process]


(%PreApiRegScript%/%PostApiRegScript% can be modifiled by app scripts to register for callback)

How to use RegFactory?

typical script template:
CODE
[Main]
Title=Example
Description=
Type=Script
Selected=True
Locked=False
level=3
Author=you
Version=1

[Variables]
%regmethod%=build

[Process]
Echo,Processing files ...
DirMake,"%target_sys%"
DirMake,"%target_win%\Help"
CopyOrExpand,"%source_win%\certmgr.msc","%target_sys%"
CopyOrExpand,"%source_win%\certmgr.dll","%target_sys%"
.
.
RegHiveLoad,"WB-Software","%target_sys%\config\software"
RegWrite,HKLM,0x1,"WB-software\Microsoft\Cryptography",....
RegHiveUnload...
.
.
//RegFactory part here:

Echo,Processing registrations ...

//registration commands for virtual machine will be stored in RunonceEx\502 registry key
//True=create new RunonceEx\502 key, False=append to RunonceEx\502 key
Run,%ApiRegScript%,setlevel,502,True

//call DllRegisterServer and DllInstall (regsvr32 /i ...)
Run,%ApiRegScript%,install,%regmethod%,certmgr.dll

//call DllRegisterServer (regsvr32 ...)
Run,%ApiRegScript%,register,%regmethod%,cryptext.dll,cryptnet.dll

//call DllInstall (regsvr32 /n /i ...)
Run,%ApiRegScript%,register,%regmethod%,"/n /i wininet.dll"

//run command
Run,%ApiRegScript%,runcmd,%regmethod%,"msiexec.exe /RegServer"

//register [postvm] section to run after vm part
//virtual disk is mounted as %ApiRegHDDDrive%
IniWriteTextLine,"%PostApiRegScript%","PostVMBoot","Exec,%ScriptFile%,postvm"

//register [postproc] section to run after vm part
//virtual disk is not mounted
IniWriteTextLine,"%PostApiRegScript%","Process","Exec,%ScriptFile%,postproc"


[postvm]
Echo,"Postprocessing: Example script ..."
//grab new files
StrFormat,REPLACE,"%target_win%",%TargetDir%,%ApiRegHDDDrive%,%dirtarget%
DirMake,"%target_sys%\CatRoot"
DirMake,"%target_sys%\CatRoot2"
DirMake,"%target_win%\Security"
DirCopy,"%dirtarget%\System32\CatRoot\*","%target_sys%\CatRoot"
DirCopy,"%dirtarget%\System32\CatRoot2\*","%target_sys%\CatRoot2"
DirCopy,"%dirtarget%\Security\*","%target_win%\Security"

[postproc]
Echo,"Postprocessing: Example script ..."
//override defaults  
RegHiveLoad,WB-Setup,"%target_sys%\setupreg.hiv"
RegWrite,HKLM,0x4,"WB-Setup\ControlSet001\Services\MSIServer","Start","3"
RegHiveUnLoad,WB-Setup


Have fun!

Peter
18 Nov 2008
Read Topic
Register Factory Beta
If you want to try my way of build time registration, please download attached file and try!
your comments and suggestions are welcome!

content of file:
1 - RegFactory.script is the Api. Application scripts can 'invoke' the api to manage dll registrations.
RegFactory.script makes the job.

start with my examples:

Core_Crypto.script
Core_MMC.script
(please use tested source :WinXP SP3)
(WB Version 075b5w or higher)

i hope you like it!

implementation details:

1 - RegFactory.Script controls the control file %ProjectTemp%\apireg\ApiRegCfg.ini.
ApiRegCfg.ini controls RegFactory.script.


RegFactory.script:

1. important files are saved to %ProjectTemp%\apireg (registry files...)
2. the build is modified to start in a VM
3. registration commands are added to build
4. temporary ISO is created and started in VM
5. important files are restored
6. registry changes are transfered from VM to build




Peter

----------------------------
todo:
VMWare support
Run Build from HDD
File transfer VM > Build
..many other thinks
Attached File(s)
Attached File  RegFactoryBeta.zip ( 169.15K ) Number of downloads: 64
 
18 Oct 2008
Read Topic
Winbuilder GUI
I have two suggestions

if you click 'Edit' inside a script , lets say winbuilder is in design mode,
it would be a nice feature to show controls in different colors for background, border etc.,
so overlapping and wrong sizes can be easy detected by script developers.

for 120DPI hosts it would be nice feature to resize/reposition controls
'on the fly' (=just before creating controls in windows) for the GUI.
most scripts look ok if growing factor is (1.1 ... 1.2) * 120 / 96.

Peter

Extras
Options
Options
Interests
No Information
Other Information
Country:: Germany
Last Visitors


21 Jun 2009 - 19:38
psc


19 Jun 2009 - 18:36


19 Jun 2009 - 15:27


6 Apr 2009 - 13:27
Adizeb


3 Apr 2009 - 11:13
Comments
Lancelot
My first x64 friend on boot-land rescuing me from being alone. Also the founder of marvelous "RegFactory" project. And very bullseye messeages for various subjects about LiveXP.
Keep the good work :)
11 Mar 2009 - 1:28
psc
I remember something about the old Roman Julius Cesar:
He came, saw and won!
Peter, that's my impression about your entry here!
Stay in that way!
Peter
26 Oct 2008 - 22:13
Friends
psc

7893 posts
Today, 06:43 PM

2989 posts
Today, 11:25 AM

650 posts
Today, 10:18 PM

3009 posts
Today, 08:28 PM
View All Friends
* Profile views updated each hour

IPS Driver Error

IPS Driver Error

There appears to be an error with the database.
You can try to refresh the page by clicking
here