r0sWell Posted July 24, 2004 Posted July 24, 2004 the software is Reg Cleaner 2.1 from ChemTable Software.i don't know what kind of installer it is .i read the article on MSFN.org site, about the 5 differents installers (inno setup, nsis, installshield, *.msi, wize installer), but it doesn't look like them.For the software, there is only one "setup.exe".when i click on it, a fullscreen blue windows appears and says "welcome....." and i click on the "next" button.after that, i read the licence.after that, i have to choose a destination folder........and Reg Cleaner installs itself.In the properties of the "setup.exe" file, there are no details on the installer and/or version.nothing.Thank you for helping me.
1chaoticadult Posted July 24, 2004 Posted July 24, 2004 You have a couple of options. One you could repackaged it into a rar sfx exe (easy), two you could use installrite for a silent install, three create an autoit script. Either of there options work. Reg Organizer doesn't have any switches for the installer chemtable uses.
r0sWell Posted July 24, 2004 Author Posted July 24, 2004 thanks.no switch, too bad but i will try to create a SFX first.
mazin Posted July 24, 2004 Posted July 24, 2004 Well!I think a SFX is not a good solution if your app throws keys to the registry.As mentioned in your first post, you'd need a very short and simple script to install your app.At least, you won't worry about reg keys or uninstallation afterwards.
r0sWell Posted July 24, 2004 Author Posted July 24, 2004 yes, i worked on it a few minutes ago, how to create the SFX.but i will need help there are problems that i can't resolve with my actual knowledges :- problem of registry key.- problem of having a solution to uninstall the software if i need to, or to update it.....to resume, make a silent install which look like a normal install.here is the only file i have :. setup.exewhen it is installed to c:\Program Files\Reg Organizer\, there are lots of files.here are the reg keys i found for Re Organizer in Regedit :(sorry it's very long, i hope it can be useful to help)Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\regfile\shell\Remove from the Registry\Command]@="C:\\Program Files\\Reg Organizer\\organizer.exe -unreg \"%1\""[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu2\Programs\Reg Organizer][HKEY_CURRENT_USER\Software\Reg Organizer]"InstPath"="C:\\Program Files\\Reg Organizer"[HKEY_CURRENT_USER\Software\RegOrganizer][HKEY_CURRENT_USER\Software\RegOrganizer\AgeSystem][HKEY_CURRENT_USER\Software\RegOrganizer\AgeSystem\3].........[HKEY_CURRENT_USER\Software\RegOrganizer\Backups32][HKEY_CURRENT_USER\Software\RegOrganizer\Backups32\Finder][HKEY_CURRENT_USER\Software\RegOrganizer\ExploredFolders]"Disque local (C:)"=dword:00004516"Disque local (D:)"=dword:00007e49[HKEY_CURRENT_USER\Software\RegOrganizer\ExploredKeys]"HKEY_CURRENT_USER"=dword:00002061"HKEY_USERS"=dword:00002e21"HKEY_LOCAL_MACHINE"=dword:00008af4"HKEY_CURRENT_CONFIG"=dword:0000008b"HKEY_CLASSES_ROOT"=dword:0000107f[HKEY_CURRENT_USER\Software\RegOrganizer\Panels]"RegOnBar"=dword:00000075"PC1W"=dword:000000c4"PC1H"=dword:000002f4"PC2W"=dword:00000398"PC2H"=dword:000002f4"Panel4W"=dword:0000045e"Panel4H"=dword:00000030"Panel4Visible"=dword:00000001"Status1T"=dword:000003ac"PC3W"=dword:000000aa"PC3H"=dword:00000328"PC4W"=dword:000003b2"PC4H"=dword:00000328"LowP"=dword:0000006e"RegOnBarShow"=dword:00000001[HKEY_CURRENT_USER\Software\RegOrganizer\Settings]"SessionID"=hex:05,f7,ef,ea,19,a6,e2,40"asc_del"=dword:00000001"pos"=dword:00000001"images"=dword:00000001"NAFile"=dword:00000001"NADir"=dword:00000001"UseBackup"=dword:00000000"content"=dword:00000001"HotTrack"=dword:00000001"asc_del_reg"=dword:00000001"BkWhere"="classic.bmp""ci_HKCU"=dword:00000001"ci_HKU"=dword:00000001"ci_HKLM"=dword:00000001"ci_HKCC"=dword:00000001"ignore_cd"=dword:00000001"ignore_network"=dword:00000001"auto_close_window"=dword:00000001"Infhide_backups"=dword:00000001"F48isMaksimized"=dword:00000001"Finder_column1"=dword:00000031"Finder_column2"=dword:000000f6"Finder_column3"=dword:0000007a"Finder_column4"=dword:00000229"Finder_column5"=dword:00000051"Finder_column6"=dword:00000051"Profile"="C:\\Program Files\\Reg Organizer\\default.rpf""Mode_num"=dword:00000001"F56isMaksimized"=dword:00000001"F56TW3"=dword:000000bd"F56TW4"=dword:000000bd"F56TW5"=dword:000000bd"F56P11"=dword:000000e4"F56FEC2"=dword:0000004e"F56FEC3"=dword:0000004f"F56FEC4"=dword:0000004f"F56FEC2_v"=dword:00000001"F56FEC3_v"=dword:00000001"F56FEC4_v"=dword:00000001"List3v2_column0"=dword:0000032f"List3v2_column1"=dword:00000059"List3v2_column2"=dword:00000029"List3v2_column3"=dword:00000039"List4_column0"=dword:00000092"List4_column1"=dword:000000fc"List4_column2"=dword:00000039"SoftTab_column0"=dword:0000006a"SoftTab_column1"=dword:000000e4"SoftTab_column2"=dword:00000041"SoftTab_column3"=dword:00000039"Autorun_column0"=dword:0000008a"Autorun_column1"=dword:000000cb"Autorun_column2"=dword:00000039"Autorun_column3"=dword:00000039"Shell_column0"=dword:00000062"Shell_column1"=dword:00000059"Shell_column2"=dword:000000cb"Shell_column3"=dword:00000039"List1_column0"=dword:00000062"List1_column1"=dword:0000007a"List1_column2"=dword:00000041"List8_column0"=dword:00000073"List8_column1"=dword:00000114"List8_column2"=dword:00000039"List9_column0"=dword:00000186"List9_column1"=dword:00000039"List10_column0"=dword:0000007a"List10_column1"=dword:0000011c"List10_column2"=dword:0000002d"List11_column0"=dword:0000007a"List11_column1"=dword:00000145"List12_column0"=dword:000000db"List12_column1"=dword:0000006a"List12_column2"=dword:00000029"List12_column3"=dword:00000025"List12_column4"=dword:00000029"ci_HKCR"=dword:00000000"ignore_network_files"=dword:00000001"ignore_cd_files"=dword:00000001"ignore_flop_files"=dword:00000001"skip_system_files"=dword:00000001"ignore_list_enbl"=dword:00000001"F12isMaksimized"=dword:00000001"AdvCleanup_column0"=dword:000000dc"AdvCleanup_column1"=dword:00000262"AdvCleanup_column2"=dword:000000f4"AdvCleanup_column3"=dword:000000f4[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\regfile\shell\Remove from the Registry\Command]@="C:\\Program Files\\Reg Organizer\\organizer.exe -unreg \"%1\""[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Management\ARPCache\Reg Organizer]"SlowInfoCache"=hex:28,02,00,00,01,00,00,00,00,d0,4a,00,00,00,00,00,a2,ae,a3,\ b4,9f,5f,c4,01,02,00,00,00,43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,\ 61,00,6d,00,20,00,46,00,69,00,6c,00,65,00,73,00,5c,00,52,00,65,00,67,00,20,\ 00,4f,00,72,00,67,00,61,00,6e,00,69,00,7a,00,65,00,72,00,5c,00,6f,00,72,00,\ 67,00,61,00,6e,00,69,00,7a,00,65,00,72,00,2e,00,65,00,78,00,65,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00"Changed"=dword:00000000[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Reg Organizer]"UninstallString"="\"C:\\Program Files\\Reg Organizer\\uninstall.exe\"""DisplayName"="Reg Organizer""DisplayIcon"="C:\\Program Files\\Reg Organizer\\uninstall.exe""DisplayVersion"="""HelpLink"="""HelpTelephone"="""Publisher"="""URLInfoAbout"="""URLUpdateInfo"=""[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Reg Organizer]"UninstallString"="\"C:\\Program Files\\Reg Organizer\\uninstall.exe\"""DisplayName"="Reg Organizer""DisplayIcon"="C:\\Program Files\\Reg Organizer\\uninstall.exe""DisplayVersion"="""HelpLink"="""HelpTelephone"="""Publisher"="""URLInfoAbout"="""URLUpdateInfo"=""[HKEY_USERS\S-1-5-21-1645522239-57989841-725345543-1003\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu2\Programs\Reg Organizer][HKEY_USERS\S-1-5-21-1645522239-57989841-725345543-1003\Software\Reg Organizer]"InstPath"="C:\\Program Files\\Reg Organizer"[HKEY_USERS\S-1-5-21-1645522239-57989841-725345543-1003\Software\RegOrganizer][HKEY_USERS\S-1-5-21-1645522239-57989841-725345543-1003\Software\RegOrganizer\AgeSystem][HKEY_USERS\S-1-5-21-1645522239-57989841-725345543-1003\Software\RegOrganizer\AgeSystem\3]...........[HKEY_USERS\S-1-5-21-1645522239-57989841-725345543-1003\Software\RegOrganizer\Backups32][HKEY_USERS\S-1-5-21-1645522239-57989841-725345543-1003\Software\RegOrganizer\Backups32\Finder][HKEY_USERS\S-1-5-21-1645522239-57989841-725345543-1003\Software\RegOrganizer\ExploredFolders]"Disque local (C:)"=dword:00004516"Disque local (D:)"=dword:00007e49[HKEY_USERS\S-1-5-21-1645522239-57989841-725345543-1003\Software\RegOrganizer\ExploredKeys]"HKEY_CURRENT_USER"=dword:00002061"HKEY_USERS"=dword:00002e21"HKEY_LOCAL_MACHINE"=dword:00008af4"HKEY_CURRENT_CONFIG"=dword:0000008b"HKEY_CLASSES_ROOT"=dword:0000107f[HKEY_USERS\S-1-5-21-1645522239-57989841-725345543-1003\Software\RegOrganizer\Panels]"RegOnBar"=dword:00000075"PC1W"=dword:000000c4"PC1H"=dword:000002f4"PC2W"=dword:00000398"PC2H"=dword:000002f4"Panel4W"=dword:0000045e"Panel4H"=dword:00000030"Panel4Visible"=dword:00000001"Status1T"=dword:000003ac"PC3W"=dword:000000aa"PC3H"=dword:00000328"PC4W"=dword:000003b2"PC4H"=dword:00000328"LowP"=dword:0000006e"RegOnBarShow"=dword:00000001[HKEY_USERS\S-1-5-21-1645522239-57989841-725345543-1003\Software\RegOrganizer\Settings]"SessionID"=hex:05,f7,ef,ea,19,a6,e2,40"asc_del"=dword:00000001"pos"=dword:00000001"images"=dword:00000001"NAFile"=dword:00000001"NADir"=dword:00000001"UseBackup"=dword:00000000"content"=dword:00000001"HotTrack"=dword:00000001"asc_del_reg"=dword:00000001"BkWhere"="classic.bmp""ci_HKCU"=dword:00000001"ci_HKU"=dword:00000001"ci_HKLM"=dword:00000001"ci_HKCC"=dword:00000001"ignore_cd"=dword:00000001"ignore_network"=dword:00000001"auto_close_window"=dword:00000001"Infhide_backups"=dword:00000001"F48isMaksimized"=dword:00000001"Finder_column1"=dword:00000031"Finder_column2"=dword:000000f6"Finder_column3"=dword:0000007a"Finder_column4"=dword:00000229"Finder_column5"=dword:00000051"Finder_column6"=dword:00000051"Profile"="C:\\Program Files\\Reg Organizer\\default.rpf""Mode_num"=dword:00000001"F56isMaksimized"=dword:00000001"F56TW3"=dword:000000bd"F56TW4"=dword:000000bd"F56TW5"=dword:000000bd"F56P11"=dword:000000e4"F56FEC2"=dword:0000004e"F56FEC3"=dword:0000004f"F56FEC4"=dword:0000004f"F56FEC2_v"=dword:00000001"F56FEC3_v"=dword:00000001"F56FEC4_v"=dword:00000001"List3v2_column0"=dword:0000032f"List3v2_column1"=dword:00000059"List3v2_column2"=dword:00000029"List3v2_column3"=dword:00000039"List4_column0"=dword:00000092"List4_column1"=dword:000000fc"List4_column2"=dword:00000039"SoftTab_column0"=dword:0000006a"SoftTab_column1"=dword:000000e4"SoftTab_column2"=dword:00000041"SoftTab_column3"=dword:00000039"Autorun_column0"=dword:0000008a"Autorun_column1"=dword:000000cb"Autorun_column2"=dword:00000039"Autorun_column3"=dword:00000039"Shell_column0"=dword:00000062"Shell_column1"=dword:00000059"Shell_column2"=dword:000000cb"Shell_column3"=dword:00000039"List1_column0"=dword:00000062"List1_column1"=dword:0000007a"List1_column2"=dword:00000041"List8_column0"=dword:00000073"List8_column1"=dword:00000114"List8_column2"=dword:00000039"List9_column0"=dword:00000186"List9_column1"=dword:00000039"List10_column0"=dword:0000007a"List10_column1"=dword:0000011c"List10_column2"=dword:0000002d"List11_column0"=dword:0000007a"List11_column1"=dword:00000145"List12_column0"=dword:000000db"List12_column1"=dword:0000006a"List12_column2"=dword:00000029"List12_column3"=dword:00000025"List12_column4"=dword:00000029"ci_HKCR"=dword:00000000"ignore_network_files"=dword:00000001"ignore_cd_files"=dword:00000001"ignore_flop_files"=dword:00000001"skip_system_files"=dword:00000001"ignore_list_enbl"=dword:00000001"F12isMaksimized"=dword:00000001"AdvCleanup_column0"=dword:000000dc"AdvCleanup_column1"=dword:00000262"AdvCleanup_column2"=dword:000000f4"AdvCleanup_column3"=dword:000000f4
1chaoticadult Posted July 26, 2004 Posted July 26, 2004 installlrite or an autoit script is probably the best solution. I used an sfx before I learned how do more advanced methods of silent installing.
MCT Posted July 26, 2004 Posted July 26, 2004 just note: ive encountered problems during T-9 & 13 with InstallRite , but it works fine from GUIRunOnce
r0sWell Posted July 26, 2004 Author Posted July 26, 2004 ok,i tested installrite 2.5c, autoit v3 beta, and wininstall le, but i didn't find how to make correctly a package for Reg Organizer i'm wondering, is it possible to make a batch file which will copy the entire directory of R.C. (in program files), and after that, execute a reg file which will add the keys i've found for R.C. in the registry ?? if it's possible, can i uninstall or update the software in the future with this method ?i mean, how to create in the same time (with the previous batch file) an entry in the "install/uninstall softwares" in WindowsXP
mazin Posted July 26, 2004 Posted July 26, 2004 According to your first post, I think this JScript is what you need to install your app.function getWin(win, inc){var cntr = 0;while (!WshShell.AppActivate(win)){if (cntr==12) return true;cntr++;WScript.Sleep(inc);}return true;}var WshShell = new ActiveXObject("WScript.Shell");var oExec = WshShell.Exec("setup.exe");//name of your installerwhile (oExec.Status == 0){WScript.Sleep(2000);//time needed for package extractiongetWin("welcome", 500);//setup window name and time to hold itWshShell.SendKeys ("{ENTER}");//hitting Next buttonWScript.Sleep(500);WshShell.SendKeys ("{ENTER}");//hitting Agree buttonWScript.Sleep(500);WshShell.SendKeys ("{ENTER}");//hitting Next button}WScript.quit();Of course, you can try using a solution among those provided by drthawhizkid. They're good solutions.But, my JS is just what I can recommend in case I don't have a copy of your app on my PC for testing purposes.If you like to try it, let me know. You need to copy/paste that into a text document and rename it to "regorg.js" or whatever.Put "regorg.js" in the same folder with "setup.exe". Double-click "regorg.js" to test it.
r0sWell Posted July 26, 2004 Author Posted July 26, 2004 (edited) @mazin :thx a lot for your JavaScript file !i will test it tomorrow morning and i will tell you if it worked.(but if you really want a copy of reg organizer 2.1, it's a trial version which works even if you're not a registrated user but in this case it has some limitations, so you can test it and i can send the file to you, ask me).EDIT :i tested it just after replying your post it didn't work, and i get many message boxes which are telling me the same thing : (translated from French, "please use the control panel to install and configure system components". ) Edited July 27, 2004 by r0sWell
r0sWell Posted July 27, 2004 Author Posted July 27, 2004 @mazin :have you received my email ?i sent you the trial software.
mazin Posted July 27, 2004 Posted July 27, 2004 @mazin :have you received my email ?i sent you the trial software.Yes! I'll check the app, soon.
mazin Posted July 27, 2004 Posted July 27, 2004 This MUST work!function getWin(win, inc){var cntr = 0;while (!WshShell.AppActivate(win)){if (cntr==12) return true;cntr++;WScript.Sleep(inc);}return true;}var WshShell = new ActiveXObject("WScript.Shell");var Run = WshShell.Run("setup.exe");{WScript.Sleep(2000);getWin("Installing Reg Organizer", 500);WshShell.SendKeys ("{ENTER}");WScript.Sleep(500);WshShell.SendKeys (" ");WScript.Sleep(500);WshShell.SendKeys ("{ENTER}");WScript.Sleep(500);WshShell.SendKeys ("{ENTER}");WScript.Sleep(500);WshShell.SendKeys ("{ENTER}");WScript.Sleep(30000);WshShell.SendKeys ("{ENTER}");WScript.Sleep(500);WshShell.SendKeys ("{ENTER}");WScript.Sleep(3000);WshShell.SendKeys ("%{F4}");}WScript.quit();It will close the opened shortcut folder, too.mazin
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