how to launch a reg silently?
Hello, plz help me, I search how to launch a reg silently?
How to do?
Archive: how to launch a reg silently?
how to launch a reg silently?
Hello, plz help me, I search how to launch a reg silently?
How to do?
You can create Registry entry directly with NSIS commands WriteRegStr, WriteRegDWORD a.s.o. In Addition you can use Windows Regedit.exe
Use it this way:
Exec [Pathto]\Regedit.exe /S "name of reg file"
Try the /s parameter when calling the regedit.
See this little tutorial
Example:
@echo off
ConsoleTool /HIDE
REGEDIT /S GetRight.reg
CHOICE.COM /N /CY /TY,4 >NUL
cd C:\Program Files\GetRight
Start GetRight.exe
cls
:)
Note: choice is win9x only, and nsis has a sleep command (looks to me like you are waiting 4 seconds bfore launching GetRight)