You are here

Issue with large number of Registry entries when working with PAT 1.4?

6 posts / 0 new
Last post
thekonfuser
Offline
Last seen: 15 years 4 months ago
Joined: 2007-02-12 12:11
Issue with large number of Registry entries when working with PAT 1.4?

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.

vbap
Offline
Last seen: 5 years 5 months ago
Joined: 2006-08-28 02:28
You do not have to enter

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....

thekonfuser
Offline
Last seen: 15 years 4 months ago
Joined: 2007-02-12 12:11
Thanks.

Thanks man. Lemme try this out. I guess that should cut down on a lot of entries.

thekonfuser
Offline
Last seen: 15 years 4 months ago
Joined: 2007-02-12 12:11
NSIS crashed.

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?

vbap
Offline
Last seen: 5 years 5 months ago
Joined: 2006-08-28 02:28
I don't understand why there

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!)

thekonfuser
Offline
Last seen: 15 years 4 months ago
Joined: 2007-02-12 12:11
Registers a lot of plugins

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.

Topic locked