christoff Posted November 19, 2004 Share Posted November 19, 2004 hey Kenedyi was wondering in the path for running an installation. would "%systemdrive% or %CDROM%" work in place of "hdd c: or d: or cdrom e: f: and so on" as this would be an easier way in pathing to the installation file...just another wonder of the worldGr8 tool by the way man Link to comment Share on other sites More sharing options...
kenedy Posted November 19, 2004 Author Share Posted November 19, 2004 christoffEnvironment variables currently don't work (except for DOS command).But if you put append=cd in ini file then paths become relative to ktool.exe location.[config]append=cd[prog1]runwait = prog.exe;this will launch d:\install\prog1.exe if ktool.exe is located in d:\installOr did you mean automatic searching for correct CD drive letter?SC00BSI plan to write a help file. Just too busy at work right now, no time for that AntonP Link to comment Share on other sites More sharing options...
christoff Posted November 19, 2004 Share Posted November 19, 2004 sorry kenedy i didnt make my point clear....yes thats what i ment for ktools to search for the correct drive.... so it would be gr8 if ktools would search via %CDROM% so i wouldnt have 2 have different installation disk for different drivesif its possible it be brill but if its gonna be to much of a hassle for you dont worry about dude....thanks all the same Link to comment Share on other sites More sharing options...
MHz Posted November 19, 2004 Share Posted November 19, 2004 My CD searching function if it helps you, Kenedy.FindCD()While $cddrive = "" MsgBox(16, "Warning", "Please insert CD into a drive now") Sleep(2000) FindCD()WendFunc FindCD() $drvs = DriveGetDrive("CDROM") If Not @error Then For $i = 1 To $drvs[0] If DriveStatus($drvs[$i] & "\") = "READY" Then If FileExists($drvs[$i] & "\WIN51") Then $cddrive = $drvs[$i] EndIf EndIf Next EndIfEndFunc ;==>FindCDThats what I use in my RunOnceEx, to find a CDRom with the win51 file in it. You could also turn it into a variable?If it is at all useful for you? Link to comment Share on other sites More sharing options...
kenedy Posted November 19, 2004 Author Share Posted November 19, 2004 MHzThank's christoffI'll add that functionality.(probably as new command, something like AskForCD=filepath\filename) Link to comment Share on other sites More sharing options...
christoff Posted November 19, 2004 Share Posted November 19, 2004 Wey Hey.......Thanks alot kenedy oooooh and a big thanks to MHzvery good job guysi'll check back soon Link to comment Share on other sites More sharing options...
x00783 Posted November 19, 2004 Share Posted November 19, 2004 Could someone post a copy of their install file so I can take a look at it on how to use it please?Thanks Link to comment Share on other sites More sharing options...
kenedy Posted November 20, 2004 Author Share Posted November 20, 2004 x00783Example ini file:http://www.freewebtown.com/kenedy/kTool/win_xp.ini Link to comment Share on other sites More sharing options...
polecat Posted December 9, 2004 Share Posted December 9, 2004 Hi Guys Has anybody had any look getting the apps to install from cd?Need to find a way of using ktool but install apps from cd instead of hdd?Looked at the post above with code to find the cd but were would I put this ?In the config.ini or the say xp.ini?Any help on this!!PLEASE!! Link to comment Share on other sites More sharing options...
mecalvint Posted January 12, 2005 Share Posted January 12, 2005 I must be doing something wrong, but I cannot seem to get ktool to run a profile automatically.So I have a OPR profile and I run:ktool.exe win_xp.ini OPRand that did not worknor doesktool.exe /GUI win_xp.iniPlz hlp. Link to comment Share on other sites More sharing options...
jaxflmax Posted February 23, 2005 Share Posted February 23, 2005 @polecat: If you put a folder on your cd say "post install programs" and put ktool along with all the programs you want to install i think it will work fine they way kenedy says (havent tested this yet though)@kenedy: very nice app, this replaced all the other methods I was using any chance of adding a dialouge box or sidebar for program descriptions? Or failing that, could i have the source?EDIT: to clarify, i mean to make program descriptions available at the selection stage Link to comment Share on other sites More sharing options...
kenedy Posted February 25, 2005 Author Share Posted February 25, 2005 Sorry, missed all latest replies.Anyway, I don't have enougt time to add any new features.If anyone is interested - here's the source code:sourcePM me if have questions about it. Just... try to keep it simple Link to comment Share on other sites More sharing options...
mberardi Posted April 6, 2005 Share Posted April 6, 2005 may you add a time out options?set for example 00:02:00 (time will count down) hh:mm:ssbefore starting the installation automatically.the time will stop or freeze if focusing the application installeror adding a sort of "Pause" button.and what you think about ftp installation support?fro example use wget to download sw lists.. (ini from an ftp..)loading it and choose what you would like to install?thanks for this usefull appmichelehttp://mberardi.argomedia.it Link to comment Share on other sites More sharing options...
agorts Posted May 24, 2005 Share Posted May 24, 2005 Hello,Great tool!!!Some questions:In my ini file I use the "Reboot" command in the middle of it... I execute the script through command line (not gui)!But after reboot the user must logon in order to continue the exec of the ktool ini...1) How can I include the autologon details in the reboot command?2) Do I have to expose the psw?3) Where is a list of the command line params?Thank youAndreas Gortsilas Link to comment Share on other sites More sharing options...
Dinu Posted September 18, 2005 Share Posted September 18, 2005 Just wanted to say....Quiet nice Tool. Make Life with Installation much easyer. Well done.GreetzDinu 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