Archive: Reboot in Win2k, activating (comunicating) registry changes


Reboot in Win2k, activating (comunicating) registry changes
I'm using a reboot section like this

; optional section
Section "Reboot"

MessageBox MB_YESNO "You need to RESTART your computer to end the installation proccess. $\n $\n \
Do you want to restart it NOW? $\n $\n" IDNO Skip_Reboot

Reboot

Skip_Reboot:

SectionEnd

just before the unistall section.

IT WORKS BUT,

when win2k comes up again, some error seems to had hapen
and win2k invites me to recover.

????

2ND ISSUE

WIN2K theoretically does not need reboting to actualice
(comunicate) environment registry entry changes, this can be manually acomplished by editing them with no modification under system section of the control panel.
Also some comercial installer vendors allows to do such comunication calling a propietary dll rom the installer.

Is there such functionality in NIS,...?


don't know whats on it works on my win2k without any problem maybe u need to reinstall your win or update to the servicepack 2 ...

the path variables can be set with the open command .
with this u can start commandline progs then u can add what u want to the path vars or something else

if u want it directly in nsis ask justin ...

maybe he'll implement this ?
(look to the "Items that need to be put in the NSIS installer" thread
and post the second one there ...


I don't know about your first question but if you want Windows NT (2000) to reload the enviorment variables you should broadcast a system wide message. I have already wrote such a program, attached.

KiCHiK