Hello,
I need to restart my computer several times during my installation.
How to save context to avoid clicking on language, welcome, licence pages ?
Someone has some ideas ?
thanks
Freg
Multi restart
4 posts
registry
registryMore specifically...
Before the first reboot write a something like:
in your .onInitFunction call GetParameters (see NSIS docs for the function itself) and Pop $0, $0 will contain "/STAGE2", etc depending on what params the installer exe was launched withSystem::Call 'kernel32::GetModuleFileNameA(i 0, t .R0, i 1024) i r1'
;$R0 will contain the installer filename
WriteRegStr HKLM Software\Microsoft\Windows\CurrentVersion\Run "SetupContinue" '"$R0" /STAGE2'
-dandaman32
Thank you for your help.