bobthenob Posted December 4, 2005 Share Posted December 4, 2005 thanks kennedy this is just what i was looking for thanks again Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted December 4, 2005 Share Posted December 4, 2005 Hey Kennedy I am wondering how do you get progress bars into runonce?? I want to try to implement this into WPI. Will you PM me please? Link to comment Share on other sites More sharing options...
bobthenob Posted December 4, 2005 Share Posted December 4, 2005 Hi this really is a great bit of softwareIve been playiing with it and it dose what it says on the tinthe only thing i dont understand is how can i get my cleanup.cmd to run after running ktoolsany ideas would be greatThanks Link to comment Share on other sites More sharing options...
bobthenob Posted December 6, 2005 Share Posted December 6, 2005 Just thought id let you know i sorted it I used a start cmd file to run some stuff then ran wait/ ktool then ran cleanuphope this might help somebody Link to comment Share on other sites More sharing options...
Necros Posted January 17, 2006 Share Posted January 17, 2006 A little question about *.ini files and ktoolI see in the documentation file something like this[MSI Test]MSI = file.msi" /qb REBOOT=SuppressMSI = Microsoft Virtual PC 2004.msi" /qbCan someone explain why there is only ONE double quote ? Where is the second one ?P.S.: Thanks ! this tool is exactly what I need !!! Link to comment Share on other sites More sharing options...
ironside Posted January 17, 2006 Share Posted January 17, 2006 because you only need one quote for it to work, double quote's not neccesary Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted February 8, 2006 Share Posted February 8, 2006 @kennedy I am the developer of WPI and if you are still around to read this there has been developed a way for WPI to use kTools I want to include kTools in WPI but I feel that I should ask you first. Link to comment Share on other sites More sharing options...
Dumpy Dooby Posted February 8, 2006 Share Posted February 8, 2006 (edited) @kennedy I am the developer of WPI and if you are still around to read this there has been developed a way for WPI to use kTools I want to include kTools in WPI but I feel that I should ask you first.Ha. That's funny. I was just about to modify my WPI to make it use the KTools progress bar.edit: Nevermind. I just checked the WPI forum. It seems as though someone has already done it. Sweet. That makes it easier for me. Edited February 8, 2006 by Dumpy Dooby Link to comment Share on other sites More sharing options...
Djé Posted February 10, 2006 Share Posted February 10, 2006 (edited) Hi,Attached should be a modified (from v1.1a) version of ktool script, to compile with AutoIt. Also included in the archive is a sample ini file (only the [config] section of it is relevant to these modifications).Improvement that I felt necessary in my case:1- A 'Replace' option in the [Config] section of the .ini file It's a bit like the 'Append' option but the provided value ('CD' works as well as with Append) will replace all instances of the '%KTREP%' substring INSIDE a Run/RunWait/DOS/MSI/REG/WaitProcess/WinWaitClose command string (although I can't see any use for the 2 last ones). This allow for more flexibility (see .ini example provided) than just the 'Append' option. It could even replace it (but both can be used right now).Also, using this, WPI would be able to make a better use of ktool, not just using the RunWait command.2- A 'ListTitle' option in the [Config] section of the .ini file If provided, it will replace the titles of the GUI and progress windows. Useful to identify successive runs of ktool.3- in Func GUI (), I replaced all (5) 'GUIRead' function calls by 'GUICtrlRead' calls to have compatibility with latest AutiIt compiler versions (3 something and beta).If ktool developpers find it useful, please feel free to integrate those little extras. My 0.3 cents.Also, but not adressed in this file, I found somewhat inconsistent the way ktool deals with " (dble quotes) in commands: it add BOTH of it arround file names in REG command, only ONE at the beginning of file names in MSI command (so you have to put the last one after your file name), and none in other commands. I feel that it should leave it to the user to add it or not. And also state this in the manual so you don't have to look to the source/log-file-in-temp to see how ktool deals with those quotes.That's All, Folks![Edit] I've posted an even more improved version of kTool further in the thread.kTool_modified.zip Edited May 4, 2006 by Djé 1 Link to comment Share on other sites More sharing options...
arjanv Posted February 28, 2006 Share Posted February 28, 2006 I've downloaded the ktools source code.But how to edit this and how to make a EXE file of it?Thanks Link to comment Share on other sites More sharing options...
lawrenca Posted February 28, 2006 Share Posted February 28, 2006 (edited) arjanv,The .au3 file can be modified with notepad but there are better editors...you must compile the .au3 with AutoIt. Free download here:AutoIt WebsiteOnce installed, you should be able to right-click on .au3 and click Compile.There are editors included with AutoIt and I highly recommend getting the SciTe Editor (available in downloads section, don't forget patch). SciTe installs a small utility (ScriptWriter) to Record Windows, Keystrokes, Mouse Clicks for those uncooporative silent installs or build some complex script easily. It also has a built in tool to Build/Modify GUIs and a whole host of other functions.Hope this helps. Edited February 28, 2006 by lawrenca Link to comment Share on other sites More sharing options...
arjanv Posted March 1, 2006 Share Posted March 1, 2006 hi thanks for your explaination.after compile it I'm getting this errorLine 0 (File"C:\ktool\v1.1a.exe"):$tItem = GUIRead ( $ListAvailable )$tItem = ^ ERRORError: Unknown function name.Any ideas?Thanks Link to comment Share on other sites More sharing options...
Djé Posted March 1, 2006 Share Posted March 1, 2006 @arjanvread my post a bit earlier in the thread about geting around this. Item #3. Link to comment Share on other sites More sharing options...
arjanv Posted March 1, 2006 Share Posted March 1, 2006 @arjanvread my post a bit earlier in the thread about geting around this. Item #3.hi,sorry! my fault.now it works.is it possible to make the ktool window bigger of can it run in full screen? Link to comment Share on other sites More sharing options...
arjanv Posted March 1, 2006 Share Posted March 1, 2006 @arjanvread my post a bit earlier in the thread about geting around this. Item #3.hi,sorry! my fault.now it works.is it possible to make the ktool window bigger of can it run in full screen?everything works fine nowThank you all 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