![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-03 18:15 |
48,038 topics / 350,123 posts / today 0 new / 48,251 members |
| DOS批处理 & 脚本技术(批处理室) » [Original] My Super Strong One-Click Software Installation Manager |
| Printable Version 2,432 / 14 |
| Floor1 HUNRYBECKY | Posted 2007-03-09 09:29 |
| 银牌会员 Posts 442 Credits 1,179 | |
|
After more than half a month of learning VBS and HTML, combined with some experiences in computer maintenance, I have written this super-powered one-click software installation manager. It is mainly used for installing portable software, and can also be used for installing non-portable software. It also supports batch extraction (requiring support for RAR 3.7 or above).
I would like to express special thanks to Brother ZH159 and other brothers and friends for their support in the production of this program. Here, I extend my special thanks. The program interface refers to Brother ZH159's "Who Says Batch Processing Interfaces Can't Be Beautiful". This software supports installation in CMD interface and WINDOWS graphical interface mode; supports automatic identification and conversion of traditional and simplified Chinese languages; supports batch installation, batch portable software repair, batch extraction; supports production of installation scripts. The program is made based on BAT + VBS + HTML. The following briefly explains the main functions: I have given 4 installation methods. The first conventional method can not only be used to batch install portable software (requiring GSETUP.BAT for portability setup in the portable software, and must be compressed with WINRAR or 7ZIP), but also can batch install ordinary EXE software; the second one only installs EXE compressed packages specially made with WINRAR. How is it special? In fact, it is that when compressing the portable software, the GSETUP.BAT inside is automatically called when the portable software is extracted, which simplifies the installation process. Most of my portable software are in this mode, which is relatively convenient. It can be installed manually or using the RAR command to extract and install. The third mode means repairing the installed portable software. The reason is very simple. If the system is reinstalled, the original portable software cannot be used anymore. Then this repair function can be simply used to automatically traverse the GSETUP.BAT existing in the specified directory and execute it. The fourth one is to directly traverse the UINSTALL.BAT in the specified directory to delete the portable software. Regarding the production of the script, actually, the FOR command and RAR command are used to obtain all EXE, RAR, 7Z software in the directory and subdirectories, and write their comments to a file. There are two advantages of making the installation script. One is to speed up the installation speed and avoid automatically obtaining the software list in the directory and subdirectories each time during installation; the second is to obtain the comments, and users can re-make the comments to be used as installation instructions. In the IE interface, these comments can be read out for users' reference. I have uploaded the compressed package of the entire software. Please do not change the file names inside, otherwise errors may occur. After decompressing the compressed package, put it in the directory or parent directory where the software needs to be installed. [ Last edited by HUNRYBECKY on 2007-3-10 at 01:44 AM ] Attachments onegsetup.rar (181.73 KiB) ONEGSETUP.jpg (95.32 KiB) |
|
| Floor2 lxmxn | Posted 2007-03-09 23:20 |
| 版主 Posts 4,938 Credits 11,386 | |
|
Original work needs to be supported~
|
|
| Floor3 vkill | Posted 2007-03-09 23:41 |
| 金牌会员 Posts 1,744 Credits 4,103 From 甘肃.临泽 | |
| Floor4 ccwan | Posted 2007-03-09 23:52 |
| 金牌会员 Posts 1,160 Credits 2,725 From 河北廊坊 | |
|
Support original works.
|
|
| Floor5 zh159 | Posted 2007-03-10 00:52 |
| 金牌会员 Posts 1,467 Credits 3,687 | |
|
This is a list I tested. Set whether to install by default according to the exe - named txt file, and display the exe file description in the txt file (each time a file is added, a txt file is also added to set whether to install by default and store the software description)
PS: Try not to use VBS file operations like Set objFSO = CreateObject("Scripting.FileSystemObject"), many antivirus software will intercept it [ Last edited by zh159 on 2007-3-9 at 11:55 AM ] Attachments 安装.gif (18.23 KiB) |
|
| Floor6 HUNRYBECKY | Posted 2007-03-10 01:42 |
| 银牌会员 Posts 442 Credits 1,179 | |
|
When did ZH also make one? It should have been released long ago.
|
|
| Floor7 electronixtar | Posted 2007-03-10 01:57 |
| 铂金会员 Posts 2,672 Credits 7,493 | |
|
Personal opinion, VBS + HTML < HTA
|
|
| Floor8 juventusryp | Posted 2007-03-10 02:08 |
| 初级用户 Posts 40 Credits 88 | |
|
That's really awesome, I'll give it a thumbs up. When I've learned batch well, I'll also learn VBS.
|
|
| Floor9 zh159 | Posted 2007-03-10 04:01 |
| 金牌会员 Posts 1,467 Credits 3,687 | |
Originally posted by HUNRYBECKY at 2007-3-9 12:42: You started working after you posted "How to generate checkboxes on a web page and return user selections to CMD" Originally posted by electronixtar at 2007-3-9 12:57: I thought about it, but I don't know how to use it, especially VBS reading and displaying txt information |
|
| Floor10 nihao6227 | Posted 2007-03-10 07:09 |
| 初级用户 Posts 10 Credits 26 | |
| Floor11 HUNRYBECKY | Posted 2007-03-10 08:27 |
| 银牌会员 Posts 442 Credits 1,179 | |
Originally posted by zh159 at 2007-3-10 04:01: Hehe, I also started learning VBS and HTML after seeing your interface. I was learning while looking at your program, which was quite interesting. It took me half a month to learn. |
|
| Floor12 HUNRYBECKY | Posted 2007-03-10 08:29 |
| 银牌会员 Posts 442 Credits 1,179 | |
Originally posted by electronixtar at 2007-3-10 01:57: HTA is really good. Many installation programs, especially those from MS, use this. Also, many CDs use this stuff. Nice. I plan to study this later. XML is also very good. But now I need to go home, so I won't study these for the time being. |
|
| Floor13 yuehong | Posted 2007-03-14 04:57 |
| 初级用户 Posts 37 Credits 64 | |
| Floor14 axi | Posted 2007-03-16 08:33 |
| 中级用户 Posts 93 Credits 238 From GZ | |
|
P、 V、 H all need to be learned, this is what I like to watch the most. Up!
|
|
| Floor15 gdmzzyw | Posted 2007-03-19 03:12 |
| 初级用户 Posts 18 Credits 46 | |
|
Thanks to the楼主!
I've been looking all day today! Going around and around still comes back here! Thanks! |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |