IPB

Welcome Guest ( Log In | Register )

Recommended
BootDisk.com

Active Users

2 Pages V   1 2 >  
Reply to this topicStart new topic
Script to Add WinBuilder Scripts to the Built CD/DVD
Add-BuildScript-to-ISO Script
Useful?
Yay [ 3 ] ** [100.00%]
Nay [ 0 ] ** [0.00%]
Total Votes: 3
Guests cannot vote 
Dramastic
post Sep 11 2008, 05:21 PM
Post #1


Member
**

Group: Members
Posts: 15
Thank(s): 0
Joined: 4-September 08
Member No.: 17,917


United States


A nice script would be...

if when you have spent alot of time configuring a CD/DVD to be just right with all the many settings in WinBuilder that a backup of the configuration (and possibly the scripts too) were placed on the .ISO.

This way if you stumble across the CD/DVD months or years later and there is something you like on it or you want to make minor tweaks to it, you have a starting point.

Dramastic




Go to the top of the page
 
+Quote Post
psc
post Sep 11 2008, 05:45 PM
Post #2


Guru
***

Group: .script developer
Posts: 5,404
Thank(s): 83
Joined: 14-July 06
From: Korschenbroich
Member No.: 3


Germany


QUOTE (Dramastic @ Sep 11 2008, 06:21 PM) *
A nice script would be...

if when you have spent alot of time configuring a CD/DVD to be just right with all the many settings in WinBuilder that a backup of the configuration (and possibly the scripts too) were placed on the .ISO.

This way if you stumble across the CD/DVD months or years later and there is something you like on it or you want to make minor tweaks to it, you have a starting point.

In the nativeEx world there already exists a script !WBManager which saves and restores actual configuration under names you define.
Because it only stores selections and options, it can be used for every (?) project.

You only have to copy the configuration to %targetdir% in order to bring it to the CD

Peter
Go to the top of the page
 
+Quote Post
psc
post Sep 11 2008, 08:32 PM
Post #3


Guru
***

Group: .script developer
Posts: 5,404
Thank(s): 83
Joined: 14-July 06
From: Korschenbroich
Member No.: 3


Germany


I thought about it.

Tomorrow I'm going to do a small modification in my !WBManager script.
Today in Europe it's too late.

Peter (IMG:../forums/style_emoticons/default/cheers.gif)
Go to the top of the page
 
+Quote Post
Dramastic
post Sep 11 2008, 10:37 PM
Post #4


Member
**

Group: Members
Posts: 15
Thank(s): 0
Joined: 4-September 08
Member No.: 17,917


United States


Sounds like most of the hard work is already done then. I can hardly wait to see what you come up with!

However I am wondering if saving the selections and options alone will be enough though - available options may change as new scripts are released? For example build version 10 of some.script may not have the same set of checkboxes as build version 20 of some.script.

Where is WinBuilder.Scripts.Archive.Org when you need it? (IMG:../forums/style_emoticons/default/frusty.gif)

On the other hand scripts will probably take a fair amount of space on the disk if the scripts have attachments etc. - not that this matters to me as I have already had to move to DVD builds..

..and then there is always blue-ray right? (IMG:../forums/style_emoticons/default/sporty98.gif)


Dramastic
Go to the top of the page
 
+Quote Post
psc
post Sep 12 2008, 06:39 AM
Post #5


Guru
***

Group: .script developer
Posts: 5,404
Thank(s): 83
Joined: 14-July 06
From: Korschenbroich
Member No.: 3


Germany


QUOTE (Dramastic @ Sep 12 2008, 12:37 AM) *
However I am wondering if saving the selections and options alone will be enough though - available options may change as new scripts are released?

Exactly my concerns.

This would make it necessary to also store the scripts on the DVD ...
And the right version of WinBuilder to build it ...
But then maybe you cannot add a newer script which needs a newer version of WinBuilder ...

Peter
Go to the top of the page
 
+Quote Post
Dramastic
post Sep 12 2008, 08:09 PM
Post #6


Member
**

Group: Members
Posts: 15
Thank(s): 0
Joined: 4-September 08
Member No.: 17,917


United States


QUOTE (psc @ Sep 11 2008, 11:39 PM) *
And the right version of WinBuilder to build it ...
But then maybe you cannot add a newer script which needs a newer version of WinBuilder ...


Good point which should be addressed, but this is true regardless of whether it is on CD/DVD or local though..

It might not be for everybody, but I think it has a place. I for one would like to be able to hand off a DVD to one of my colleagues that would both enable them to demo it and give them a working starting point.

- WinBuilder itself is pretty compact (< 1MB), so including it is probably not a big deal.
- I still have about 2.5--3 GB free on my DVD builds, plenty for any scripts (though I recognize this is going to be problematic for some).

- Regarding the Script updates not working with older WinBuilder versions such as might be on such a DVD, I guess it would then be a good thing that the original is read-only! However more seriously, perhaps it would be worth archiving the entire current WinBuilder Downloads collection (or perhaps individual projects) for the community just before any new release of WinBuilder..

Regards,

Dramastic

Go to the top of the page
 
+Quote Post
Nuno Brito
post Sep 12 2008, 08:55 PM
Post #7


Advanced Member
***

Group: .script developer
Posts: 6,137
Thank(s): 127
Joined: 13-July 06
From: Azores
Member No.: 1


Portugal


Having a sort of snapshot of all available scripts along with the current winbuilder seems a good idea.

Some years ago it was done because there were few scripts and projects, today this would become a huge task but still a very interesting one since so many features and scripts could be added.

Also, winbuilder doesn't run well from a read only location and will need IE installed on the OS - otherwise it will complain that it is unable to write settings on scripts.

Maybe this is something to consider fixing in the future, I'd like to see such collection available one day.

(IMG:../forums/style_emoticons/default/smile.gif)
Go to the top of the page
 
+Quote Post
cdob
post Sep 17 2008, 08:26 PM
Post #8


Advanced Member
***

Group: Advanced user
Posts: 52
Thank(s): 8
Joined: 7-November 07
Member No.: 11,765



I'm used to add source files to BartPE since several years.

I'm using mkisofs
CODE
-duplicates-once -graft-points /source/=%PEBuilderRoot%

Files are not copied at build time.
Mkisofs read files from another directory and maps to /source/
Actually source files are not copied to hard disk at all, mkisofs output is piped to cdrecord: mkiofs | cdrecord -

What about adding winbuilder.exe, Tools directory and current Projects directory?

Can -graft-points be added to CreateISO.script?
How to set current Projects directory inside a .script?
Go to the top of the page
 
+Quote Post
psc
post Sep 17 2008, 08:37 PM
Post #9


Guru
***

Group: .script developer
Posts: 5,404
Thank(s): 83
Joined: 14-July 06
From: Korschenbroich
Member No.: 3


Germany


QUOTE (cdob @ Sep 17 2008, 09:26 PM) *
Can -graft-points be added to CreateISO.script?
How to set current Projects directory inside a .script?

Please explain an expert dummie what -graft-points really performs

Since the new variables handling I introduced in WB 075 beta, it is possible to change EVERY variable:
Set,%projectDir%,C:\foo
Livetime of the new value is the current script only.

Peter
Go to the top of the page
 
+Quote Post
cdob
post Sep 18 2008, 04:01 PM
Post #10


Advanced Member
***

Group: Advanced user
Posts: 52
Thank(s): 8
Joined: 7-November 07
Member No.: 11,765



@Peter
-graft-point is a kind of virtual rename and move.
Files and directories from any location at hard disk can be renamed and moved at CD.

http://cdrecord.berlios.de/old/private/man.../mkisofs.8.html
QUOTE
If the option -graft-points has been specified, it is possi-
ble to graft the paths at points other than the root direc-
tory, and it is possible to graft files or directories onto
the cdrom image with names different than what they have in
the source filesystem.


Previous example as mkisofs command (not tested, just to clarify idea):
CODE
mkisofs %options% -graft-point %targetdir% /source/WinBuider.exe=%BaseDir%/WinBuilder.exe  /source/Projects/%ProjectName%=%ProjectDir% /source/Projects/Tools/=%BaseDir%/Tools/


This creates at CD:
%targetdir%
/source/WinBuilder.exe
/source/Projects/%ProjectName%
/source/Projects/Tools
Go to the top of the page
 
+Quote Post
« Next Oldest · Vote! · Next Newest »
 

2 Pages V   1 2 >
Fast ReplyReply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 

Display Mode: Standard · Switch to: Linear+ · Switch to: Outline

Track this topic · Email this topic · Print this topic · Subscribe to this forum

RSS Lo-Fi Version Time is now: 12th October 2008 - 08:57 AM

W3C XHTML • © 2008 Boot Land • All rights reserved • W3C CSS