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

#26
kenedy

kenedy

    Member

  • Member
  • PipPip
  • 123 posts
  • Joined 12-February 04
Removed
Link to beta version is moved to first post.

Edited by kenedy, 29 September 2004 - 08:14 AM.



How to remove advertisement from MSFN

#27
egil

egil

    Newbie

  • Member
  • 47 posts
  • Joined 23-November 03
Hi Kenedy

Thanks for updating your simple yet powerful tool. I like the fact that it has the functions I need and nothing more (I love the clear .ini file format).

I have one simple request though. I like the fact that Ktool selects an .ini file depending on the OS, but I would also like to specify a .ini file, WITHOUT Ktool going in to unattended mode.

Here's why I need it: During first logon, I call ktool with a .ini file that installs the default applications unattended, then I run a .vbs scripts, that detects the computer model, and either runs Ktool again with a specific .ini file for that computer (e.g. if its a notebook I would need to install notebook related software), or tells the user that it doesn’t know the computer model, and asks the user to select any extra applications by them self. This list shouldn't contain all the default programs I already installed, but only the extra programs for that OS.

- Best regards, Egil.

#28
kenedy

kenedy

    Member

  • Member
  • PipPip
  • 123 posts
  • Joined 12-February 04
egil
Sounds good.
And it fits well it new code. Will add it.
Two possible ways to to it:
1. Add key to .ini file
[Config]
Silent = 1/0
2. Add command line parameter
ktool.exe inifile.ini /silent=1
Which one would be better?

#29
egil

egil

    Newbie

  • Member
  • 47 posts
  • Joined 23-November 03
I'd would say that the second option is better, to use a /silent switch. This way the the .ini file can be used in a non-unattended situation, thus keeping the number of .ini files down, which leads to less maintenance.

With that in mind, you should generally keep things like "silent mode", "reboot after xx seconds" - basically options that is only valid for a specific run of Ktool, and options that apply to all programs, out of the ini files, so that a .ini file can be used in as many situations as possible.

#30
kenedy

kenedy

    Member

  • Member
  • PipPip
  • 123 posts
  • Joined 12-February 04
egil
Ok, I uploaded new version of 1.0beta and added comments.

#31
egil

egil

    Newbie

  • Member
  • 47 posts
  • Joined 23-November 03

egil
Ok, I uploaded new version of 1.0beta and added comments.

Great, Ill just download it from the post above, here on page 3 right?

#32
kenedy

kenedy

    Member

  • Member
  • PipPip
  • 123 posts
  • Joined 12-February 04

egil
Ok, I uploaded new version of 1.0beta and added comments.

Great, Ill just download it from the post above, here on page 3 right?

Right.

#33
egil

egil

    Newbie

  • Member
  • 47 posts
  • Joined 23-November 03
Hmm when I type "ktool-1.0b inifile.ini", it starts runing a silent install. Tried "ktool-1.0b inifile.ini /silent=0" as well.

What am I doing wrong?

#34
kenedy

kenedy

    Member

  • Member
  • PipPip
  • 123 posts
  • Joined 12-February 04
From page 3:

Addition:
-New command line switch "/GUI". Forces GUI mode for specified .ini file. Default action is still silent install.
"ktool.exe someinifile.ini /gui"
-Order of command line switches is not important any more



#35
egil

egil

    Newbie

  • Member
  • 47 posts
  • Joined 23-November 03
bah didnt see that, did you edit your post?

btw shoudn't "Aviable" be "Available"? :)

#36
kenedy

kenedy

    Member

  • Member
  • PipPip
  • 123 posts
  • Joined 12-February 04
>>bah didnt see that, did you edit your post?
Yes :whistle:
>>btw shoudn't "Aviable" be "Available"? :)
Heh, can't get it right. It's the second time i misspelled it. :)

#37
egil

egil

    Newbie

  • Member
  • 47 posts
  • Joined 23-November 03
I'm having some trouble with Ktool. The config/inis have the correct syntax, but when I try to install something, I get this error:

Attached Files



#38
kenedy

kenedy

    Member

  • Member
  • PipPip
  • 123 posts
  • Joined 12-February 04
There is no error checking (currently).
Error is "can't find file specified". See at which item it happened (kTool is still running, just move error message) and check if all commands for that item are correct.

#39
AntonP

AntonP

    Newbie

  • Member
  • 16 posts
  • Joined 17-October 04
:P First of all, i like this usefull tool very much :P

When i m making constant changes to the ini files to devellop en test my own cd i have te delete manually the ini files in the docu..............\temp directory. why are they not automickly removed?

(sorry for my english)

#40
kenedy

kenedy

    Member

  • Member
  • PipPip
  • 123 posts
  • Joined 12-February 04
AntonP
why are they not automickly removed?
I suggest you to try new beta version (link is in first post).
It works without making temp file.

#41
ironside

ironside

    Member

  • Member
  • PipPip
  • 214 posts
  • Joined 10-August 04
I have a problem launchining *.MSI files from CD,
They either put ktool into a "paused" mode or skips that software install alltpgether and continues to the next selection.

Any ideas ?

#42
kenedy

kenedy

    Member

  • Member
  • PipPip
  • 123 posts
  • Joined 12-February 04

Any ideas ?

Launch file without /qb switch, see if it gives any error message.

#43
ironside

ironside

    Member

  • Member
  • PipPip
  • 214 posts
  • Joined 10-August 04

Any ideas ?

Launch file without /qb switch, see if it gives any error message.

Thanks for the reply Kennedy

Removed /qb switches as you said,

But still the same, Goes into a paused state or skips it altogether with no error messages displayed.

Any more ideas on this ?

Thanks

#44
kenedy

kenedy

    Member

  • Member
  • PipPip
  • 123 posts
  • Joined 12-February 04
ironside
Try this version:
http://www.freewebto.../kTool-1.0c.zip

#45
AntonP

AntonP

    Newbie

  • Member
  • 16 posts
  • Joined 17-October 04
i made a new way to use this tool, i already had good sfx files to install.
i now use these files to install the problem cases as powerdvd5 etc.
i use sleep.exe as a timer to give the sfx enough time to setup. :wacko:

#46
ironside

ironside

    Member

  • Member
  • PipPip
  • 214 posts
  • Joined 10-August 04

ironside
Try this version:
http://www.freewebto.../kTool-1.0c.zip

Thanks Kenedy

That seems to have fixed my problem.

Thank You again for your help :)

#47
kenedy

kenedy

    Member

  • Member
  • PipPip
  • 123 posts
  • Joined 12-February 04
AntonP
i use sleep.exe as a timer to give the sfx enough time to setup.
:blink:
Why? RunWait and WaitProcess are not working for sfx?

ironside
That seems to have fixed my problem.
There was bug in program. :rolleyes:

#48
AntonP

AntonP

    Newbie

  • Member
  • 16 posts
  • Joined 17-October 04
I now now why Ktool RunWait launched to early when i used my sfx files.
In the sfx file i made a setup.cmd file. as soon as that was launched Ktool assumed that the sfx is ready.
I now launch that same setup.cmd from Ktool en now i dont need sleep.exe any more.
i also walked against a few msi files that would not install, i make a cmd file whit the following en than i have no problems

msiexec.exe /i daemon.msi /qn /norestart

:hello: thanks for the help here, the above is whit version 1b

#49
tjhart85

tjhart85

    Member

  • Member
  • PipPip
  • 193 posts
  • Joined 14-September 04
This is an excellent program! Much better (and easier) than the others I have seen out there. This is simple (in looks not functions) and it accomplishes the job which is exactly what i wanted out of a post-install progam.

A+ job!
Nothing travels faster than the speed of light with the possible exception of bad news, which obeys its own special laws.

#50
kenedy

kenedy

    Member

  • Member
  • PipPip
  • 123 posts
  • Joined 12-February 04
tjhart85
A+ job!

Thanks ;)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN