MSFN Forum: Folder based install list - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Folder based install list Rate Topic: -----

#1 User is offline   the_spide 

  • Group: Members
  • Posts: 2
  • Joined: 14-August 04

Posted 14 August 2004 - 06:41 PM

I've already started implementing this (though the code on the wihu web site may be out of date) I just want some feedback on the idea ...

I thought that it would be good if WIHU could build the tree of applications to install at runtime (not hard coded in the INI file).

Here is my reasoning:

To make a small tree with only 2 applications (and 2 add-ons) like this:
.   [x] Main
.    \- [x] Common Applications 
.        |- [x] Textpad 4.7.3
.        \- [x] Opera 7.23 
.            |- [x] ASpell 0.50.3.3
.            \- [x] ASpell English Dictionary


Currently your install.ini would contain something like this:
[Main]
command=*
selected=1
description.0=Common Applications
command.0=*
selected.0=1
description.0.0=TextPad 4.7.3
command.0.0=.\Applications\Textpad\txpeng473.exe /S /v/qn /Reboot=Suppress
selected.0.0=1
description.0.1=Opera 7.53
command.0.1=.\Applications\Opera\ow32enen753.exe /s
selected.0.1=1
description.0.1.0=ASpell 0.50.3.3
command.0.1.0=.\Applications\Opera\Aspell-0-50-3-3-Setup.exe
selected.0.1.0=1
description.0.1.1=ASpell English Dictionary
command.0.1.1=.\Applications\Opera\Aspell-en-0.50-2-3.exe
selected.0.1.1=1


If your going to keep your install files in subdirectory why not keep the ini section needed to run the install file in the same folder... And use the existing hierarchy in the file system can be used to help build the tree... that way you can delete, add or rearrange applications in your
Install folder without having to keep the install.ini up to date..

So you could have your install.ini (with the users and environment etc) and have a small ini files located with each application.

With my change you could have files arranged like this:
  • \Install.ini
    Contains the normal users and environment configuration and a separate section to trigger search. eg:
    ; Search Sub folders for wihu.ini files
    [Main]
    findini=wihu.ini

  • \Applications\wihu.ini
    Only the name for displaying in tree as a header eg:
    [Common Applications]

    Note: if this ini file was missing Textpad and Opera would be moved up the tree.
  • \Applications\Textpad\wihu.ini
    Contains just enough to specify install of textpad eg:
    [TextPad]
    description=TextPad 4.7.3
    command=txpeng473.exe /S /v/qn /Reboot=Suppress
    selected=1

  • \Applications\Opera\wihu.ini
    Contains just enough to specify install of opera and using the current nested syntax the spell checker and dictionary eg:
    [Opera]
    description=Opera 7.53
    command=ow32enen753.exe /s
    selected=1
    description.0=ASpell 0.50.3.3
    command.0=Aspell-0-50-3-3-Setup.exe /silent
    selected.0=1
    hidden.0=0
    description.1=ASpell English Dictionary
    command.1=Aspell-en-0.50-2-3.exe /silent
    selected.1=1
    hidden.1=0

Soo.... What do you think?

Do you store installs in a tree of folders ? if so, how many folders/subfolders do you have ? (I need to get an idea of how much I would have to search)

Do you think you it would be good if you could move, delete, add or rename files in your install folder and not need to update the install.ini?


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy