urapnes Posted October 17, 2003 Share Posted October 17, 2003 HelloI would like to use a VBS script or other methods to do an applications installation. I would like to see a choice during my applications installation process. For example...(a checkbox would be nice)Select your applications: ---------------------------------Item1=WinRARItem2=Adobe Acrobat Reader 6Item3=Adaware 6Item4=Nero 6---------------------------------If I decided to select Item1 and Item2, it will install only WinRAR and Adobe Acrobat for me.TIA,Ura PnesPS...Gosh thank you for saving 150 MB of disk space on my CD. I love the lite version of Windows XP! Link to comment Share on other sites More sharing options...
IcemanND Posted October 17, 2003 Share Posted October 17, 2003 At what point do you want this to run? Link to comment Share on other sites More sharing options...
urapnes Posted October 17, 2003 Author Share Posted October 17, 2003 At what point do you want this to run?After Windows XP installed and processing the RunOnce command. Link to comment Share on other sites More sharing options...
sandman_qc Posted October 17, 2003 Share Posted October 17, 2003 That would be cool indeed. I could use something like this myself... Link to comment Share on other sites More sharing options...
PeterS Posted October 17, 2003 Share Posted October 17, 2003 To make a form with check boxes you can use IE as a front end.http://www.borncity.com/WSHBazaar/WSHFormIE.htmand to run the installation programs use WshShell.Run http://www.ss64.com/wsh/run.html Link to comment Share on other sites More sharing options...
gosh Posted October 18, 2003 Share Posted October 18, 2003 How about save the settings the user choses to an .inf file?On a totally unrelated note:I've been researching on how to make xp setup prompt you for what programs you want installed. I know the early betas of xp (whistler) did this by default. I found an unattend switch to enable this, Method=custom i believe, but i tried this method and it does nothing. Can anyone enlighten me on how to make xp prompt you for what programs you want installed?-gosh Link to comment Share on other sites More sharing options...
Westi Posted October 19, 2003 Share Posted October 19, 2003 Hi gosh,hope you will read this, after your good-bye It is the same procedure you used for other components:expand sysoc.in_replace ',hide,' with ',,'Explained for W2k in KB223182But i don't know what happend in XP.Good luck Link to comment Share on other sites More sharing options...
sandman_qc Posted October 20, 2003 Share Posted October 20, 2003 HelloI would like to use a VBS script or other methods to do an applications installation. I would like to see a choice during my applications installation process. For example...(a checkbox would be nice)Select your applications: ---------------------------------Item1=WinRARItem2=Adobe Acrobat Reader 6Item3=Adaware 6Item4=Nero 6---------------------------------If I decided to select Item1 and Item2, it will install only WinRAR and Adobe Acrobat for me.TIA,Ura PnesPS...Gosh thank you for saving 150 MB of disk space on my CD. I love the lite version of Windows XP!How about something like this: XP Setup Menu Link to comment Share on other sites More sharing options...
urapnes Posted October 20, 2003 Author Share Posted October 20, 2003 HelloI would like to use a VBS script or other methods to do an applications installation. I would like to see a choice during my applications installation process. For example...(a checkbox would be nice)Select your applications: ---------------------------------Item1=WinRARItem2=Adobe Acrobat Reader 6Item3=Adaware 6Item4=Nero 6---------------------------------If I decided to select Item1 and Item2, it will install only WinRAR and Adobe Acrobat for me.TIA,Ura PnesPS...Gosh thank you for saving 150 MB of disk space on my CD. I love the lite version of Windows XP!How about something like this: XP Setup Menu Sandman-That would be nice, but that is similiar to a CD Menu program. The problem with the CD Menu software is that I can't select multiple items and let it process after one another. Ura Link to comment Share on other sites More sharing options...
sandman_qc Posted October 20, 2003 Share Posted October 20, 2003 That would be nice, but that is similiar to a CD Menu program. The problem with the CD Menu software is that I can't select multiple items and let it process after one another. UraYeah I know! But since I don't know VB or any other programming for that matter, I had to use an external program. It's AutoPlay Media Studio 4.0. There's a free trial available HERE. I didn't have the time to check all the functions but maybe it can do what you want... Link to comment Share on other sites More sharing options...
996 Posted October 20, 2003 Share Posted October 20, 2003 using the links from PeterS's post I've made a front end using vbs and HTML.one vbs file calls the html in a menu-less IE window. BUT i am a web designer not a VBS coder and am therfore STUCK since i don't know how to call shell.run commands from within html. I will post pics later when I am home. Link to comment Share on other sites More sharing options...
996 Posted October 20, 2003 Share Posted October 20, 2003 Link to comment Share on other sites More sharing options...
IcemanND Posted October 21, 2003 Share Posted October 21, 2003 try this.configure your installs through the installs.ini file, then run the script. You can have as many applications as you can display on the screen, or memory allows.I'm still working on hiding checkboxes, so that feature in the ini does not currently work but the rest appears to. EDIT: Hidden items now works. Updated downloaded script.Send me comments, problems, etc.Here is the INSTALLS.INI file:;Apps Install INI;INI file Format;; [Applcation name as displayed in program]; Install= path to application install + switches; selected=0,1 0 not selected by default, 1 selected by default; (if not specified defaults to 0); visible=1,0 1 visible on form, 0 not visible on form ; (if not specified defaults to 1); if not visible but selected application will still install; active=1,0 1 - Visible and able to change, 0 - greyed out, visible but not able to change; (if not specified defaults to 1); installorder=## order in wich application is installed starting with 1 ; (if no order is selected applications will install in listed order in INSTALL.INI; any application without and INSTALLORDER will install after applications; with INSTALLORDER set.); register=register.reg (path\name of registry file for registration of application; will be installed with "regedit /s path\filename"); boxdesc=description to be displayed inside box with program name; popdesc=description to be displayed when mouse is over program name; NOTE: application will be listed on screen in the order they are entered into; the INSTALL.INI file.[iNSTALL WINDOW SETUP]Title=Software Installation SelectionPrompt=Select Software for Install: Button=Start Installation; Specifies left side position of windowLeft=20; specifies top position of windowTop=20;specifies width of windowWidth=800; specifies height of windowHeight=400; number of columns to display program listnumcolumns=3; specifies maximum number of items displayed in list will ignore anything in file beyond this numberMaxitems=0; specifies number of items in INSTALL.INI (used for debugging)numitems=0[Acrobat Reader 6.0]install=c:\install\Acrobat\AR6.msi /QBselected=0visible=1installorder=10active=1popdesc=Acrobat Reader 6.0boxdesc=Instals Acrobat Reader 6.0 to C:register=%systemdrive%\install\register\acrobat.regedit: updated 11/16/2003 7:13p est Link to comment Share on other sites More sharing options...
996 Posted October 23, 2003 Share Posted October 23, 2003 Iceman, that is very cool and works quite well.I would like to customize the appearance of the html and tried to include ccs but the script breaks on me when i insert this line:html.writeline ("<title>" & wTitle & "</title>")html.writeline ("<link href="install.css" rel="stylesheet" type="text/css">")html.writeline ("</head>")What did I do wrong? Error message is:Windows Scripting HostScript: install.vbsLine: 137Char: 30Error: ')' expectedCode: 800A03EESource: Compilation error... Link to comment Share on other sites More sharing options...
IcemanND Posted October 23, 2003 Share Posted October 23, 2003 Use this:html.writeline ("<title>" & wTitle & "</title>")html.writeline ("<link href=" & chr(34) & "install.css" & chr(34) & " rel=" & chr(34) & "stylesheet" & _ chr(34) & " type=" & chr(34) & "text/css" & chr(34) & ">")html.writeline ("</head>")I've updated the downloadable script with this also.I have also added a REGISTER option for the install.ini.usage: register=path\yourreg.regregistry keys will be added from yourreg.reg to the registry via "regedit /s path\yourreg.reg" after the application has finished its install.EDIT: Script updated 11/16/03 7pm ESTinstall.vbs Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now