Old 28th September 2007, 00:07   #1
sticcino
Junior Member
 
Join Date: Sep 2007
Posts: 6
Insert Reg File Err: Invalid registry file format

Hi,

i was add the reg settings for my app to the installer, so that a "default" layout will be available for the user, but recieve an error when importing it. Some of the settings do import, but the others do not.

Most of the settings are to do with "panel" layout and GUI stuff, so there is a lot of DWORD/HEX values in the registry that may be causing an issue.

I've include the .reg file renamed as a .txt file for reference.

i'm manully going thru the reg and adding "WriteRegDWORD" to each item and seeing where it craps out in the installer.

thanks
Johnny
sticcino is offline   Reply With Quote
Old 28th September 2007, 08:41   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
You forgot the attachment and I don't really understand what goes wrong with your script, but I guess you need this:

http://nsis.sourceforge.net/Reg2Nsis..._NSIS_commands

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 28th September 2007, 18:56   #3
sticcino
Junior Member
 
Join Date: Sep 2007
Posts: 6
sorry about that.
It seems the reg2nsis utility clear the problem with the reg file import i had earlier.

thank you again
Johnny
sticcino is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump