Archive: Two Questions


Two Questions
1/ Is there way to determine, what an existing registry key type is i.e if it is a String, Dword etc

2/ Also i am looking to use NSIS for a System Scanner, is there any way i can change the string which are placed in NSIS. IE On the Welcome Page of the Modern Interface, can i delete the two Pieces of text?

thanks

carlos


To modify MUI strings use the defines for those strings, they can be found in the MUI Readme file. The welcome page can be modified by editing the special.ini, I think, file before the Welcome page is displayed. Welcome and finish pages are just custom pages used by MUI.

Vytautas


To determine if a registry value is of one of the types NSIS can read you can try to read it with the given instructions and check the error flag. If the error flag is set when you try to read it as a string, it's not a string. If the error flag is set when you try to read it as a DWORD, it's not a DWORD. If you want more, types you'd have to use the System plug-in. "How to Read REG_MULTI_SZ Values" in Appendix C does that. You can use it as an example.


You can change Modern UI Welcome/Finish page texts using normal settings. See the Modern UI Readme for details.


Sorry I meant to say 'The welcome page can also be modified ...', I left out also in my original post. :o

Vytautas