|
|
#1 |
|
Junior Member
Join Date: Jan 2005
Location: Ann Arbor MI
Posts: 1
|
Change date of system at Install
I have the need to change the date and year on the pc during install. I can capture the current date and time.
How do I reset the pc's date and time to a diff value during install then chane it to back to the correct values? Is there a function to do this? Is there a function to poll a time server to set the correct time and date? |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
You can call SetSystemTime using the System.dll plug-in to set the date and time.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|