Registry problems...
Greetings all... I'm working on building a portable app launcher for the shareware version of WinImage just as a practice app to help me learn a bit... It works fine, but when I put my registration information in, it looses it when the app shuts down. Seems like it's not properly backing up the registry although the code looks fine to me...
Registry::_RestoreKey "$SETTINGSDIRECTORY\settings.reg" .R0
ExecWait $EXECSTRING
Registry::_SaveKey "HKEY_CURRENT_USER\Software\WinImage"
"$SETTINGSDIRECTORY\settings.reg" "/G=1 /D=0 /B=0" .R0
Registry::_DeleteKey "HKEY_CURRENT_USER\Software\WinImage" .R0
) alot so i wanted to make a single exe version of it but everytime i compile and run it it says "sdl.dll not found maybe installing might fix this problem," so then i take silent install off to see a gui of the install it copies the files and then runs so i try runnning again it says the samething so then i go to the install dir which is %temp%\IFB then i see that the sdl.dll and all the other files have copied and then yet agian the windows saying the problem with the dll is still there so then i click on frozen-bubble.exe in the temp folder and then it runs (with the other frozen-bubble process running complaining about sdl) and then i close both and the nsis script finishes but and deletes the tmp dir but doesnt delete writetest.tmp (it installes itself to the $EXEDIR to check read only media) and so what im a doin wrong