Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
bryanh

New Option for Installing Applications - W.A.I.T.

Recommended Posts

(Updated software - Version 0.21 uploaded on 4.20 at 10:40 pm ET)

You download at the WAIT forums.

-------------------------------------------------------------------------------------------

Hello all,

Perhaps you have heard of WPI. Well I loved the idea of having a menu system to select which apps to install and then having them install automatically. The only problem was that WPI lacked some features that I wanted. Rather than working on the java script I decided to break out the compiler and write my own. So I present to you W.A.I.T. (Windows Application Installation Tool). In the attached zip file is the program and a sample config file. You should be able to figure out exactly how to use it from the config file. Just make sure you put the wait.cfg file in the same directory as wait.exe.

Basically you set up the config file as such

Name=Name of your App
Desc=A description of the app
CMD=Command to run
UID=A unique ID for the app
Excludes=Application UID's seperated by comma that should not be installed if you install this all
DEPS=Application UID's that MUST be selected in order to install this app as well
CAT=The applications catagory

So an example file would be

Name=EAC
UID=EAC
DESC=Used to rip audio files from a CD
CMD=%cdrom%\\Apps\\InstallScripts\\EAC.au3.exe
CAT=DVD/CD Tools

Name=RazorLame
UID=RAZORLAME
DESC=Used to convert WAV files to MP3.  Includes LAME.
CMD=%cdrom%\\Apps\\InstallScripts\\RazorLame.au3.exe
CAT=DVD/CD Tools

Name=Adobe Reader 7.0 Full
UID=ADOBEREADER70FULL
DESC=Allows to view PDF-Files.
CMD=%cdrom%\\Apps\\InstallScripts\\AdobeReader7.au3.exe
CAT=Office

Name=App1
UID=APP1
CMD=RunApp1
EXCLUDES=APP2
CAT=Test

Name=App2
UID=APP2
CMD=RunApp2
EXCLUDES=APP3
CAT=Test

Name=App3
UID=APP3
CMD=RunApp3
EXCLUDES=APP1,APP2
CAT=Test

Name=Windows Media Player v10
UID=WINDOWSMEDIAPLAYERV10
CMD=%cdrom%\\Apps\\InstallScripts\\WMP10.au3.exe
CAT=Tools

Name=Photo Story 3
UID=WINDVR
CMD=%cdrom%\\Apps\\InstallScripts\\PhotoStory3.au3.exe
DEPS=WINDOWSMEDIAPLAYERV10
CAT=Tools

As you can see %cdrom% is replaced with the drive letter of the CD that has a file named "Alldvd.txt" in the root.

you can also use %systemdrive%, %windir%,%programfiles%, %sysdir%, %allusersprofile%, %userprofile%, and %commonprogramfiles% as well as any other variables you want to set up. These will be expanded to the usual environment variables.

-------------------------------------------------------------------------

You download at the WAIT forums.

Edited by bryanh

Share this post


Link to post
Share on other sites

just because I haven't opened the program yet....

what exactly did you add taht WPI doesn't have?

Have you heard of WIHU? Perhaps XPlode?

Share this post


Link to post
Share on other sites

The primary reason I started was because I wanted a check box for each catagory. This way I could click one box and it would select all the items in the catagory. Of couse as always (for me at least), I have to start writing code. Then it becomes C++ and then an app.

There is an "information" window on the screen. As you move your mouse across the items it update with information about the item under the mouse. It shows Name, Description, a list of all the dependent application, and a list of all the excluded applications (I really like that feature now).

And best of all I am willing to add more if needed/requested.

Share this post


Link to post
Share on other sites

A. This sounds ALMOST like WIHU, however WIHU last I saw didn't support the exclusions inclusions. Though you could probally work that into something, but it wouldn't be as easy as tellin it a UID. WIHU uses a INI file to import the entries, and it allows for tree selection, with the trees being QUITE deep.

Look at the forum in the same section as the nLite and WPI forums.

B. Looks good, and as long as it suits your needs, YAY!

Main reason I asked the questions above, were primarily because if this was just a starting point for you, and you planned to add something, it this was basically a program already written, didn't want ya to waste time :P But yeah...

Share this post


Link to post
Share on other sites

well done, it looks ALOT like WPI tho :wacko:

maybe u can make a customizable background pic (like maverick suggested) & maybe customizable icons? :)

EDIT: also color customization maybe? :P & even checkbox customization lol

Share this post


Link to post
Share on other sites

I have taken and added the suggestions above. There is now a wait.ini file that you can add with the following items:

[Colors]

UnCheckable=225,0,0

Checkable=0,0,0

Background=102,153,255

TitleColor=255,255,255

ButtonTextColor=255,255,255

ButtonHighlightTextColor=0,255,0

[icons]

Run=run.ico

All=all.ico

Right=right.ico

Left=left.ico

Exit=exit.ico

None=none.ico

If you don't have these lines then it will use the defaults. Otherwise you can set it up anyway you like.

Put the wait.ini and the *.ico files in the same directory as the wait.exe program.

The zip in the first post now has the updated version (with sample icon files and a default wait.ini)

Share this post


Link to post
Share on other sites

i dont see any wait.ini in the zip, but ok...

i also agree that it is very similar to wpi, but i have some suggestions:

1) add our own customization buttons (ex: 'select all', 'select none', 'Default config 1', 'laptop config'). This can be easily defined by having a line somewhere that goes like:

laptop config = UID1, UID2, etc.

so whatever UID is listed there will be selected when that option is chosen.

2) make it more professional looking. the boxes on the left are too wide, and take up too much space

3) make the dependent programs automatically-select the things that are needed, instead of blocking them from installing until the other is checked.

Share this post


Link to post
Share on other sites

Hmmmm, the program dont close after installations... its normal??

And your packages dont seem to be updated... no wait.ini :(

Share this post


Link to post
Share on other sites

Very nice program! A few suggestions:

An option to automatically close the program after selected apps are installed would be great.

An option to restart the PC when installing apps that require reboot is needed.

Running in a window vice full screen (so the taskbar is accessible) would be great.

Accepting the location of wait.cfg as a parameter passed to wait.exe would allow more flexibility for my purposes.

Hope you keep developing/refining it. It is easy to configure and use, which is helpful to me. Thanks.

Share this post


Link to post
Share on other sites

Seems my updated zip didn't post. It's updated now.

I will work on the requests in the above posts.

Share this post


Link to post
Share on other sites

getting better from the initial release :D

couple suggestions tho

when u post a new file, rename it with the version number (so its not cached on the site) also post a changelog for the update :P

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...