Registry data!

A

Ann

hi,I want to add/change some registry data during FBA. How could I do?

I found the following method:
Open CD->Addd new component->Add registry data->save->Import SLD->Add
component and build.

Is it right?or I have to do more?
 
D

Defcon31

This can be done
but my experice is that sometimes this will be automatically over-written
(by FBA, even if i set it to the latest phase).
my experience is that the most effective way to do all registry changes i
want is by running a bat file AFTER fba that
does alle regitry changes.

in bat file:
reg /s c:\yourRegFile.reg

in reg file:
your REGEDIT4 entries

greets
 
A

Ann

You are right. I didn't get the registry changes I wanted. They were
over-written.

But one problem with BAT, I failed to run BAT file before. The following are
what I did:
I added "FBA generic command" in CD, "%11%\cmd.exe" as file path,"/C
Bat_file_path\file_name.bat" as arguments.
Where is the matter?
 
K

KM

Ann,

Do you see any error in your FBALog.txt file?
Why do you think you failed to run the batch file?
Do you have Commad Prompt component included in your image?
You may want to put pause/echo statements in your bacth to debug it at
runtime.
Also, make sure you've got proper FBA phase set for the FBA Generic Command.

KM
 
D

Defcon31

hi ann

first i did it also the way like you did with FBA.
think you have the same problems as i had;

now what i do: make a RUNONCE item (the same way as making FBA item)
and that runonce item is the BAT file.
don t forget to set "flags" in the runonce item to 2, so that it makes you
bat file run AFTER FBA is completed; thus during the first login !

and in the ..... (forgotten; think "value") field of the runOnce Request
item you type:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CurrentVersion\RunOnceEx (or Run or
RunOnce; don't know it for sure)...
and again, Dont forget to set the Field "Flags" on 2 !!!!!!!!! (searched for
it long long time)

succes and let know if it helped !!
 

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