Installs.exe is similar in function to Installs.vbs, though right now is has more options than installs.vbs.
Another difference is that you can run it at anypoint during an unattended install, at least so far in my experience, from runonce, from cmdlines.txt. Since it does not use IE it does not require a user profile like the VBS did.
Formatting of the INI file is the same with a few additional options (save as installs.ini).
;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 an INSTALLORDER will install after applications ; with INSTALLORDER set.) Cannot be larger than number of applications defined in INI. ; register=register.reg,[before/after] (path\name of registry file for registration of application ; will be installed with "regedit /s path\filename") before or after is required ; postreboot=0,1 1 add to runonce and install after reboot, 0 install now (default) ; displayorder=## order in which applications are displayed on screen ; (if no order is selected applications will displayed in listed order in INSTALL.INI ; any application without a DISPLAYORDER will be listed after applications ; with DISPLAYORDER set.) Cannot be larger than number of applications defined in INI. ; saveinstall=0,1 0 delete installation folder after install, deletes contents of folder and ; removes folder containing installer listed in INSTALL. defaults to 1 to leave. ; killprocess=processname,wait Process to kill at end of install, wait in seconds before killing, ; will not work with POSTREBOOT option (in future version) ; popdesc=description of program which mouse rests over, text tip box. ; boxdesc=description of program displayed underneath program name next to checkbox ; ; ; NOTE: application will be listed on screen in the order they are entered into ; the INSTALL.INI file. if displayorder is not set. [INSTALL WINDOW SETUP] Title=Software Installation Selection Prompt=Select Software for Install: Button=Start Installation ; Specifies left side position of window Left=20 ; specifies top position of window Top=20 ;specifies width of window in twips Width=12000 ; specifies height of window if left blank the box will be resized to display all items in twips ;Height=8000 ; number of columns to display program list numcolumns=4 ; restart=1,0 1 Restart after installs, 0 do not restart, defaults to 1 restart=0 ; Autostart=1,0 1 - does not wait for user to click button starts upon loading and waiting for delay (default 0) Autostart=0 ; Delay - length of time in seconds to wait before starting script delay=0 ; shutdowntimer=ss - number of seconds to wait before installs.exe closes after finishing installs or user exits, defaults to 10 shutdowntimer=10 ;cblineht=185 defines how many lines of text high the checkbox field is, usefull when using boxdesc. ; 185=1 line, 370=2, 555=3, etc in multiples of 185 defaults to 555. cblineht=370 [Acrobat Reader 6.0] install=msiexec -i %systemdrive%\install\acrobat\AR6.msi /QB selected=0 visible=1 active=1 displayorder=1 installorder=1 postreboot=0 popdesc=acrobat boxdesc=Adobe product
Things I am still working on:
1. processname,wait - Process to kill at end of install, wait in seconds before killing
2. DONE Description - a description line under the program name (already has popup description)
3. Complete Error checking - with better error descriptions
4. Group items - into selectable groups
5. Radio button groups - for single application but with different install options
5a. radio button groups - for different applications, you can install one but not the other, i.e. acrobat 5 or acrobat 6
6. setup switch for cd-rom install
7. fix problem with postreboot switch
Let me know if you run into errors and what they were or at what point they occur. I have tested as best I can with the applications I use but that is a far cry from what is out there to test this against.
Edit: This one will work as long as numcolumns is greater than or equal to then number of applications to be displayed. I'm working on fixing this issue.
Edit: Above issue fixed in this version
fixed - Shutdowntimer issue
added - command line option for user selected INI file, INI must exist in same directory as EXE. format - installs.exe myinstall.ini
added - translation of environment variables used in INI file
fixed - active switch, added boxdesc, added cblineht form option
fixed - now replaces all environment variables not just the first one incountered
fixed - now replaces environment variables in all path strings
fixed - not properly detecting register files and installing
changed - code which launches applications - seems to handle more applications properly now[/b]
Current version 2.3.15 (previous versions available here)
Attached File(s)
-
install.exe (60K)
Number of downloads: 6086



Help

Back to top










