Yurek3 Posted February 9, 2006 Share Posted February 9, 2006 Guys i did test WPi.Ktool in T-12 time and i get this errorGuide i put WPi.Ktool in svcpack folder in i386 directory and in svcpacki file i write[Version]BuildNumber=2600MinorVersion=1MajorVersion=5Signature="$Windows NT$"[setupData]CatalogSubDir="\i386\SVCPACK"[CatalogHeader][setupHotfixesToRun]T12.exe[ProductCatalogsToInstall]KB892559.CATKB888111.CATKB903235.catKB900930.catKB898461.catT-12.exe this is wpi.exe i change name by couse i have second WPI in other directory ,next i write some programs in config.js dflt[pn]=['yes'] and time i did 2 secondsNext i did .iso image and testing in VM5.5 and i get this error in T-12 time in RunOnceEx WPI.Ktool work good Link to comment Share on other sites More sharing options...
Solid as a rock Posted February 9, 2006 Share Posted February 9, 2006 A progress bar sounds really good!!! Hopefully all problems will fixed soon so i can use it too...Good work guys!! Link to comment Share on other sites More sharing options...
lawrenca Posted February 9, 2006 Author Share Posted February 9, 2006 Yurek3,Investigating, not sure if the current user is developed at that stage of Windows install, program currently writes the ktool.ini file to the current user TEMP folder and I'm not sure that path exists at that time in the install. If you would like, try using the modified generate.js below or manually updating yours to add a different path. It's currently set for system32 folder, just uncomment if you want to try Windows folder, both are included.//*See if ktool.ini exists, then deletekTool_ini = [b]WshEnv("TEMP") [/b] + "\\kTool.ini"; //Placed in Temp drive now for access during cd/dvd sessionif (fso.FileExists(kTool_ini))fso.DeleteFile(kTool_ini, true);to:kTool_ini = WshEnv("WinDir") + "\\kTool.ini";or kTool_ini = WshEnv("WINDIR") + "\\system32\\kTool.ini";Let me know how it works, we may have to change this in the master I give to Kel if it fixes your bug.generate.js Link to comment Share on other sites More sharing options...
Yurek3 Posted February 10, 2006 Share Posted February 10, 2006 (edited) Thank you lawrenca you did very nice job.I try your script this work now very goodSee pictureI can not bilive we did thisThis is miracle.Kel we do not neeided SVCPACK we only needed WPI.Thenks for all KEL and lawrencaYurek3 Edited February 10, 2006 by Yurek3 Link to comment Share on other sites More sharing options...
Lost Soul Posted February 10, 2006 Share Posted February 10, 2006 (edited) id say after my first test not all apps install perfectly meaning one extension in particular is running updates to psp xthe extension is 1001_EN.MSP /qbthis is run off a cd even tried to use msiexec /i infront of its addy but im afraid that only worked for msi filesim not sure yet how it handles the ability to install from inf but ill test that soon also Edited February 10, 2006 by Lost Soul Link to comment Share on other sites More sharing options...
lawrenca Posted February 10, 2006 Author Share Posted February 10, 2006 (edited) My msi installs seem to be working O.K. so far with the "msiexec /i" used but will take another look.The items I added in the generate.js file to write kTool.ini is only one specific command..."RunWait" which seemed to translate into most of the commands used to install applications.There are other commands available to kTool, like:1. RunWait="command"2. Run="command"3. MSI="command"4. DOS="command"5. REG="command"6. WaitProcess= "process_name"7. WinWaitClose = window_title8. RebootPlus a few others.It would take a small learning curve to add these commands in front of the cmd entries and modify generate.js again to replace the lines "RunWait" with just the command, or...will look into building Case Select Logic into generate.js so transparent to user...will take a while. Edited February 10, 2006 by lawrenca Link to comment Share on other sites More sharing options...
faaip565 Posted February 10, 2006 Share Posted February 10, 2006 I am looking into the possibilty of adding a percent complete number onto the end of the progress bar.It is slow going at the moment anyone have any suggestions on where in the code I should begin with this?As always thank you in advance for any or your help and guidance. Link to comment Share on other sites More sharing options...
Lost Soul Posted February 10, 2006 Share Posted February 10, 2006 I am looking into the possibilty of adding a percent complete number onto the end of the progress bar.It is slow going at the moment anyone have any suggestions on where in the code I should begin with this?As always thank you in advance for any or your help and guidance.i dont have any ideals on where you could start but i like the percent ideal Link to comment Share on other sites More sharing options...
lawrenca Posted February 10, 2006 Author Share Posted February 10, 2006 (edited) faaip565,Currently, you would have to re-write a kTool replacement that would add a percentage into the form, math already being done for the progress bar, you would just have to display that in a label.Kenedy adds the code for his project in the kTool section of msfn forum...definately a good starting point. Edited February 12, 2006 by lawrenca Link to comment Share on other sites More sharing options...
faaip565 Posted February 13, 2006 Share Posted February 13, 2006 Thanks, I will take a look at that and see what I can do!! Link to comment Share on other sites More sharing options...
faaip565 Posted February 13, 2006 Share Posted February 13, 2006 Just a quick note to anyone who is interested. If you grab the config folder from the downloade ktool script and put in your tools folder. You can modify the config.ini file so that the:ProgressType = entry value is one you will get a progress bar with a percentage on it, however it only shows a single application during install.I am trying to modify the runonceex version of the install so that it has a percentage on it as well i wil keep you posted. Just incase you all wanted options! Link to comment Share on other sites More sharing options...
wixfigura Posted February 17, 2006 Share Posted February 17, 2006 Hiktool is a great new feature. But how can I edit the ktool.exe to fit the language? Autoit v3 wont open it and reshack also dont. Does anybody know? Link to comment Share on other sites More sharing options...
Lost Soul Posted February 18, 2006 Share Posted February 18, 2006 Just a quick note to anyone who is interested. If you grab the config folder from the downloade ktool script and put in your tools folder. You can modify the config.ini file so that the:ProgressType = entry value is one you will get a progress bar with a percentage on it, however it only shows a single application during install.I am trying to modify the runonceex version of the install so that it has a percentage on it as well i wil keep you posted. Just incase you all wanted options!sounds like good progress definatly a step closer to your goal Link to comment Share on other sites More sharing options...
lawrenca Posted February 18, 2006 Author Share Posted February 18, 2006 (edited) wixfigura,Try this kTool.au3, it should work...had to upgrade a portion of the code to compile with new AutoIT.ktool_source.zip Edited February 18, 2006 by lawrenca Link to comment Share on other sites More sharing options...
wixfigura Posted February 18, 2006 Share Posted February 18, 2006 (edited) Yep! Works!Another question: how can I give ktool directly a command from wpi.cmd to execute an application.for runonceex it works like this: SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "End" /fREG ADD %KEY%\1 /VE /D "Cleanup" /fREG ADD %KEY%\1 /V 1 /D "%CDROM%\WPI\Common\cleanup.exe" /fHow to do the same with ktool?EDITSolved it by myself. Found a ktool thread at msfn: KtoolBut found some serious new problem. you can read about in wpi4.4 testers thread: 4.4rc1 test Edited February 19, 2006 by wixfigura Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now