wonsleinad
10th April 2004 21:41 UTC
trouble with long registry entry
I'm trying to put a registry command in my installer, but when I compile it, it always returns "unterminated string parsing line"
The value string is really long (4,800 characters), is there a maximum string length or something? I've tried to insert backslashes, but that didn't work either.
I attached the command, for the experts to look at.
Joost Verburg
10th April 2004 22:16 UTC
See the website for special builds with an increased string lenght.
wonsleinad
11th April 2004 00:44 UTC
Thank you for the response Joost. I replaced the file 'makensis.exe' but unfortunately it still yields the same error "unterminated string parsing line".
wonsleinad
11th April 2004 00:55 UTC
I just tried to remove the quotes, and I recieved the responce
"4c69442a092f003c8b2...[etc] is not a valid command"
I removed that point on from the string and it worked fine. For some reason it is only taking 4,034 characters instead of 8,916. Am I doing something wrong or is there a bug in the special build?
Edit:
I fixed my problem. Apparently the 4,034 character has to be a backslash. I'm guessing that the compiler makes a new line every 4,034 characters. But I really know nothing about programming, so maybe someone else could answer that question. Perhaps it's a bug, perhaps I'm doing something wrong. Thanks again Joost.
Edit Again:
Sorry, but I keep discovering more. Actually it's the 4,095 character that needs to be a backslash--I forgot to include a few things in my character count.