Docstoc

Main GUI

Document Sample
Main GUI Powered By Docstoc
					Main GUI:




Save Profile    - save/update profile.
Delete Profile - deletes selected profile
Clear          - clear selected items list
Save to file - save selection to file (for use in silent installation)
Start          - start installation
Reboot        - reboot computer when finished installing
AutoLogon - if reboots are required, ask for autologon password. Currently
2000/XP only.


Configuration is stored in .ini files. There is one ini file for each Windows version
(95,98,ME,NT4,2000,XP). Program detects Windows version and loads apropriate
.ini file.

Global settings:
Global settings are stored in config.ini file (it is not required and you can safely delete
it)
NonSelectable = character
        Any item starting with character specified here will be not selectable
        Use for logically breaking list into sections. Empty items "[]" are also not
selectable.
        Default – none
RebootTimer = number
        Seconds before reboot. Default is 60
AdminWarning = 0/1
       If user is not administrator on local computer - display warning (0/1). Default
is 1
LogFilePath = path
       Path where log file is stored. Default is TEMP folder. No trailing backslash
(c:\windows – ok, c:\windows\ - not ok)
WindowMode = Minimize/Maximize/Hide
       Minimize/Maximize/Hide launched applications. Defult - minimize.
ProgressType = 1/2
       Progress window type. 1-old style, 2-RunOnceEx style. Default 1.


Local settings (for selected .ini file only):
DefaultProfile = Profile_name
       Profile to automatically load when program is launched
Append = path/CD
       Path to append to Run/RunWait/MSI/REG commands
               CD – append kTool’s folder to path
               Path – append specified folder to path
Example:
[Config]
Append = \\10.0.1.1\public\install

[Program]
RunWait = programs\program.exe
will launch: \\10.0.1.1\public\install\programs\program.exe


Progress style 1
Screenshot:




Progress style 2
Screenshot
Maximim capacity is 18 items. If you selected more, it will automatically scroll down.
Things you can control are description and context. To do it put these commands in
ini file:
Context = text („Installing Graphic Applications” in screenshot)
Description = text     („Applying Registry Settings” in screenshot)

Example:
[Adobe Illustrator]
Context = Installing Graphic Applications
Description = Installing program
RunWait = Illustrator_Setup
Description = Adding Registry Settings
REG = illustrator.reg
Description = Copying Files
DOS = copy something
Description =
Note that description and mini progress bar are shown only if there is three or more
comands in current section.

See
Commands:
Run = command                               Run a command and continue
                                            Example
                                            [Acrobat Reader 6.0 Basic]
                                            Run = AdbeRdr60_enu.exe -p"-s /v\"/qn\""
RunWait = command                           Run a command and wait for it to exit
                                            Example
                                            [Acrobat Reader 6.0 Basic]
                                            RunWait = AdbeRdr60_enu.exe -p"-s /v\"/qn\""
DOS = command                  Run command prompt command and wait for it to
                               exit
                               Example
                               [DOS Test]
                               DOS = dir c:\ >>c:\test.txt
                               DOS = copy d:\file.txt c:\file.txt
MSI = command                  Run *.msi (Windows Installer) file and wait for it
                               to exit
                               Example
                               [MSI Test]
                               MSI = file.msi" /qb REBOOT=Suppress
                               MSI = Microsoft Virtual PC 2004.msi" /qb
REG = command                  Add *.reg file to registry
                               Example
                               [REG Test]
                               REG = tweak1.reg
                               REG = tweak2.reg
WaitProcess = process_name     Wait for process to terminate. Process name is
                               shown in Task Manager.
                               Example
                               [WaitProcess Test]
                               Run = notepad
                               WaitProcess = notepad.exe
WinWaitClose = window_title    Wait for window to close.
                               Example
                               [WinWaitClose Test]
                               Run = notepad
                               WinWaitClose = Untitled – Notepad
Reboot                         Reboots the computer.
FileExist = file_name          Checks if file with given name (and optionally
FileExistVersion =             version) exists.
condition_filename             Valid conditions are: <, >, =, <> ,<= ,>=
FileExistAction =              If file exists and and FileExistAction = Skip, next
skip/skipsection               command is skipped.
                               If file exists and and FileExistAction =
                               SkipSection, all commands in current section are
                               skipped.
                               Example:
                               [FileExistTest]
                               FileExist     = c:\windows\explorer.exe
                               FileExistVersion = <=6.0.2900.2180
                               FileExistAction = Skip
                               RunWait         = notepad
FileNotExist = file_name       Checks if file with given name does not exist.
FileNotExistAction =           If it does not exist and FileNotExistAction = Skip,
skip/skipsection               next command is skipped. If FileNotExistAction
                               = SkipSection, all commands in current section
                               are skipped
Folder = foldername            Process entire folders with similar files (like
FolderCommand =                registry tweaks or hotfixes).
RunWait/MSI/REG                Example
FolderFiles = file_extension   [Registry Tweaks]
                               Folder = c:\install\regtweaks
FolderSwitch = switch          FolderFiles = reg
                                      FolderCommand = REG

                                      [SomeFiles]
                                      Folder = c:\install\somefiles
                                      FolderFiles = exe
                                      FolderSwitch = /silent /reboot=0
                                      FolderCommand = RunWait
                                      every reg file in regtweaks folder will be added to
                                      registry
                                      every exe file in somefiles folder will be launched
                                      with "/silent /reboot=0" switches


Command line options:
       Silent installation:
       ktool.exe file.ini [profile] [reboot_mode]
       If profile is specified – only items in that profile will be installed. If not –
everything in specified file will be installed.

        To launch GUI for any file:
        ktool.exe /GUI file.ini

				
DOCUMENT INFO
Shared By:
Categories:
Stats:
views:5
posted:4/10/2010
language:English
pages:5
Jun Wang Jun Wang Dr
About Some of Those documents come from internet for research purpose,if you have the copyrights of one of them,tell me by mail vixychina@gmail.com.Thank you!