QUOTE (cyberloner @ Oct 5 2006, 07:34 AM)

1st time run..
it remove the the reg imported to [HKEY_CURRENT_USER\Software\DVDAuthorPro]
what the hell....

, after registering using the exe I have also deleted the HKEY_CURRENT_USER\Software\DVDAuthorPro with no complaints from the program. I use an edited inno setup and an AutoIt script to register. The names and serial have been changed to protect the innocent
CODE
#NoTrayIcon
Dim $RegDoneTitle = "DVD-lab", $RegNagTitle = "Shareware", $RegInfoTitle = "Enter Registration Info", $Exe = '"' & @ScriptDir & "\DVDlabPRO.exe" & '"'
Dim $Name = "Bruce Wayne", $Serial = "11223344556677", $UnlockCode = "12345-12345-12345-12345"
RunWait(@Comspec & " /c " & $Exe , "", @SW_HIDE) ; Start from cmd 'cos DVDlabPRO.exe terminates spawning process.
WinWait($RegNagTitle, "") ; Wait for the register nag screen
If Not WinActive($RegNagTitle, "") Then WinActivate($RegNagTitle, "") ; Activate the Register nag screen.
ControlClick($RegNagTitle, "", "Button2") ; Click the "Enter Reg Code" button.
WinWait($RegInfoTitle, "") ; Wait for the registration window.
If Not WinActive($RegInfoTitle, "") Then WinActivate($RegInfoTitle, "") ; Activate the Reregistration window.
ControlSetText($RegInfoTitle, "", "Edit1", $Name) ; Add the Name.
ControlSetText($RegInfoTitle, "", "Edit2", $Serial) ; Add the Serial.
ControlSetText($RegInfoTitle, "", "Edit3", $UnlockCode) ; Add the unlock code.
ControlClick($RegInfoTitle, "", "Button1") ; Click the ok button on the registration window.
WinWait($RegDoneTitle, "") ; Wait for the successful registration window.
If Not WinActive($RegDoneTitle, "") Then WinActivate($RegDoneTitle, "") ; Activate the successful registration window.
ControlClick($RegDoneTitle, "", "Button1") ; Close thesuccessful registration window.
WinActivate($RegNagTitle) ; Activate the Register nag screen.
ControlClick($RegNagTitle, "", "Button4") ; Close the program.