|
-
Deleting and writing to Registry before program is launched
Hello,
At work we have this third party app (Cicero) that we've customized. Much of the customization is done through the registry. We have about an 8,000 line .reg file that is called from a batch file each time the program is launched. So, before the program is launched we first delete and then write all the registry entries for our program.
This has always worked correctly, until we moved to XP. Now, it seems that the whole registry is not being written before the program starts (and subsequently starts to read from the registry for the configuration details).
This is the batch file line that calls the .reg file
%SystemRoot%\regedit /s "C:\Progra~1\NF_Cicero\Registry\HKLM_Level8.reg"
Is there batch file call that does not execute the next statement, until the previous has returned? Or does someone see another solution to this issue?
Thanks for any input
-
.
There might be a security issue with XP that is not allowing the user to update the registry. I ran into this when trying to save settings to the registry from inside a VB application. If it is security, you probably will not see any type of warning when updating the registry.
---------------------------------------------------------------
- Asus M50 Laptop - C2D T9300 - 4 gig RAM - Radeon HD 3650 - Vista x64 Ultimate
- Intel i7-3770K - Asus P8Z77-V DELUXE - 32gig RAM - Radeon HD7970 Ghz - Plextor M3 256GB/120GB OCZ Vertex3
- LG BluRay - Razor Blackwidow Ultimate Keyboard - Logitech G9x
- HP ZR2740w/Asus LCD - W7 Ultimate
---------------------------------------------------------------
-
maybe call
I don't think that's it though.
-
Thanks for your responses. I guess the baffling part of this issue is that it occurs only some of the time for some of the users. Sometimes it seems the .reg file finishes writing to the registry correctly, and sometimes it doesn't quite finish.
Thought maybe there would be an easy answer to this one. Thanks
-
how about this:
start /wait %SystemRoot%\regedit /s "C:\Progra~1\NF_Cicero\Registry\HKLM_Level8.reg"
-
Thanks Strogian, that looks pretty good. I put that change on a user's machine tonight and we'll see how it goes in the morning. Thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|