xanax Posted April 1, 2016 Share Posted April 1, 2016 exactly, that why almost always get some errors when try recompile script you get from decompiling but in global can be useful to understand what nsis installer doing ...about connection... WriteRegBin writes REG_BINARY data to registry so line in original script should look like i mention above, instead this part of line: data[91242 ... ] ; !!! Unsupported original script contain 109 bytes of zeros Link to comment Share on other sites More sharing options...
asf Posted April 1, 2016 Author Share Posted April 1, 2016 Just now, xanax said: exactly, that why almost always get some errors when try recompile script you get from decompiling but in global can be useful to understand what nsis installer doing ...about connection... WriteRegBin writes REG_BINARY data to registry so line in original script should look like i mention above, instead this part of line: data[91242 ... ] ; !!! Unsupported original script contain 109 bytes of zeros Yeah thank's did that, but now i still get an error when i do like this WriteRegBin HKCU Software\BurnAware\License "Key"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00 ; !!! Unsupported And a global question, could it be that the code from ";" should be a line below? Rename $EXEDIR\App\BurnAware\$0.ini $EXEDIR\App\BurnAware\$0.lng ; $EXEDIR\App\BurnAware\$0.ini->$EXEDIR\App\BurnAware\$0.lng Or the code is build that way on purpose? Thanks Link to comment Share on other sites More sharing options...
asf Posted April 1, 2016 Author Share Posted April 1, 2016 Oh i think i see the problem, the code is supposed to be hexadecimal.(maybe this IS Hex ) Thanks Link to comment Share on other sites More sharing options...
andy2004 Posted April 2, 2016 Share Posted April 2, 2016 You could try this. Reg2NSIS page. HOW to convert the registry to NSIS command. the import the file into the .nsi file Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.