Hello guys, im at work now so i can paste the code. however i see a simple example on software NSIS, where i can for example open a notepad when log on on windows ad every start.
The code work
But if i try to see on regedit the registry , there isnt!!
why?
Registry (regedit) work but not see
4 posts
I don't really understand what the question is, please get help from some fluent in English to help you rephrase the question.
Im so sorry. Im italian.
The problem is, when i open regedit and check on HKEY_LOCAL_MACHINE Software\Microsoft\Windows\CurrentVersion\Run
i cannot find that new reg
However thanks for fast reply Anders
;Running a .exe file on Windows StartWhen i restart windows , notepad start (and is ok)
!include "MUI.nsh"
Name "START WINDOWS"
OutFile "STRWIN.exe"
!insertmacro MUI_LANGUAGE "Spanish"
Section
WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Run" \
"Notepad" "$WinDir\Notepad.exe"
MessageBox MB_OK "The Notepad Running as Windows Start"
SectionEnd
The problem is, when i open regedit and check on HKEY_LOCAL_MACHINE Software\Microsoft\Windows\CurrentVersion\Run
i cannot find that new reg
However thanks for fast reply Anders
NSIS is a 32-bit application and writes to the 32-bit part of the registry by default so check under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run if you are running a 64-bit version of Windows.
Use "SetRegView 64" if you need to the 64-bit part of the registry...
Use "SetRegView 64" if you need to the 64-bit part of the registry...