FBreseal Behaviour

G

Guest

I’m curious about the behaviour of FBReseal, I’ve got the system cloning tool
in my image and currently everything runs like a dream. The image builds, it
seals it, restarts, it boot up and runs into explorer. At this point I have a
RunOnceEx command that spins up, at this point I commit the changes to the
disk and restart. The problem comes when I want to run FBReseal. It’s not
there any more (assuming it was FBReseal that shows the message “System
Sealed press enter to rebootâ€). I need to reseal my image so that I can
create a golden image for cloning. Am I missing something, such as fbreseal
can only be run once so it deletes itself after it runs?

Thanks for any help.
Rob
 
K

KM

Rob,
I'm curious about the behaviour of FBReseal, I've got the system cloning tool
in my image and currently everything runs like a dream. The image builds, it
seals it, restarts, it boot up and runs into explorer. At this point I have a
RunOnceEx command that spins up, at this point I commit the changes to the
disk and restart. The problem comes when I want to run FBReseal. It's not
there any more (assuming it was FBReseal that shows the message "System
Sealed press enter to reboot"). I need to reseal my image so that I can
create a golden image for cloning. Am I missing something, such as fbreseal
can only be run once so it deletes itself after it runs?

Yes, it can only be run once and it deletes itself.
For precisely, IIRC if you'd be able to launch it more than once you may get into some troubles with IIS. Search this NG archive for
some more details.
Basically, launching FBreseal more than one time is not supported scenario by Microsoft.

You can switch to manual reseal. (cmiResealPhase=0)
http://msdn.microsoft.com/library/en-us/xpehelp/html/xeconCustomizingResealPhase.asp
 
G

Guest

OK, running FBReseal manually is not a problem, but surely it seems only
reasonable to make some changes to an image then seal it. Which if this only
happens once is fine, but say if I have an image that is sent to site and two
years later comes back needing minor modification, are you telling me that I
have to completely start again with the image, rather than making a few
tweaks, resealing it and then pushing the image back to site? I accept that
this is how it's meant to be done, but isn't that slightly more restricting
than necessary?
 
K

KM

Rob,

Usually you don't update the image in filed and then reseal it again. What would be the point in doing so? You have already got
unique settings in the cloned image (computer name, SID, etc.) and you don't want to clone it again, right?

If you want to tweak the image in the field, you don't need to update the entire image but rather some files and/or registry
settings. If you know for sure you are going to be doing that, you may want to include DUA client or similar technology (like SMS
client) in your image now.

KM
 
D

Dwayne

I feel your pain! I have the same problem. I have configuration
settings that I can't seem to set in Target Designer easily that I
manually go through once I've run through FBA.

For example there are a ton of services that I don't need running and
user settings that need setting like not moving files to the recycle
bin, turning off the visual performance settings, configuring Dial-up
settings, etc. Once I've got things the way I like them then I copy
over fbreseal and execute it so I've got my "golden" image.
 
K

KM

Dwayne,

That is exactly the reason why I always prefer having all settings prepared during build or FBA time. Sometimes it is hard to
automate some settings but it always worth the time spent.
 
D

Dwayne

Note: this went slightly off topic.....

KM,

I agree that it would be time worth spent and probably the "right way"
of doing things but the problem seems to be finding the right
information in a timely manner. It's generally far quicker for me
build an image that is pretty much user setting-less and manually go in
and configure things.

For example: Is it possible to install a hardware device that is not
detected during boot time? Ex. Connect Tech Xtreme/104-4 where I have
to go and run the hardware detection wizard and select the Multiport
Serial adapter and then configure the IRQ setting to use? I also need
to configure the COM port settings afterwards for my modem and
configure the dial-up information and specific settings.

I've yet to find an XPe Bible that shows me the in/outs to building an
XPe image and teaches by example how to do things like the above. XP
Embedded Advanced by Sean Liming is an okay start, but I need the
little details that really make things work or don't work. I've gotten
pretty decent tips on how to fix problems that I've encountered in this
newsgroup or off the MS site but no "you should do it this way" or
"it's good practice to...".

Does anyone know of or would be interested in creating a web site that
contains this type of information? There's a wealth or knowledge in
the newsgroup that is here but sometimes hard to get to, or is
incomplete when a user says "I got it to work, thanks!" but doesn't
leave details on what they did to get it to work.

Dwayne
 
K

KM

Dwayne,
I agree that it would be time worth spent and probably the "right way"
of doing things but the problem seems to be finding the right
information in a timely manner. It's generally far quicker for me
build an image that is pretty much user setting-less and manually go in
and configure things.

It is indeed quicker if you do that with the same image once, maybe twice. But when you deploy the image hundred times (many
reasons: bug fixing, new feature requests, etc.) you are going to hate all the manual setups. This is getting worse if you have to
hand the image over to testers for QA testing and can expect a few more iterations for the image building.
For example: Is it possible to install a hardware device that is not
detected during boot time? Ex. Connect Tech Xtreme/104-4 where I have
to go and run the hardware detection wizard and select the Multiport
Serial adapter and then configure the IRQ setting to use? I also need
to configure the COM port settings afterwards for my modem and
configure the dial-up information and specific settings.

I never said it is easy to automate every possible setting. However, most of the settings (if not all) are just files and registry
entries.
So, as you pointed out, the problem would only be finding the right info and ways to integrate the settings in the image in a timely
manner.
With the right tools in hands (Regmon, Filemon, RegSnap, Dependecy Walker) you can do that much faster, though.
I've yet to find an XPe Bible that shows me the in/outs to building an
XPe image and teaches by example how to do things like the above. XP
Embedded Advanced by Sean Liming is an okay start, but I need the
little details that really make things work or don't work. I've gotten
pretty decent tips on how to fix problems that I've encountered in this
newsgroup or off the MS site but no "you should do it this way" or
"it's good practice to...".

I doubt you would be able to find such book. Remember it is more than 12000 components in the database. Each component has number of
reg.settings, files, resources, etc.
It would be impossible for anyone to cover everything in one book.
Only search engines can be helpful there (search on database, source, binaries, Internet search, etc.).
Although I must admit the MSDN search engine is awful and inconvenient.
Does anyone know of or would be interested in creating a web site that
contains this type of information? There's a wealth or knowledge in
the newsgroup that is here but sometimes hard to get to, or is
incomplete when a user says "I got it to work, thanks!" but doesn't
leave details on what they did to get it to work.

A while ago I thought that the XPe Tips is such website. I was wrong that time. To see a new tip one (not MS employee) has submitted
to that page he has to wait years.
Unfortunately, I can't be helpful in creating the website as I am too busy now with too many tasks. But if there is an easy and
convenient way to submit tips, I think many of us here would be happy to be compiling our answers in tip-like documents.
 
S

Slobodan Brcin \(eMVP\)

Konstantin,
Dwayne,
A while ago I thought that the XPe Tips is such website. I was wrong that time. To see a new tip one (not MS employee) has submitted
to that page he has to wait years.
Unfortunately, I can't be helpful in creating the website as I am too busy now with too many tasks. But if there is an easy and
convenient way to submit tips, I think many of us here would be happy to be compiling our answers in tip-like documents.

I was thinking of doing this and even took domain and server space few months ago, but I can't even get enough free time to change
main page :-(
http://www.slobodanbrcin.com/

Although I was thinking more like posting my tips and small tools. Your point about others being able to post tips as well is good,
although I will have to look much deeper in web development then. (This is too far away from ROI)

Regards,
Slobodan
 
M

Mark K Vallevand

Yes, automate as much as possible. I have a process document for building
all the components and images. Its huge, but absolutely necessary if I get
hit by a bus. There are only 5 manual steps that need to be done after FBA
and before fbreseal and releaseing tthe image. There are only 2 manual
steps for some images. I still haven't found ways to completely configure a
few things, which is why I have manual steps. But, one year ago, when I
started regularly releasing images, I had about 20 or 25 manual steps. I've
released 10 images since then, and tested hundreds. If I had to do 20
manual steps each time, I'd go crazy. I'm also lucky that the most of the
manual steps fit in nicely to some manual verification that I do for each
image. Still, with only 2 or 5 steps I still manage to bollux things up.

--
Regards.
Mark K Vallevand (e-mail address removed)

Beer is living proof that God loves us and wants us to be happy.
- Benjamin Franklin


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.
 
D

Desi

Rob, by setting the cmiResealPhase to 0, fbreseal will not run at the
end of the FBA cycle. This gives you an opportunity to perform custom
steps to your image prior to sealing it for cloning.

I strongly recommend that you look into scripting the manual steps that
you perform during this post-FBA customization phase - it not only
produces more consistent results, it *WILL* save you time in the long
run. Much like Mark, I have a document that is 30 pages long with
detailed instructions for the steps that are performed after FBA, and
"Run script foo.vbs" sure beats the heck out of folling 30 pages of
instructions. Even if you think that you will only have to perform the
customization a few times, don't be fooled - XPe has a habit of sending
you back to square one when you are testing an image and find out that
"You just need to add component xx". Off you go, rebuilding the image,
FBA'ing it, and then through the manual steps again... You'll
appreciate any automation that you do up front, I promise.

Desi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top