CN1755628B - Method of automatically installing software during operation system startup - Google Patents

Method of automatically installing software during operation system startup Download PDF

Info

Publication number
CN1755628B
CN1755628B CN 200410081162 CN200410081162A CN1755628B CN 1755628 B CN1755628 B CN 1755628B CN 200410081162 CN200410081162 CN 200410081162 CN 200410081162 A CN200410081162 A CN 200410081162A CN 1755628 B CN1755628 B CN 1755628B
Authority
CN
China
Prior art keywords
hpa
operating system
software
driver
computing machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 200410081162
Other languages
Chinese (zh)
Other versions
CN1755628A (en
Inventor
王晚丁
张宗宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN 200410081162 priority Critical patent/CN1755628B/en
Publication of CN1755628A publication Critical patent/CN1755628A/en
Application granted granted Critical
Publication of CN1755628B publication Critical patent/CN1755628B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for automatic installing the software on the starting course of the operation system which stores the provided computer driven program and/or the software into the HAP area of computer hard disk. When starting the computer, it automatically checks the driven program and/or the installing condition of the software and automatically installs the computer driven program and /or the software by the checking result.

Description

The method of automatic software installation in the os starting process
Technical field
The present invention relates to a kind of installation method of software, be meant a kind ofly when os starting especially,, and, belong to field of computer technology according to the method for the result's automatic software installation in the os starting process that detects by automatic detection.
Background technology
For allow the user can be in needs install driver and/or subsidiary at random software, computing machine manufacturer usually all can be when selling computing machine, provide cover optical disk of software or a floppy disk to the user, this way has three deficiencies at least: the one, increased the production cost of every computing machine; The 2nd, CD or floppy disk may damage or lose, and the user can not find subsidiary at random CD or floppy disk sometimes in needs; The 3rd, the running difficulty that producer carries out accompanying software upgrading or patch installing is big.
Therefore, IBM (IBM) and U.S. Dare company (DELL) when scheduler, just in the C dish that directly driver and/or accompanying software with this computing machine is copied to hard disk, and to how to install describe by the electronics help system.But, the operating system of prepackage was consistent with the operating system that user's actual needs uses when this way need make computing machine dispatch from the factory, and in actual conditions, quite a few user wishes oneself to install the operating system that its custom is used, rather than the operating system of producer's prepackage; In addition, in case C coils data by virus damage, driver and/or accompanying software also will be lost.
Also have a kind of solution to be: at the Host Protection zone of computing machine (Host ProtectedArea; HPA) in; store driver and/or accompanying software in advance; the user is before the startup computing machine enters conventional operating system; select startup one can carry out the embedded OS of read-write operation earlier to HPA; driver among the HPA and/or accompanying software are copied to the D dish of hard disc of computer; then; restart computing machine and enter conventional operating system; in described D dish, seek corresponding catalogue, these drivers of manual installation and/or accompanying software by the user.The practicality of this solution is bad, to having relatively high expectations of user; In case when the user can not find instructions, just do not know how to operate, increased the after sale service workload and the cost of producer on the contrary.
Summary of the invention
The method that the purpose of this invention is to provide automatic software installation in a kind of os starting process, with producer's computer drivers providing with the machine and/or accompanying software, store the HPA zone of hard disc of computer into, when computer starting, automatically detect the installation situation of described driver and/or accompanying software, and computer drivers and/or accompanying software are installed automatically according to the result who detects.Make when reducing the computing machine production cost, make things convenient for the installation of accompanying software, and the running difficulty that makes producer carry out accompanying software upgrading or patch installing reduces the workload and the cost of the after sale service of minimizing computer manufacturer greatly.
The objective of the invention is to realize by the following technical solutions:
In the HPA of hard disc of computer subregion, an embedded OS is installed, simultaneously, in the HPA subregion that driver that this computing machine is subsidiary and accompanying software are stored in hard disc of computer; When computer starting, whether the driver and/or the accompanying software of wishing installation have been installed in the operating system that detection will start; If described driver and/or accompanying software are not installed as yet, then start the embedded OS that is installed among the HPA, and load all subregions on this hard disc of computer automatically, the drive software of visit HPA is copied on the subregion of operating system place, in the startup group of described operating system or registration table, add link to the HPA access tool, with the corresponding flag set among the CMOS, close HPA, restart computing machine and enter operating system, described HPA access tool is installed, the driver and the software of needs prepackage are installed according to profile information are installed, and the self-starting order in removing startup group or the registration table.
Adopt above-mentioned method, on the one hand, in-box driver that producer provides and accompanying software, directly leave among the HPA subregion of computing machine, need not to adopt again other software carriers, make the production cost of computing machine reduce, on the other hand, by in the automatic detecting operation system whether driver and/or accompanying software being installed, further determine whether to install corresponding driving program and/or accompanying software, reduce computer user's fitting operation, improved the ease for use of computing machine, also further reduced the workload and the maintenance cost of computing machine manufacturer after sale service.
Description of drawings
Fig. 1 is the process flow diagram of the first embodiment of the present invention;
Fig. 2 is the process flow diagram of the second embodiment of the present invention.
Embodiment
The present invention is described in further detail below in conjunction with accompanying drawing and specific embodiment:
Embodiment 1
Example of the present invention is an example with WINDOWS operating system.When computer starting, at first need to judge whether the operating system that can start has been installed on the hard disk, specifically be at BIOS (BasicInput Output System, Basic Input or Output System (BIOS)) increases by one section code in, in order to before loading hard disk MBR (Main Boot Record) zone, to judge middle-and-high-ranking configuration of internal memory and power interface (AdvancedConfiguration and Power Interface, abbreviation ACPI) sign of part, this sign is used to put down in writing the OS Type that last time, start entered; If what find to enter last time is not Windows operating system (may be the DOS system or do not have installing operating system), then point out user installation operating system; Otherwise continue to judge whether the driver and/or the accompanying software of wishing installation had been installed in the operating system that will start.The method of judging has two kinds.A kind of be under the subregion of operating system place searching whether exist certain specific directory and file (for example: C: HPA Setup.log), if finding this document exists, then represent in this operating system corresponding driving program and/or accompanying software to be installed, at this moment, then directly start the operating system.
First method needs the file system of identifying operation system, for example: FAT16, FAT32, NTFS etc., but, some file system, for example NTFS belongs to very complicated file system, therefore very big in the difficulty of these file system of BIOS rank Direct Recognition, usually will start an embedded OS, for example: Linux, file access function itself that utilize this embedded OS to provide is discerned above-mentioned file system.This method is very big to the booting speed of computer influence.
Referring to Fig. 1, second method is the retention parameter district that utilizes among the computing machine CMOS, by wherein certain zone bit is carried out set and reset operation, in the expression computing machine whether driver and/or accompanying software has been installed.This zone bit was set to reset mode when computing machine dispatched from the factory, after driver and/or accompanying software have been installed, master control installation procedure by driver and/or accompanying software carries out set to this zone bit, Uninstaller by driver and/or accompanying software resets to this zone bit, this method realizes that cost is very little, but very practical.
If finding driver and/or accompanying software also is not mounted, then start an embedded OS on the hard disc of computer earlier, for example: Linux, and all subregions on the automatic loading hard disk, the minimum driving of visit HPA is copied on the subregion at operating system place, and a script file is write direct in the startup group or registration table of operating system, this script file is used to instruct operating system to remove to carry out under which catalogue which executable program file, the zone bit set in the retention parameter district among the CMOS, close HPA then, restart computing machine.
When computing machine starts once more, judge whether to have installed operating system still, whether the program of overdriving and/or accompanying software have been installed, directly start the operating system according to judged result, directly carry out the script file in the startup group then, the driver of visit HPA at first is installed according to the instruction in the script file, and then automatic driver and the software of installing of the needs that predefine is good among the installation HPA, like this, do not need producer that any independent CD or floppy disk medium are provided, do not need the user initiatively to participate in, main frame itself has just possessed the ability of automatic install driver and/or accompanying software.Final step is to delete from startup group or registration table own in this script file, no longer repeats similar action after so just guaranteeing to restart the computer afterwards.After the user was the driver unloading of visit HPA, this Uninstaller can reset the zone bit in the retention parameter district among the CMOS.
In addition, adopt above-mentioned second method, when computer starting, need not file system is analyzed, only need the parameter that is provided with among the CMOS of access computer, just can judge simply whether corresponding driving program and/or accompanying software are installed in the computing machine, and, no matter had in the hard disc of computer file system be any file system among FAT32, NTFS, the EXT2, also the operating system of no matter wherein installing is Windows 98, Windows 2000, Windows XP or Linux.
Embodiment 2
Referring to Fig. 2, suppose: do not have the pre-assembled operational system when computing machine dispatches from the factory, but created a HPA subregion, comprise an embedded OS in this subregion, comprise a HPA access tool installed module in this embedded OS; A keyboard signal processing module, predefined function key is for calling HPA access tool installed module, and an accompanying software installation directory has a button to receive and transmits module in the mainboard BIOS.
User oneself has installed Windows XP at the C dish, press above-mentioned function key after restarting computing machine, button among the BIOS receives the transmission module and at first opens HPA, this push button signalling is passed to keyboard signal processing module among the HPA, the function that this module detects this button be want install driver and or accompanying software, then in the memory location of computing machine CMOS, for example: 1DH, write adjustment notch, for example: 0AH, restart computing machine, it is 0AH that the button of restarting back BIOS receives the mark value of transmitting among the module discovery computing machine CMOS, then start embedded OS, embedded OS starts HPA access tool installed module according to this mark.
HPA access tool installed module at first obtains the current active subregion from partition table be the C dish, then, under C packing catalogue, seek whether the HPA.LOG file is arranged, do not find, in the expression Windows system HPA access tool is not installed also, is shown to be used to point out the user installation HPA information of access tool.After the user determines described HPA access tool is installed, HPA access tool installed module just calls the file access function in the embedded OS access tool, under the C dish, create a directory, for example: C: HPA Vist, and the installation file of HPA access tool is copied under this catalogue, then " C: Documents and Settings All Users the Start menu program start " add a shortcut under the catalogue and point to above-mentioned " C: HPA Vist " catalogue, restart computing machine then.
Computing machine is through after restarting and entering Windows, the HPA access tool is installed automatically, shortcut in the deletion startup group, under C packing catalogue, create a HPA.LOG file, and this instrument according to C: a HPA Vist script file Preinstall.txt down automatically the accompanying software installation directory from the HPA subregion accompanying software that needs are pre-installed is installed down.
Above-mentioned process has just realized the installation of driver or accompanying software, and does not need the user to insert the such storage medium of CD, the expense of saving a large amount of media for computer manufacturer; The user only need provide a succinct more easy-to-use function by next key just install driver or accompanying software automatically and easily.
It should be noted that at last: above embodiment only in order to the explanation the present invention and and unrestricted technical scheme described in the invention; Therefore, although this instructions has been described in detail the present invention with reference to each above-mentioned embodiment,, those of ordinary skill in the art should be appreciated that still and can make amendment or be equal to replacement the present invention; And all do not break away from the technical scheme and the improvement thereof of the spirit and scope of the present invention, and it all should be encompassed in the middle of the claim scope of the present invention.

Claims (3)

1. the method for automatic software installation in the os starting process in the HPA of hard disc of computer subregion, is equipped with an embedded OS, simultaneously, and in the HPA subregion that driver that this computing machine is subsidiary and accompanying software are stored in hard disc of computer; It is characterized in that described automatic installation comprises following step:
Step 1: during computer starting, whether the driver and/or the accompanying software of wishing installation have been installed in the operating system that detection will start;
Step 2: if described driver and/or accompanying software are not installed as yet, then start the embedded OS that is installed among the HPA, and load all subregions on this hard disc of computer automatically, the drive software of visit HPA is copied on the subregion of operating system place, in the startup group of described operating system or registration table, add link to the HPA access tool, with the corresponding flag set among the CMOS, close HPA;
Step 3: restart computing machine and enter operating system, described HPA access tool is installed, the driver and the software of needs prepackage are installed according to profile information are installed, and remove the self-starting order in startup group or the registration table.
2. the method for automatic software installation in the os starting process according to claim 1, it is characterized in that: also further comprise before the described step 1 and detect the step whether operating system is installed in the described computing machine, if do not have installing operating system in the described computing machine, then point out user installation operating system, and after installing operating system, restart machine and calculate machine, execution in step 1.
3. the method for automatic software installation in the os starting process according to claim 1 is characterized in that:
In described step 1, by read and anacom CMOS retention parameter district in flag information judge whether to be equipped with the flag information of driver and/or accompanying software;
In the described step 2, be that the flag information that is used to write down install driver whether and/or accompanying software in the computing machine CMOS retention parameter district is set to installment state to the corresponding flag set of CMOS.
CN 200410081162 2004-09-30 2004-09-30 Method of automatically installing software during operation system startup Expired - Fee Related CN1755628B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410081162 CN1755628B (en) 2004-09-30 2004-09-30 Method of automatically installing software during operation system startup

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410081162 CN1755628B (en) 2004-09-30 2004-09-30 Method of automatically installing software during operation system startup

Publications (2)

Publication Number Publication Date
CN1755628A CN1755628A (en) 2006-04-05
CN1755628B true CN1755628B (en) 2010-04-07

Family

ID=36688896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410081162 Expired - Fee Related CN1755628B (en) 2004-09-30 2004-09-30 Method of automatically installing software during operation system startup

Country Status (1)

Country Link
CN (1) CN1755628B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9690561B2 (en) 2011-12-13 2017-06-27 Huawei Device Co., Ltd. Preinstalled application management method for mobile terminal and mobile terminal

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100541509C (en) * 2007-12-10 2009-09-16 上海北大方正科技电脑系统有限公司 A kind of method of scanning and killing computer virus
CN101470610B (en) * 2007-12-25 2011-07-20 英业达股份有限公司 Updating method of program used for test
EP2255284B1 (en) 2008-03-20 2017-01-11 International Business Machines Corporation Method and system for detecting the installation and usage of software in an application virtualization environment
CN101751273B (en) * 2008-12-15 2013-04-24 中国科学院声学研究所 Safety guide device and method for embedded system
CN103530151B (en) * 2013-10-10 2017-04-26 上海爱数信息技术股份有限公司 Customization method of Linux operating system capable of switching service software systems
CN107608680A (en) * 2017-09-06 2018-01-19 郑州云海信息技术有限公司 A kind of batch installation customizes the method and system of kernel and driving
CN107728962B (en) * 2017-09-14 2020-05-22 北京鼎盾信息科技有限公司 Software deployment method and device based on shared printer
CN109101247B (en) * 2018-07-25 2022-02-11 新华三信息技术有限公司 Method and device for installing driver and server
CN110825443A (en) * 2018-08-13 2020-02-21 深圳市冠旭电子股份有限公司 Information interaction method of intelligent sound box and terminal equipment
CN109471665B (en) * 2018-10-31 2022-01-11 湖南国科微电子股份有限公司 Method for automatically installing Windows operating system
CN109614116B (en) * 2018-11-20 2022-06-21 锐捷网络股份有限公司 Installation method and device of embedded system
CN109542372B (en) * 2018-12-05 2023-04-07 珠海奔图电子有限公司 Icon display control method, icon display control device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5307497A (en) * 1990-06-25 1994-04-26 International Business Machines Corp. Disk operating system loadable from read only memory using installable file system interface
US5586327A (en) * 1994-09-27 1996-12-17 International Business Machines Corporation Extended initialization for personal data processing systems
CN1277386A (en) * 1999-06-10 2000-12-20 神达电脑股份有限公司 Automatic installation of driver program for personal computer
CN1384931A (en) * 1999-08-02 2002-12-11 计算机联合思想公司 Method, system and computer readable storage medium for automatic device driver

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5307497A (en) * 1990-06-25 1994-04-26 International Business Machines Corp. Disk operating system loadable from read only memory using installable file system interface
US5586327A (en) * 1994-09-27 1996-12-17 International Business Machines Corporation Extended initialization for personal data processing systems
CN1277386A (en) * 1999-06-10 2000-12-20 神达电脑股份有限公司 Automatic installation of driver program for personal computer
CN1384931A (en) * 1999-08-02 2002-12-11 计算机联合思想公司 Method, system and computer readable storage medium for automatic device driver

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9690561B2 (en) 2011-12-13 2017-06-27 Huawei Device Co., Ltd. Preinstalled application management method for mobile terminal and mobile terminal
US9703542B2 (en) 2011-12-13 2017-07-11 Huawei Device Co., Ltd. Preinstalled application management method for mobile terminal and mobile terminal
US10235149B2 (en) 2011-12-13 2019-03-19 Huawei Device (Dongguan) Co., Ltd. Preinstalled application management method for mobile terminal and mobile terminal
US11106446B2 (en) 2011-12-13 2021-08-31 Huawei Device Co., Ltd. Preinstalled application management method for mobile terminal and mobile terminal

Also Published As

Publication number Publication date
CN1755628A (en) 2006-04-05

Similar Documents

Publication Publication Date Title
US7047403B2 (en) Method and system for operating system recovery and method of using build-to-configuration mode to model computer system
CN1755628B (en) Method of automatically installing software during operation system startup
KR100330532B1 (en) Dynamic Boot File System Selection Methods and Devices
US7853944B2 (en) Apparatus and method for managing firmware of removable media device
CN1947099B (en) Data processing device and method for data exchanging by computer
US20140351815A1 (en) Systems and methods to load applications and application data into a virtual machine using hypervisor-attached volumes
US7516319B2 (en) Method for booting a computer with second OS involves formatting portion of main memory with a second file system to generate ramdisk
EP2705422B1 (en) Dynamically redirecting boot to another operating system
US20060041738A1 (en) Recovery method for master boot record of hard disk drive
CN102662689B (en) Method and system for upgrading embedded software based on USB interface
US20090024757A1 (en) Automatic Protocol Determination For Portable Devices Supporting Multiple Protocols
CN101183324B (en) Recovery method of computer system
JP2004151785A (en) Detachable device and method for starting program
CN100583041C (en) Device and method for configuring software in computer system
CN101650660A (en) Booting a computer system from central storage
CN102314364A (en) Method for automatically adapting to mobile terminal
CN101751263A (en) Method for testing dynamic custom starting core
CN103514015A (en) Method and device for booting operation system from storage medium
CN100410879C (en) Application programme detecting and installing method
US20030182456A1 (en) Portable peripheral apparatus with an embedded storage module
CN101373457B (en) Hard disk write-protection lock based on USB equipment under Windows environment
CN103064767A (en) Driver backup method, driver backup device, driver restoring method and driver restoring device
US20050257218A1 (en) Method for automatically downloading and installing driver of peripheral
CN103106086B (en) Operating system disposal route and system
CN101236533B (en) Method for realizing hard disk write-protecting lock based on PCI card under Windows environment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100407

Termination date: 20200930