ironside Posted October 18, 2004 Share Posted October 18, 2004 ironsideTry this version:http://www.freewebtown.com/kenedy/kTool/kTool-1.0c.zipThanks KenedyThat seems to have fixed my problem. Thank You again for your help Link to comment Share on other sites More sharing options...
kenedy Posted October 19, 2004 Author Share Posted October 19, 2004 AntonPi use sleep.exe as a timer to give the sfx enough time to setup. Why? RunWait and WaitProcess are not working for sfx?ironsideThat seems to have fixed my problem.There was bug in program. Link to comment Share on other sites More sharing options...
AntonP Posted October 19, 2004 Share Posted October 19, 2004 I now now why Ktool RunWait launched to early when i used my sfx files.In the sfx file i made a setup.cmd file. as soon as that was launched Ktool assumed that the sfx is ready.I now launch that same setup.cmd from Ktool en now i dont need sleep.exe any more.i also walked against a few msi files that would not install, i make a cmd file whit the following en than i have no problemsmsiexec.exe /i daemon.msi /qn /norestart thanks for the help here, the above is whit version 1b Link to comment Share on other sites More sharing options...
tjhart85 Posted October 20, 2004 Share Posted October 20, 2004 This is an excellent program! Much better (and easier) than the others I have seen out there. This is simple (in looks not functions) and it accomplishes the job which is exactly what i wanted out of a post-install progam.A+ job! Link to comment Share on other sites More sharing options...
kenedy Posted October 20, 2004 Author Share Posted October 20, 2004 tjhart85A+ job!Thanks Link to comment Share on other sites More sharing options...
ironside Posted October 20, 2004 Share Posted October 20, 2004 Agreed A+ Job As a suggestion, would a option to "select all" or "Add All" programs in the list with a single mouse click be an option which could be included in a future futire release ? Link to comment Share on other sites More sharing options...
kenedy Posted October 22, 2004 Author Share Posted October 22, 2004 ironsideOk, i'll add it as option (button, not visible by default, controlled through config.ini file) Link to comment Share on other sites More sharing options...
AntonP Posted October 22, 2004 Share Posted October 22, 2004 Can you add another thing also?Now everythings whit Runwait is minimized, but i am a guy who likes to look and see things happen. So is there a possibility that you add a ini 0/1 switch to turn minimized off/on?---Second thing maybe? a fault timer, if a process hangs because the ini maker, me in particular made a script error or the pc is a trash can, the process continues after a certain time?---Edit 23-10 Third thing maybe? when i have a sp1 install whit 2 partitions C and D, the cd drive is then E. Then i make a kTool installation unattended SP2 then reboot and want then some other programs to setup, kTool gives an error "Line 0 ......"and stops, where can i locate the script that kTool looks at after a boot so that i can maybe find the error?---Edit 24-10 4e) a typo, in version 1c its shows still version 1bAnd it is such a A++ tool, i waited for months for such a menutool! Link to comment Share on other sites More sharing options...
ironside Posted October 22, 2004 Share Posted October 22, 2004 KenedyYou're a star, Thanks Link to comment Share on other sites More sharing options...
kenedy Posted October 28, 2004 Author Share Posted October 28, 2004 New version (not extensivly tested, consider it unstable)http://www.freewebtown.com/kenedy/kTool/v1.1a.zipNew:ProfilesSecond progress bar style (similar to RunOnceEx)Very simple form of conditional execution (FileExist/FileNotExist)Logging (also very simple, functionality might be extended in future)Processing entire folders with one type of files.Basic error checking (if Run/RunWait tries to execute file that does not exist - error is logged to log file insted of crashing program)Commands AddReg/DOSCommand/MSIFile are replaced with REG/DOS/MSIFixed some bugs.Details:ProfilesProfiles are predefined selections. You can create as many as you need. To create profile add software to "Selected" list, type profile name and click "Save Profile" button. "All" and "(none)" profiles are created automatically. Also works in silent mode (only items under specified profile are installed)Syntax for command line is:ktool.exe [/GUI] [file_to_use.ini] [reboot_mode] [profile_name]Screenshot:Second progress styleScreenshot:Select "All" profile and press start to see how it looks (it launches notepads, so it's safe to do so)If there are more than 2 commands in section - second progress bar is displayed.New commands:Context = Change main label textDescription = Set description for subitems For old style type "ProgressType = 1" under "config" section in config.ini fileLog file.Creates file named kTool-computername.txt in %Temp% folder. Folder location can be changed in config.ini.Writes all executed commands there. Detects Run/RunWait errors.Conditional execution.New commands:FileExist = File_nameFileExistVersion = Condition_FileVersionFileExistAction = Skip/SkipSectionCondition can be one of the following: =, <, >, <=, >=, <>Actions:Skip - skip next commandSkipsection - skip entire sectionExample:FileExist = c:\windows\explorer.exeFileExistVersion = <=6.0.2900.2180FileExistAction = SkipRunWait = notepadRunWait = calc;If explorer.exe with version smaller or equal to 6.0.2900.2180 exists - notepad will not be launched.FileNotExist = FileNameFileNotExistAction = Skip/SkipSection;Same as FileExist (except no FileVersion of course)Processing of entire folders.New commands:Folder = FolderPathFolderFiles = FileExtensionFolderSwitch = SwitchesFolderCommand = RunWait/MSI/REGExample:[Registry Tweaks]Folder = c:\install\regtweaksFolderFiles = regFolderCommand = REG;every reg file in folder will be added to registry[someFiles]Folder = s:\install\SomeFilesFolderFiles = exeFolderSwitch = /silentFolderCommand = RunWait;every exe file in folder will be launched with "/silent" switch Link to comment Share on other sites More sharing options...
sixpack Posted October 28, 2004 Share Posted October 28, 2004 WOW... thanks Link to comment Share on other sites More sharing options...
kenedy Posted October 28, 2004 Author Share Posted October 28, 2004 sixpackThere is no language support in this version.I'll add it soon.AntonP>>So is there a possibility that you add a ini 0/1 switch to turn minimized off/on?It's possible now. Look in config.ini for details.>>a fault timerI'll think how to do it. Run/RunWait errors are now detected. And I have some ideas about MSI. >when i have a sp1 install whit 2 partitions C and D, the cd drive is then E. Then i make a kTool installation unattended SP2 then reboot and want then some other programs to setup, kTool gives an error "Line 0 ......"You have "Append=CD" in your ini, right? Try new version, it should work correctly now. Link to comment Share on other sites More sharing options...
Bilou_Gateux Posted October 29, 2004 Share Posted October 29, 2004 Running the tool without any switches by double-clicking ktool.exe and the default my_os.ini, i would like to "load" a profile just by scrolling the profile list in the right corner instead of selecting differents components under a -SECTION- in the left available programs.Example if i want to apply all -UPDATES- i should select all the listed components one by one.Would be nice to just load a profile by select it in the scrolling profile list (with all profiles available) click an ADD button and all items put in selected programs.But thanks for your already done works. The tool is great and keep it simple. Link to comment Share on other sites More sharing options...
AntonP Posted October 31, 2004 Share Posted October 31, 2004 kenedy,I'm going to make a new pc upgrade cd whit this version of kTool.Thanks for this great job, i let you and the others here know my results. My New Config.ini[Language];Dutch version AntonP;--Use standart english symbols only.Available = BeschikbaarSelected = GeselecteerdAutologon = AanmeldenReboot = HerstartenSaveToFile = Schrijf naar BestandStart = StartCancel = AnnulerenRestarting = Herstarten[Config];--Any item starting with character specified here will be not selectable;--Use for logically breaking list into sections. Empty items "[]" are also not selectable.NonSelectable = -;--Seconds before reboot. Default is 60;RebootTimer = 60;--If user is not administrator on local computer - display warning (0/1). Default is display;AdminWarning = 1;--Path where log file is stored. Default is TEMP folder.;LogFilePath = c:;Minimize/Maximize/Hide launched applications. Defult - minimize.WindowMode = Maximize;--Progress window type (1/2). 1-old style, 2-RunOnceEx style. Default 1.ProgressType = 2Edit 21:45 I Like this version, till now it works smoothlyThe Context and description are nice adons and the log is fine Link to comment Share on other sites More sharing options...
SC00BS Posted November 10, 2004 Share Posted November 10, 2004 KennedyAre you going to release a help file with this? 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