• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
kenedy

kTool (just another software selector)

146 posts in this topic

AutoIt script for selecting/installing software.

kTool v1.1a

Source code

Features:

Works in GUI/Silent mode

Can work from GuiRunOnce/cmdlines.txt/Detached

Supports restarting (if any of installed software requires restart, PC is restarted and program execution is continued)

Autologon - if restarts are needed it (optionally) asks for currently logged on user password and writes autologon information to registry. Only required number of logons are written. Currently Win2000/XP only.

Separate software list for each Windows version (95/98/NT4/ME/2000/XP)

Full description

Screenshots:

Main GUI:

gui.jpg

Progress type 1:

Progress1.jpg

Progress type 2:

Progress2.jpg

ChangeLog

Older versions:

1.0c

First version

0

Share this post


Link to post
Share on other sites

Removed

Link to file is moved to first post.

Edited by kenedy
0

Share this post


Link to post
Share on other sites

very nice tool...one thing I would like to say is I notice ktool can have parameters passed to it, maybe you could include a parameter string so that say someone could run ktool 1,3,4,7,8,10...which would in turn silently install the first app header listed in file.ini, then 3,4,7,8, and lastly 10, just a suggestion...I would say something about avlable, but you said not to mention the layout...

0

Share this post


Link to post
Share on other sites
maybe you could include a parameter string so that say someone could run ktool 1,3,4,7,8,10...which would in turn silently install the first app header listed in file.ini, then 3,4,7,8, and lastly 10, just a suggestion...

This can be done but I can't imagine situation when this will be usefull. Can you explain it.

0

Share this post


Link to post
Share on other sites

ya know what, youre right...because honestly, if you can type it in a cmd window, you could just select the software in the app...so, youre right...not really a good suggestion. Well, then, Id have to say this is **** near perfect (near cuz nothing is perfect ;) )

0

Share this post


Link to post
Share on other sites
Suggestions that will make it more functional, on the other hand, will be carefully reviewed, and if I find them usefull - they will be added.

Suggestions:

how about Default Options, Select All, and Deselect All.

Seems pretty useful to me!!

Questions:

1) How many lines can each Program have? Can I have two RunWait commands in a row? 2 DosCommand ? etc?

2) For WaitProcess - am I typing the process name (the same thing i would use, for example, in TASKKILL - the exe in Task Manager?)

3) Could you explain the run from CD thing more clearly?

0

Share this post


Link to post
Share on other sites
how about Default Options, Select All, and Deselect All.
I'll think about adding Default Options (or maybe remembering last selection)
1) How many lines can each Program have?  Can I have two RunWait commands in a row? 2 DosCommand ? etc?

Only one of each type. Enough for all the programs I use.

2) For WaitProcess - am I typing the process name (the same thing i would use, for example, in TASKKILL - the exe in Task Manager?)
Yes, the process name from Task Manager
3) Could you explain the run from CD thing more clearly?

If you are running kTool from CD, drive letter is basically unknown and you cant use full paths. So add Append=CD to .ini file and paths will become relative to kTool.exe. (the path to kTool will be appended to command path)

Example. Suppose kTool.exe is in D:\soft. So instead of typing

[someSoftware]

Run = D:\soft\Folder1\SomeSoftware.exe

you type

Run = Folder1\SomeSoftware.exe

Note that that way you lose ability to launch programs from network and other drives.

0

Share this post


Link to post
Share on other sites
I'll think about adding Default Options (or maybe remembering last selection)
Default is the most important in that list, I just figured while you were at it, it would make it easier to do the other 2 as well...
Only one of each type. Enough for all the programs I use.

What if, for example, I have a program and an add-on? I'd have to do them seperately?

Also, I can have a list of up to 8 commands for one program (assuming they are all different commands, one of each = 8)

running kTool from CD

This sounds useful. Is it faster/slower than hard drive installation?

0

Share this post


Link to post
Share on other sites
What if, for example, I have a program and an add-on?  I'd have to do them seperately?
Yes.

But there is alternative. For installing hotfixes I use:

[Hotfixes]

RunWait = ktool.exe hotfixes.ini

There is no reason to select each hotfix separately so I just launch another instance of kTool in silent mode to install all hotfixes. hotfixes.ini contains

[KBxxxxxx]

RunWait = KBxxxxxx.exe /switches

for every hotfix

This sounds useful.  Is it faster/slower than hard drive installation?

Installing software from CD? Slower.

0

Share this post


Link to post
Share on other sites
just a quick question... can this run at the t-39 stage?

T39 = cmdlines.txt?

0

Share this post


Link to post
Share on other sites

Haven't tried GUI mode but silent works fine.

Just dont use any commands besides Run and RunWait.

0

Share this post


Link to post
Share on other sites
I'll think about adding Default Options (or maybe remembering last selection)

I cant wait :w00t:

0

Share this post


Link to post
Share on other sites

Uploaded new version.

New parameters in .ini file - AutoSelect and SaveSelection.

AutoSelect - default options

SaveSelection - remembers what was selected and writes that information to AutoSelect

[Config]
AutoSelect = |WinZip 9.0|WinRAR 3.4|Acrobat 6.0
SaveSelection = 1

0

Share this post


Link to post
Share on other sites

@kenedy

COOL! I'll give it a try and report back. Thanks.

0

Share this post


Link to post
Share on other sites

@kenedy, i just took a first look at kTool.

Really like your INI-syntax, very easy to use.

A few small suggestions for future versions of kTool:

INI-syntax:

- per application keyword 'default=1' for applications that should be installed by default

- global keyword 'autoInstallSeconds=360' will wait for user input till xxx seconds and than start installing the default applications only.

Interface:

- little typo 'avialable' should be 'available . :whistle:

- i don't like selecting applications by using the cursor keys, i would like to browse though the list with cursur keys and select with spacebar or double click (for example). Maybe you can fix that?

- sort the application list by alfabet.

Thats it. Hope you like the suggestions. ;)

0

Share this post


Link to post
Share on other sites
- per application keyword 'default=1' for applications that should be installed by default
There is global default application list now.
- global keyword 'autoInstallSeconds=360' will wait for user input till xxx seconds and than start installing the default applications only.

I have serious doubts about usefulness of this.

- little typo 'avialable' should be 'available .  :whistle:
Ok. Will be fixed :hello:
- i don't like selecting applications by using the cursor keys, i would like to browse though the list with cursur keys and select with spacebar or double click (for example). Maybe you can fix that?

No. I like the current way. All mouse navigation is kept to minimum.

- sort the application list by alfabet.

But then you can't sort them by category.

0

Share this post


Link to post
Share on other sites

@Kennedy,

The autoInstallSeconds could be handy if you don't have time to come back to the keyboard. If you use this functionality the system can be completly installed with the default software.

About navigating without mouse; totally agree, keyboardnavigation is a lot faster. Maybe you could make it like this: navigate with cursur keys, select with spacebar. In your current version, browsing through the list alone equals selecting the applications..

Can you explain what you mean with the catagory function? I cannot this back in the program.. :}

0

Share this post


Link to post
Share on other sites

Well, for "categories" you could make a "Program" with no parameter called [----------], and then ---------- will show up on the list, thus breaking the list into sections.

Suggestion 1: VERSION NUMBERS, so we don't get confused as to which version we have.

Suggestion 2: Unlimited amount of each function - anything can be put under [Program], and should work correctly. (ex: 3 RunWaits)

0

Share this post


Link to post
Share on other sites

hmm.. got some errors (see pic) i think that the blue line on the right pane is 0:

second error when i try to edit the win_xp.ini

on my test computer the tool restores the old win_xp.ini

so even when i delete all files and copy a new set that works on my pc

it sets the old config back.

btw when i drag and drop the ini file it works :wacko:

edit:

ok the ktool copy's the ini file to Documents and Settings\name\Local Settings\Temp

i did delete it and it works fine now.

post-70-1096059770_thumb.jpg

0

Share this post


Link to post
Share on other sites

edmoncu

>>wanna clarify something, where have you uploaded a newer version?

Just redowload file.

Senser

>>The autoInstallSeconds could be handy if you don't have time to come back to the keyboard.

What kind of installation would that be? Half-unattended? :wacko: I think WPI wave that functionality. Search forum for it.

>>About navigating without mouse...

I think current way is faster. Anyway I can't change it without destroying ability to select items with one click.

>>Can you explain what you mean with the catagory function?

Items show up in order that you write them in ini file. Therefore you can have all antivirus in one block, archivers in one block etc.

a06lp

>> VERSION NUMBERS

Good idea.

>>Unlimited amount of each function

Excellent idea. Could't figure out how many commands to add. 2,5,100? Unlimited is the answer :thumbup But this requires much reprogramming so will take some time.

>>Well, for "categories" you could make a "Program" with no parameter called [----------]...

It already works that way.

>>Well, for "categories" you could make a "Program" with no parameter called [----------]...

Oh, sorry it doesnt. Currently only empty sections "[]" are not selectable.

Edited by kenedy
0

Share this post


Link to post
Share on other sites

Offtopic

I created other tool for building unattended Windows CD's.

But it's too big to post on this forum. 120K actually but with all example and other files it takes ~1MB. Can anyone suggest a place to host it?

Ok, have it. Thanks mazin

Edited by kenedy
0

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.