I was trying to work on making Omea Reader portable. It creates over 100 registry entries. After adding the keys in the .nsi file, i tried compiling it. It throws an error message. It seems like it doesnt support large number of reg entries. Is there a work around to this? Like adding all reg entires in a file. And then asking the script to import the reg entries in the file? I am new to NullSoft scripting...still on the learning curve. Can someone help me out with this thing? Any suggestions? Examples will help too.
Thanks,
Sam.
You do not have to enter each registry *entry* (ie keys), just a branch name is sufficient (and all sub-branches/keys/values belonging to the "parent" will be copied/restored).
For eg:
No need for: HKCU\Software\Microsoft\Money||HKCU\Software\Microsoft\Money\12.0||HKCU\Software\Microsoft\Money\12.0\ColumnSize||HKCU\Software\Microsoft\Money\12.0\Places|| etc etc
Just:
HKCU\Software\Microsoft\Money\12.0 will pick up all of them....
Thanks man. Lemme try this out. I guess that should cut down on a lot of entries.
It seemed to work however now makensis.exe crashes. It seems the number of REG entries (64 to be precise) is too much for NSIS to handle. Just for debugging into this problem, I reduced the number of REG entries. It then worked. So is there a workaround or a fix for this issue?
I don't understand why there are so many registry keys???
Surely there is a higher level you can specify...
(But hey, I could be wrong - I'm new at this!)
It seems like it registers a lot of plugins. I tried removing some of the registry keys which seemed useless to me when the application would be portable for e.g. activex registration or automatic RSS feed detection etc. I tried removing some of the other entries which seemed useless, however it turned those were for some of the plugins. The application shut down giving an error message saying 'Unable to load plugins from the registry'. I guess I need to do some reasearch on what entires can be avoided. In the meanwhile, can someone come up with an alternative or work around? I am new to NSIS scripting.