> What I meant was: where do lines to be added exist?
"The text/instructions i would like to be able to have
listed in the vbs (or a comma delimited file that can be called from
the vbs)"
Quote:
>
> "they all use the same ini file name" -- sre the files in differnet folders
> and/or on different systems?
>
> Sorry, I'm still trying to gather your requirements.
>
> It's just not very clear (to me) how you envision an automated
> effort to work.
>
> Do you have a list of filenames with their paths from which to select?
> Where are the additional lines -- in a text file or known when needed.
Sorry about that - i will try to give you further examples.
I would like to add something like;
7z457.exe /S
AC3.exe /S
AutoIt32100.exe /S
JRE6.exe /quiet /norestart
Sysinternals.exe
Wget.exe
INSTALL_FLASH_PLAYER.EXE /silent
WindowsXP-KB923789-x86-ENU.exe /Q:A /R:N
DX.exe
these entries would be appended to the [SetupHotfixesToRun] section
like e.g. below
[SetupHotfixesToRun]
KB892130.exe /q /n /z
wmp11.exe /q /n /z /o
wmfdist11.exe /q /n /z /o
mscomppackv1.exe /q /n /z /o
wudf01000.exe /q /n /z /o
; Added below
7z457.exe /S
AC3.exe /S
AutoIt32100.exe /S
JRE6.exe /quiet /norestart
Sysinternals.exe
Wget.exe
INSTALL_FLASH_PLAYER.EXE /silent
WindowsXP-KB923789-x86-ENU.exe /Q:A /R:N
DX.exe
Quote:
>
> I developed an HTA (= VBS + a UI) that allows entry of a filename
> (which must exist in the HTA's folder); the contents of the file are
> displayed in a <textarea> and may be changed and saved.
>
> An enhancement would be to have a list of path+filenames;
> the selection of one would cause it to be displayed in a <textarea>
> and a list of the [sections] within it could be displayed as a
> dropdown selection list. Another <textarea> would allow for
> entry of the "additional lines". *You would then select a
> [section] from the list and click a button called "append" to
> append the "additional lines" to the end of the selected [section].
> Alternatively, you could manually insert additional lines
> where ever you wanted. *You would then click a "save" button.
>
> Your thoughts?
Sound great! - then i could select the file i want (would need to be
able to add a command-line argument to the entry) and then after
creating an array add this to the [SetupHotfixesToRun].