Updated the Operating system and nsis version details.
I am trying to create an application of x86, and i am not able identify the whether installed nsis is 32 or 64 bit.
"Why can't you just use WriteRegStr and SetRegView?" --> i already have the reg file which contains more than 500 lines. I tried converting the registry for nsis format 'WriteRegStr' with the 'Reg2Nsis' converter but this converter is not working correctly for all the reg entries, it fails when the value of the key is as follows.
reg file:
code:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\USBSTOR\Enum]
"Count"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\USBSTOR\Enum]
"NextInstance"=dword:00000000
Converted:
code:
WriteRegDWORD HKEY_LOCAL_MACHINE "SYSTEM\CurrentControlSet\services\USBSTOR\Enum" "NextInstance" 0x0
WriteRegDWORD HKEY_LOCAL_MACHINE "SYSTEM\CurrentControlSet\services\USBSTOR\Enum" "NextInstance" 0x0
For this error i droped the option of using WriteRegStr and SetRegView