I've written a script to add registry entries using the Win32::TieRegistry module. It works very well. I'm also using the Win32::ODBC module adding a DSN for an ODBC Driver.
I've discovered that the script needs to be run twice due to the following:
Does anyone know of a way to "refresh" the registry so the script can be run once? I've tried sleeping in a while loop until I see the new Driver in the Registry but I'm forced to stop the script and run it again.once: to write the new regitsry entries for the ODBC Driver and copy the appropriate dll's. twice: add a DSN for the ODBC Driver after locating the driver installed in the previous step.
Thanks
In reply to Refreshing the Windows Registry by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |