Mega Search
23.2 Million


Sign Up

Make a donation  
Forcing Config File Use  
News Group: embarcadero.public.bde.general

We figured out a long time ago that using the BDE on Vista and Windows 7 
required you to go into Objects/Options in the BDE Administrator and check 
the Win 3.1 box to force all items to be stored in the CFG file.  I'm trying 
to automate this process in our installation routine.  I thought the answer 
was to set

HKEY_ LOCAL_MACHINE\SOFTWARE\Borland\Database Engine\SaveConfig

to Win31. I added a line to do that to our install and went into the 
administrator and changed the option to the other value.  I looked at 
regedit and sure enough the value now said Win32.  I ran the revised install 
and regedit had it back to Win31 and I thought I was home until I ran the 
BDE Administrator again and found the wrong box was still checked.

Do I need to set two keys?  What did I miss?

-- 
Frank M. Cook
www.FuneralHomeSoftware.info

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 8-Jun-2012, at 7:37 AM EST
From: Frank M. Cook
 
Re: Forcing Config File Use  
News Group: embarcadero.public.bde.general
"Frank M. Cook"  wrote in message 
news:475484@forums.embarcadero.com...
> We figured out a long time ago that using the BDE on Vista and Windows 7 
> required you to go into Objects/Options in the BDE Administrator and check 
> the Win 3.1 box to force all items to be stored in the CFG file.  I'm 
> trying to automate this process in our installation routine.  I thought 
> the answer was to set
>
> HKEY_ LOCAL_MACHINE\SOFTWARE\Borland\Database Engine\SaveConfig
>
> to Win31. I added a line to do that to our install and went into the 
> administrator and changed the option to the other value.  I looked at 
> regedit and sure enough the value now said Win32.  I ran the revised 
> install and regedit had it back to Win31 and I thought I was home until I 
> ran the BDE Administrator again and found the wrong box was still checked.
>
> Do I need to set two keys?  What did I miss?
>
> -- 
> Frank M. Cook
> www.FuneralHomeSoftware.info

That should have done the trick.

A couple of ideas:

1. Are you sure your installation process was elevated.
2. Are you sure the BDE was installed and the Registry entries there 
*before* you
    applied you registry entry fix ?

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 11-Jun-2012, at 10:01 PM EST
From: Leslie Milburn
 
Re: Forcing Config File Use  
News Group: embarcadero.public.bde.general
> A couple of ideas:
>
> 1. Are you sure your installation process was elevated.
> 2. Are you sure the BDE was installed and the Registry entries there 
> *before* you
>    applied you registry entry fix ?

no, I'm not sure the installation process was elevated but I'm sure of the 
rest.

I'm sure the BDE was installed first.  I'm sure the Registry entry said 
Win32 before I ran my install program.  I manually unchecked the box in the 
Administrator and then ran regedit and looked at the value.

I'm sure the registry entry changed from Win32 to Win31 after my routine ran 
because I ran regedit again and looked.

I'm sure when I started the Win3.1 button was not checked in the BDE 
Administrator.  I'm sure when I finished it was still not checked even 
though Regedit showed the key value had changed.

hmm, I guess I could use regedit to manually change the value and then look 
to see what the Administrator says. that would take my installation routine 
out of the picture.  I'll try that and report back.


-- 
Frank M. Cook
www.FuneralHomeSoftware.info

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 13-Jun-2012, at 9:29 AM EST
From: Frank M. Cook
 
Re: Forcing Config File Use  
News Group: embarcadero.public.bde.general
my bad.  I was setting the entry to Win31 and it looks like case matters. 
WIN31 works.

-- 
Frank M. Cook
www.FuneralHomeSoftware.info
"Frank M. Cook"  wrote in message 
news:476769@forums.embarcadero.com...
>> A couple of ideas:
>>
>> 1. Are you sure your installation process was elevated.
>> 2. Are you sure the BDE was installed and the Registry entries there 
>> *before* you
>>    applied you registry entry fix ?
>
> no, I'm not sure the installation process was elevated but I'm sure of the 
> rest.
>
> I'm sure the BDE was installed first.  I'm sure the Registry entry said 
> Win32 before I ran my install program.  I manually unchecked the box in 
> the Administrator and then ran regedit and looked at the value.
>
> I'm sure the registry entry changed from Win32 to Win31 after my routine 
> ran because I ran regedit again and looked.
>
> I'm sure when I started the Win3.1 button was not checked in the BDE 
> Administrator.  I'm sure when I finished it was still not checked even 
> though Regedit showed the key value had changed.
>
> hmm, I guess I could use regedit to manually change the value and then 
> look to see what the Administrator says. that would take my installation 
> routine out of the picture.  I'll try that and report back.
>
>
> -- 
> Frank M. Cook
> www.FuneralHomeSoftware.info

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 13-Jun-2012, at 11:41 AM EST
From: Frank M. Cook