Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

kTool (just another software selector)

* * * * * 1 votes

  • Please log in to reply
145 replies to this topic

#51
ironside

ironside

    Member

  • Member
  • PipPip
  • 214 posts
  • Joined 10-August 04
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 ?


How to remove advertisement from MSFN

#52
kenedy

kenedy

    Member

  • Member
  • PipPip
  • 123 posts
  • Joined 12-February 04
ironside
Ok, i'll add it as option (button, not visible by default, controlled through config.ini file)

#53
AntonP

AntonP

    Newbie

  • Member
  • 16 posts
  • Joined 17-October 04
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 1b

And it is such a A++ tool, i waited for months for such a menutool! :thumbup

#54
ironside

ironside

    Member

  • Member
  • PipPip
  • 214 posts
  • Joined 10-August 04
Kenedy
You're a star, Thanks :)

#55
kenedy

kenedy

    Member

  • Member
  • PipPip
  • 123 posts
  • Joined 12-February 04
New version (not extensivly tested, consider it unstable)
http://www.freewebto...kTool/v1.1a.zip

New:
Profiles
Second 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/MSI
Fixed some bugs.

Details:
Profiles
Profiles 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:
Posted Image

Second progress style
Screenshot:
Posted Image
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 text
Description = Set description for subitems
For old style type "ProgressType = 1" under "config" section in config.ini file

Log 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_name
FileExistVersion = Condition_FileVersion
FileExistAction = Skip/SkipSection

Condition can be one of the following: =, <, >, <=, >=, <>
Actions:
Skip - skip next command
Skipsection - skip entire section

Example:
FileExist = c:\windows\explorer.exe
FileExistVersion = <=6.0.2900.2180
FileExistAction = Skip
RunWait = notepad
RunWait = calc
;If explorer.exe with version smaller or equal to 6.0.2900.2180 exists - notepad will not be launched.

FileNotExist = FileName
FileNotExistAction = Skip/SkipSection
;Same as FileExist (except no FileVersion of course)

Processing of entire folders.
New commands:
Folder = FolderPath
FolderFiles = FileExtension
FolderSwitch = Switches
FolderCommand = RunWait/MSI/REG

Example:

[Registry Tweaks]
Folder = c:\install\regtweaks
FolderFiles = reg
FolderCommand = REG
;every reg file in folder will be added to registry

[SomeFiles]
Folder = s:\install\SomeFiles
FolderFiles = exe
FolderSwitch = /silent
FolderCommand = RunWait
;every exe file in folder will be launched with "/silent" switch

#56
sixpack

sixpack

    Senior Member

  • Member
  • PipPipPipPip
  • 515 posts
  • Joined 29-May 04
WOW... :blink:
thanks
Never say, "Oops!" always say, "Ah, interesting!"

#57
kenedy

kenedy

    Member

  • Member
  • PipPip
  • 123 posts
  • Joined 12-February 04
sixpack
There 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 timer
I'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.

#58
Bilou_Gateux

Bilou_Gateux

    Powered by Windows Embedded

  • Member
  • PipPipPipPipPip
  • 768 posts
  • Joined 03-January 04
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.
OS Version = 5.1.2600 Service Pack 3
Platform ID = 2 (NT)
Service Pack = 3.0
Suite = 0x0140
Product Type = 1
Architecture = x86

#59
AntonP

AntonP

    Newbie

  • Member
  • 16 posts
  • Joined 17-October 04
:thumbup 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.

:w00t: :w00t: :w00t:

My New Config.ini
[Language]
;Dutch version AntonP
;--Use standart english symbols only.
Available = Beschikbaar
Selected = Geselecteerd
Autologon = Aanmelden
Reboot = Herstarten
SaveToFile = Schrijf naar Bestand
Start = Start
Cancel = Annuleren
Restarting = 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 = 2

Edit 21:45 I Like this version, till now it works smoothly
The Context and description are nice adons and the log is fine

#60
SC00BS

SC00BS

    Newbie

  • Member
  • 46 posts
  • Joined 29-October 04
Kennedy

Are you going to release a help file with this?

#61
christoff

christoff
  • Member
  • 3 posts
  • Joined 19-November 04
hey Kenedy


i 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 world

Gr8 tool by the way man

#62
kenedy

kenedy

    Member

  • Member
  • PipPip
  • 123 posts
  • Joined 12-February 04
christoff
Environment 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:\install
Or did you mean automatic searching for correct CD drive letter?

SC00BS
I plan to write a help file. Just too busy at work right now, no time for that :(

AntonP
;)

#63
christoff

christoff
  • Member
  • 3 posts
  • Joined 19-November 04
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 drives

if 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

#64
MHz

MHz

    Just simple

  • Member
  • PipPipPipPipPipPipPip
  • 1,659 posts
  • Joined 02-August 04
  • OS:Windows 7 x64
  • Country: Country Flag
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()
Wend

Func 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
   EndIf
EndFunc  ;==>FindCD
Thats 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?

#65
kenedy

kenedy

    Member

  • Member
  • PipPip
  • 123 posts
  • Joined 12-February 04
MHz
Thank's :thumbup

christoff
I'll add that functionality.
(probably as new command, something like AskForCD=filepath\filename)

#66
christoff

christoff
  • Member
  • 3 posts
  • Joined 19-November 04
Wey Hey.......

Thanks alot kenedy oooooh and a big thanks to MHz

very good job guys

i'll check back soon

#67
x00783

x00783

    Newbie

  • Member
  • 28 posts
  • Joined 04-August 04
Could someone post a copy of their install file so I can take a look at it on how to use it please?

Thanks

#68
kenedy

kenedy

    Member

  • Member
  • PipPip
  • 123 posts
  • Joined 12-February 04
x00783
Example ini file:
http://www.freewebto...Tool/win_xp.ini

#69
polecat

polecat

    Newbie

  • Member
  • 12 posts
  • Joined 23-August 04
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!!

#70
mecalvint

mecalvint
  • Member
  • 3 posts
  • Joined 22-December 04
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 OPR

and that did not work

nor does

ktool.exe /GUI win_xp.ini

Plz hlp.

#71
jaxflmax

jaxflmax

    Newbie

  • Member
  • 17 posts
  • Joined 17-January 05
@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 :thumbup 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

#72
kenedy

kenedy

    Member

  • Member
  • PipPip
  • 123 posts
  • Joined 12-February 04
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:source
PM me if have questions about it.

Just... try to keep it simple ;)

#73
mberardi

mberardi
  • Member
  • 1 posts
  • Joined 04-March 05
may you add a time out options?

set for example 00:02:00 (time will count down) hh:mm:ss
before starting the installation automatically.

the time will stop or freeze if focusing the application installer
or 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 app

michele

http://mberardi.argomedia.it

#74
agorts

agorts
  • Member
  • 1 posts
  • Joined 24-May 05
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 you

Andreas Gortsilas

#75
Dinu

Dinu
  • Member
  • 2 posts
  • Joined 11-August 05
Just wanted to say....

Quiet nice Tool. Make Life with Installation much easyer. :thumbup

Well done.

Greetz
Dinu




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users