Re: Blat and Windows 7 (64)
| Newsgroups | gmane.mail.blat |
|---|---|
| Message-ID | <E14181325900455AAB689B642936486A@chip> |
> Before you ask - yes I do have Administrator priviledges. > > I've run across the problem that when a Delphi program I've written creates and runs a .bat file which has a 'blat -SaveSettings' command in it then it fails. A bit of trawling on the internet brought the -hkcu option to my attention which saves ok but .... > > 1) It does not seem possible to do a '-profile -delete xxxx -hkcu' (I can delete it if I run regedit and remove HKCU/Software/Wow6432Node/PublicDomain/Blat/xxxx), so it seems that the -hkcu option isn't yet fully implemented. > > 2) So I tried setting the config properties of Blat to 'run as administrator' - now I get a system pop-up everytime blat runs - not good, and a blat -profile reports nothing. > > So my question - is it possible to setup Blat so it can run with Administrator priviledges without the annoying pop-up - if not, what is the correct incantation to invoke hkcu for -Savesettings, -install and -profile as its not mentioned in any of the help entries. > > Thanks I am running Windows 7 here at home, and my profiles are all listed under HKLM, not HKCU. Specifically, my profiles are found at HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Public Domain. If you have profiles under HKCU, you should be able to view them without using –HKCU option, and likewise be able to delete them. That is the intent, anyway. The “pop-up” is a Windows thing because Blat is compiled to be a console program. Have you considered using blat.dll with your Delphi program instead of using the standalone blat.exe? Chip