+ Post New Thread
Results 1 to 5 of 5
Windows Thread, Creating a batch file to ask user what software they wish to install from a CD? in Technical; Hi, I'm trying to create a batch file to allow a user to choose, on running this batch file, which ...
  1. #1

    Join Date
    Jun 2007
    Location
    Stockport, Manchester
    Posts
    21
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Creating a batch file to ask user what software they wish to install from a CD?

    Hi, I'm trying to create a batch file to allow a user to choose, on running this batch file, which piece of software to run from a custom created CD. I've put 7 pieces of software on a CD, and I want to allow them the option of which piece of software to install? I'd also like the batch to run with the autorun, so the user only has to follow simple prompts in the batch file.

    I've looked around and found the choice command may be how to do this, but I'm struggling to implement this well.

    Thanks in advance

    Jonathan Hambleton

  2. #2

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,855
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    181

  3. #3
    DSapseid's Avatar
    Join Date
    Feb 2007
    Location
    West Sussex
    Posts
    1,148
    Thank Post
    129
    Thanked 54 Times in 47 Posts
    Rep Power
    37
    I did a CD front in flash a few months ago. Using the FSCommand.

  4. #4

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,540
    Thank Post
    831
    Thanked 609 Times in 412 Posts
    Rep Power
    432
    I use AutoIT3 and the Customised SciTE4AutoIT to "record" the installation of a program and then create a scripted EXE file..

    Then I have an AutoIT Install Chooser script that allows the user to select from a list of software to install..

    I've attached the install chooser script for you to look at.. (change the extension to .au3)
    Attached Files Attached Files

  5. Thanks to Gatt from:

    OverWorked (6th December 2011)

  6. #5

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,229
    Thank Post
    1,056
    Thanked 1,066 Times in 623 Posts
    Rep Power
    739
    As they say a million and one ways to skin a cat - just to add my 2 cents worth - again would use AutoIT to create a menu - like Gatt.....

    On checking [ as this bought up an issue of a similar setup I knocked up about 7 years ago for a boot DOS disk for a thin client Windows95 build.....]
    I used DOS's 'Choice' command and even used the Errorlevel for an actual variable.....[ 255 ]
    On checking - guess what ? The command is still there in Vista !!

    Now thats progress !!!!!

SHARE:
+ Post New Thread

Similar Threads

  1. Batch file to copy user profile
    By googlemad in forum Windows
    Replies: 2
    Last Post: 15th October 2010, 11:08 PM
  2. batch file comman
    By jussy65 in forum Scripts
    Replies: 3
    Last Post: 13th August 2008, 07:10 AM
  3. Pass in batch file
    By meastaugh1 in forum Windows
    Replies: 2
    Last Post: 17th January 2008, 08:02 PM
  4. batch file to shutdown PCs
    By macca in forum Windows
    Replies: 5
    Last Post: 3rd May 2007, 09:20 AM
  5. batch file help
    By beeswax in forum Scripts
    Replies: 9
    Last Post: 3rd March 2006, 07:48 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •