liquidator87 Posted January 6, 2007 Share Posted January 6, 2007 Does anybody know how to correctly generate the "Stamp" value in the registry? This somehow controls the behaviour of the automatic updates and the popup menu at the windows start... when the Stamp is in the registry the menu doesn't show up when windows starts, and I can disable automatic updates with CheckUpdate Dword set to 0... if Stamp is not present the menu obviously pops up and the updates are enabled even if CheckUpdate is 0... help? Link to comment Share on other sites More sharing options...
benners Posted January 6, 2007 Share Posted January 6, 2007 Does anybody know how to correctly generate the "Stamp" value in the registry? This somehow controls the behaviour of the automatic updates and the popup menu at the windows start... when the Stamp is in the registry the menu doesn't show up when windows starts, and I can disable automatic updates with CheckUpdate Dword set to 0... if Stamp is not present the menu obviously pops up and the updates are enabled even if CheckUpdate is 0... help?I struggled with this one as well for a while, I used to just install the prog and export the reg entry with the stamp value, its always the same for the program version you install.I finally found the string whilst looking at the properties for the main exe under the comments section, now I have an AutoIt script that installes the program and gets the comments value from the exe. It has worked about 99% of the time, v6.1.0.0 has the comments value but when the program is installed the number is different Stamp value = 20061226214244 comments value is 20061226214240. If you open the main exe with WinHex and search for the stamp value you can find it, so maybe the programmers set the comments value wrong.The only other sure way is to some how use AutoIt to search for the string if it is always at the same address but that is above me. If I get some free time I may have a look and do some reading unless someone knows how to read the hex values.; Don't show a tray icon.#NoTrayIconDim $RegKey = "HKEY_CURRENT_USER\Software\SlySoft\AnyDVD\Settings"; Install the program.RunWait(@ScriptDir & "\setup.exe /S"); Delete the key to stop AnyDVD running at Windows Start Up.RegDelete("HKCU\Software\Microsoft\Windows\CurrentVersion\Run", "AnyDVD"); Set the default region to Europe.RegWrite($RegKey, "Code", "REG_DWORD", "2"); Don't check for updates.RegWrite($RegKey, "CheckUpdate", "REG_DWORD", "0"); Set the language locale to English.RegWrite($RegKey, "Locale", "REG_SZ", "en"); Set the language locale to English.;RegWrite("HKEY_LOCAL_MACHINE\Software\SlySoft\AnyDVD\Key", "Key", "REG_SZ", ""); Write the "Stamp" value to make the settings stick.RegWrite($RegKey, "Stamp", "REG_SZ", FileGetVersion("C:\Program Files\SlySoft\AnyDVD\AnyDVD.exe", "Comments")); Remove the Desktop Icon.FileDelete(@DesktopCommonDir & "\AnyDVD.lnk"); Remove the Register AnyDVD icon from Start Menu Programs folder.FileDelete(@ProgramsCommonDir & "\SlySoft\AnyDVD\Register AnyDVD.lnk") Link to comment Share on other sites More sharing options...
liquidator87 Posted January 7, 2007 Author Share Posted January 7, 2007 thanks man! I opened the exe with an hex editor, found the stamp and put it into the registry and now magically everything works! for 6.1.0.2 is 20070105222255... Link to comment Share on other sites More sharing options...
benners Posted January 7, 2007 Share Posted January 7, 2007 No Probs, we just have to find a way to do it automatically, had a quick look yesterday at a few versions and the stamp value is at different offsets in the exe so it may be tricky to find the value Link to comment Share on other sites More sharing options...
benners Posted January 7, 2007 Share Posted January 7, 2007 I have managed to find a way to get the stamp value from the exe and the AutoIt script works with the latest version. If you want to register it just add your key code to the script file, if the program is in trial mode the settings are reset anyway.Install.au3 Link to comment Share on other sites More sharing options...
Inferi0r Posted January 7, 2007 Share Posted January 7, 2007 that's nice work benners Link to comment Share on other sites More sharing options...
benners Posted January 7, 2007 Share Posted January 7, 2007 that's nice work benners Thanks Malarky, as long as the main exe stays similar it should be OK for a while Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now