Hi,
I am working on performance optimizing for our legacy application. It use VC++ 2008, OS is WindowsXP or above.
In installation, it will parse a file and write some information about the file into registry. With the files count increasing, the installation need very long time.
I try to comment the code that write to registry, and it will reduce the installation time sharply. But we can't remove the registry action.
In old code, it will use RegCreateKey and RegSetValueEx to set the registry data.
So I try another method, I write the data into a file, and call the function like "regedit /s /c aaa.tmp" to import the file. It will reduce some time, but not significant.
Could you suggust me some method could try? Many thanks,
Well