Talk:Reg2Nsis - convert registry info into NSIS commands

From NSIS Wiki

Bug found on reg2nsis 0.12, not resolved by author, bug report sanded ~ 20.04.2010:

Registry script:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Far2\Associations\Type1]

"Mask"="*.iso"

"Description"="ISO Images"

"Execute"="sl:\"!.!\""

"State"=dword:00000001

"AltExec"="7-Zip:!.!"


Converted script:


WriteRegStr HKEY_CURRENT_USER "Software\Far2\Associations\Type1" "Mask" "*.iso"

WriteRegStr HKEY_CURRENT_USER "Software\Far2\Associations\Type1" "Description" "ISO Images"

WriteRegStr HKEY_CURRENT_USER "Software\Far2\Associations\Type1" "Execute" "sl:$\"!.!$\""

WriteRegDWORD HKEY_CURRENT_USER "Software\Far2\Associations\Type1" "State" 0x1

WriteRegStr HKEY_CURRENT_USER "Software\Far2\Associations\Type1" "AltExec" "7-Zip:!.!"


Symbols $\ generated Registry bug - needed string 'sl:"!.!"' , but writed string "sl:$\"!.!$\"" and program aborted with errors messages.

re:

спасибо за интересную информацию

Personal tools
donate
ads