Registry Writing and rebooting
Posted: Thu Dec 30, 2004 12:39 pm
Okay two questions here, one is more of a suggestion.
I'm trying to write some values and keys to the target registry. I used the Visual part to easily setup where the keys need to go and I checked it in the code but when I run the program both a real build and a debug build nothing is changed in the regestry. Any ideas?
Speaking of the regestry, when the intaller has to install some prereqs that need the computer to be rebooted, instead of making the use restart the install program, a registry value could be added to the RUN area for the current user which would then auo launch the installer after the log in again. I was trying to do it myself but there is no way to tell the script where the location of the installer file is located to add to the registry key.
I'm trying to write some values and keys to the target registry. I used the Visual part to easily setup where the keys need to go and I checked it in the code but when I run the program both a real build and a debug build nothing is changed in the regestry. Any ideas?
Speaking of the regestry, when the intaller has to install some prereqs that need the computer to be rebooted, instead of making the use restart the install program, a registry value could be added to the RUN area for the current user which would then auo launch the installer after the log in again. I was trying to do it myself but there is no way to tell the script where the location of the installer file is located to add to the registry key.