CN106557379A - A kind of generation method and device of installation kit of mourning in silence - Google Patents

A kind of generation method and device of installation kit of mourning in silence Download PDF

Info

Publication number
CN106557379A
CN106557379A CN201510642673.1A CN201510642673A CN106557379A CN 106557379 A CN106557379 A CN 106557379A CN 201510642673 A CN201510642673 A CN 201510642673A CN 106557379 A CN106557379 A CN 106557379A
Authority
CN
China
Prior art keywords
file
information
read
registry information
reading
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.)
Granted
Application number
CN201510642673.1A
Other languages
Chinese (zh)
Other versions
CN106557379B (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510642673.1A priority Critical patent/CN106557379B/en
Publication of CN106557379A publication Critical patent/CN106557379A/en
Application granted granted Critical
Publication of CN106557379B publication Critical patent/CN106557379B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The generation method and device of a kind of installation kit of mourning in silence are embodiments provided, the method includes:Detection application before the mounting with installation after file difference information and registration table different information;Read the corresponding file of the file difference information;Read the corresponding registry information of the registration table different information;Judge read whether the file fails and/or the registry information is with the presence or absence of abnormal;If so, then read the backup of the file and/or the exception that the registry information is present is modified;Installation kit of mourning in silence is generated according to the file for reading and the registry information of reading.The embodiment of the present invention reduces application after mounting and is not normally functioning or causes the problem of system errors, improves the success rate of installation of mourning in silence, and reduces the waste of system resource.

Description

A kind of generation method and device of installation kit of mourning in silence
Technical field
The present invention relates to the technical field of computer disposal, more particularly to a kind of generation of installation kit of mourning in silence Method and a kind of generating means of installation kit of mourning in silence.
Background technology
The AMS of current third party emerges in an endless stream, and a big general character therein is up operation system System installs the complex loaded down with trivial details deficiency for needing user interface to be operated.
AMS carries out client distribution by keeper's packing application, or is captured by user oneself The preservation backup applied using bag, when being all to generate to mourn in silence installation kit in case needing in environment is captured Portable installation on the target machine.
When installation kit is mourned in silence in installation, without the need for any user intervention, default setting installation is directly pressed, it is convenient Fast.
In the crawl technology of traditional installation kit of mourning in silence, distinguish in scanning system before and after application is installed File and registry information, before and after being installed by crawl application software, file and registration table difference section are generated Mourn in silence installation kit
But, as file or registration table have exception, installation kit of much mourning in silence also carries abnormal text Part or registration table, using normal operation or can not cause system errors, peace of mourning in silence after mounting Dress up power low, waste system resource.
The content of the invention
In view of the above problems, it is proposed that the present invention overcomes the problems referred to above or at least part of to provide one kind The generation method of a kind of installation kit of mourning in silence that solves the above problems and a kind of corresponding installation kit of mourning in silence Generating means.
According to one aspect of the present invention, there is provided a kind of generation method of installation kit of mourning in silence, including:
Detection application before the mounting with installation after file difference information and registration table different information;
Read the corresponding file of the file difference information;
Read the corresponding registry information of the registration table different information;
Judge read whether the file fails and/or the registry information is with the presence or absence of abnormal;If so, Then read the backup of the file and/or the exception that the registry information is present is modified;
Installation kit of mourning in silence is generated according to the file for reading and the registry information of reading.
Alternatively, the backup for reading the file and/or the exception to registry information presence are entered The step of row amendment, includes:
Volume shadow file is generated to the disk space residing for the file;
The backup of the file is read from the volume shadow file.
Alternatively, it is described to judge read whether the file fails and/or the registry information whether there is Abnormal step includes:
Whether there is short filename in checking the registry information;If so, determine the registry information Exist abnormal.
Alternatively, the backup for reading the file and/or the exception to registry information presence are entered The step of row amendment, includes:
Obtain the corresponding normative document name of the short filename;
The short filename is replaced with into the normative document name.
Alternatively, it is described to judge read whether the file fails and/or the registry information whether there is Abnormal step includes:
Whether newly input method information is increased in checking the registry information;If so, determine the registration table letter Breath exists abnormal.
Alternatively, the backup for reading the file and/or the exception to registry information presence are entered The step of row amendment, includes:
Newly-increased input method information is replaced with into self-defining input method information.
Alternatively, it is described to judge read whether the file fails and/or the registry information whether there is Abnormal step includes:
Whether newly font information is increased in checking the registry information;If so, determine the registry information Exist abnormal.
Alternatively, the backup for reading the file and/or the exception to registry information presence are entered The step of row amendment, includes:
Extract the newly-increased corresponding font mount message of font information.
According to a further aspect in the invention, there is provided a kind of generating means of installation kit of mourning in silence, including:
Difference test module, be adapted to detect for using before the mounting with installation after file difference information and Registration table different information;
File read module, is suitable to read the corresponding file of the file difference information;
Registration table read module, is suitable to read the corresponding registry information of the registration table different information;
Monitoring module is read, is suitable to judge read whether the file fails and/or the registry information is It is no to there is exception;If so, then call reading adjusting module;
Adjusting module is read, is suitable to what is read the backup of the file and/or the registry information is present Exception is modified;
Packetization module, is suitable to generate installation kit of mourning in silence according to the file for reading and the registry information of reading.
Alternatively, the reading adjusting module is further adapted for:
Volume shadow file is generated to the disk space residing for the file;
The backup of the file is read from the volume shadow file.
Alternatively, the reading monitoring module is further adapted for:
Whether there is short filename in checking the registry information;If so, determine the registry information Exist abnormal.
Alternatively, the reading adjusting module is further adapted for:
Obtain the corresponding normative document name of the short filename;
The short filename is replaced with into the normative document name.
Alternatively, the reading monitoring module is further adapted for:
Whether newly input method information is increased in checking the registry information;If so, determine the registration table letter Breath exists abnormal.
Alternatively, the reading adjusting module is further adapted for:
Newly-increased input method information is replaced with into self-defining input method information.
Alternatively, the reading monitoring module is further adapted for:
Whether newly font information is increased in checking the registry information;If so, determine the registry information Exist abnormal.
Alternatively, the reading adjusting module is further adapted for:
Extract the newly-increased corresponding font mount message of font information.
The embodiment of the present invention reads the backup of file when file failure is read, and exists in registry information When abnormal, registration table is modified, installation kit of mourning in silence is generated using correct file, registry information, Reduce application after mounting and be not normally functioning or cause the problem of system errors, improve Mourn in silence the success rate of installation, reduce the waste of system resource.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the skill of the present invention Art means, and being practiced according to the content of specification, and in order to allow, the present invention's is above and other Objects, features and advantages can become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of the drawings
By the detailed description for reading hereafter preferred embodiment, various other advantages and benefit are for this Field those of ordinary skill will be clear from understanding.Accompanying drawing is only used for the purpose for illustrating preferred embodiment, And it is not considered as limitation of the present invention.And in whole accompanying drawing, be denoted by the same reference numerals Identical part.In the accompanying drawings:
Fig. 1 shows a kind of generation method embodiment of installation kit of mourning in silence according to an embodiment of the invention The step of flow chart;And
Fig. 2 shows a kind of generating means embodiment of installation kit of mourning in silence according to an embodiment of the invention Structured flowchart.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing in accompanying drawing The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and not Should be limited by embodiments set forth here.On the contrary, there is provided these embodiments are able to more thoroughly Understand the disclosure, and the scope of the present disclosure complete can be conveyed to those skilled in the art.
With reference to Fig. 1, a kind of generation method of installation kit of mourning in silence according to an embodiment of the invention is shown The step of embodiment flow chart, specifically may include steps of:
Step 101, detection application before the mounting with installation after file difference information and register difference Different information;
The embodiment of the present invention can be applied in Windows operating system, it is also possible to applied in other operations In system, such as IOS, Android (Android) etc., the embodiment of the present invention is not any limitation as to this.
It is developed and runs on operating system using refers to complete one or more function Computer program, for example, for communicated immediately immediate communication tool, for sending and receiving e-mail E-mail address, for browsing browser of webpage etc..
In the middle of using installation process, typically can file, registration table in system be carried out increasing, be changed, The operation such as deletion.
File difference information, can refer in this installation process, the increase, modification, deletion in system The information of file.
Registration table different information, can refer in this installation process, the increase, modification, deletion in system Registration table information.
Step 102, reads the corresponding file of the file difference information;
Under normal circumstances, file can have routing information, can read file difference letter by routing information Cease corresponding file.
Step 103, reads the corresponding registry information of the registration table different information;
Under normal circumstances, registration table has the information such as key name, key assignments, can by information such as key name, key assignments To read the corresponding registry information of registration table different information.
Step 104, judges read whether the file fails and/or the registry information is with the presence or absence of different Often;If so, then execution step 105;
It is very corresponding with when mounted, the files such as dynamic operation storehouse are installed in system directory, due to The security Stringency of the operating systems such as Windows Vista, Windows 7 is higher, such as The dynamic operation such as DotNetFramework storehouse can not normally be opened file and be replicated, and read system directory Under file failure.
The installation kit of mourning in silence for generating in this case, has lacked file, causes component to be lost, using fortune Row failure.
Additionally, application is when mounted, registration table is modified, is likely to result in exception, generally includes as follows One or more:
1st, short filename;
With the passing of time some time-honored applications, there may exist succession due to quick easy-to-use prevalence among them Old system is accustomed to the custom of short filename mark component in registration table itself.
If generating installation kit of mourning in silence using short filename, when target machine is installed installation kit of mourning in silence and is reduced, Unpredictable other files may be pointed to, is caused using operation failure.
In this kind of situation, during registry information can be checked, whether there is short filename;If so, determine Registry information exists abnormal.
Specifically, for the string value of registration table crawl, it can be determined that wherein whether there is short filename mark Know symbol, such as "~", if having short filename identifier, exist in can determine registry information short , if no short filename identifier, in can determine registry information, there is no short essay part in filename Name.
2nd, input method;
Such as Office office applications, independent input method application, can install new input method mostly,
Installed due to the input method of the operating systems such as Windows and be sequentially recorded in registration table, for depositing Installation kit of mourning in silence is packaged as in the application crawl for installing new input method, the input method in target machine is installed to The position of original other input method options on target machine can be occupied.
Directly registration table content reduction meeting coverage goal machine has input method registry information, it is possible to On destruction installation targets machine, original input method registration table configuration, causes input method run-time error.
In this kind of situation, during registry information can be checked, whether input method information is increased newly;If so, it is true Determine registry information and there is exception.
Specifically, registration table path can be passed through:
HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Keyb oard Layouts
The new key of middle increase determines whether to be mounted with new input method.
3rd, font;
For the application crawl that there is the font for installing new is packaged as installation kit of mourning in silence, target machine is installed to Middle correspondence font can not be checked in the application or other application immediately, be used, and need to restart life Effect is used.
In this kind of situation, during registry information can be checked, whether font information is increased newly;If so, determine Registry information exists abnormal.
Specifically, can determine whether to increase corresponding font file in the font folder of system, Registration table path can also be passed through:
HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Fonts
Newly-increased value is obtained, the font of increase can be represented.
Certainly, the abnormal judgment mode of above-mentioned registration table is intended only as example, is implementing the embodiment of the present invention When, the abnormal judgment mode of other registration tablies can be set according to actual conditions, the embodiment of the present invention is to this It is not any limitation as.In addition, in addition to the abnormal judgment mode of above-mentioned registration table, those skilled in the art are also Can according to actual needs using the abnormal judgment mode of other registration tablies, the embodiment of the present invention to this not yet It is any limitation as.
Step 105, reads the backup of the file and/or the exception that the registry information is present is carried out Amendment;
Set due to having some and operating system to install in the file and registration table of the operating systems such as Windows The related path of fixed, user, environmental variance, so needing detection simultaneously to these related paths during crawl Process, it is ensured that adapt to path according to the running environment on former machine during installation and can just be transferred to other target machines Install and use on device, accurately can reduce registration table and file change by reasonable geo-statistic.
The situation of failure is read for file, volume shadow copy service (Volume Shadow can be passed through Copy Service) volume shadow file is generated to the disk space residing for file, text is read from volume shadow file The backup of part.
Backup file due to using volume shadow copy service, is the state not being currently in use, so can be multiple System carrys out most of file, it is ensured that file reads successfully.
Using this mode, dynamic library file applies loss group when will not be in packet capturing into system directory etc. Part, it is ensured that application runs successfully.
Additionally, for the abnormal situation of registration table, commonly used following one or more mode is modified:
1st, short filename;
In this kind of correcting mode, the corresponding normative document name of short filename can be obtained, by short filename Replace with the normative document name.
In actual applications, filename can be split, for example, character can guide expression one Section pathname, character " " can cause stretch footpath title, space character cause stretch footpath name Claim, character!Stretch footpath title, etc. can be caused.
For the character string of the possibly pathname being sliced into, WindowsAPI can be passed through GetFileAttribute judges that the pathname whether there is, if it is present can use WindowsAPI GetLongPathName obtain the pathname of standard and are replaced, and finally obtain standard Filename.
Using this mode, the application for preserving module information using short filename in registration table will not be in peace Dress Times loses component.
2nd, input method;
In this kind of correcting mode, the input method information increased in filtering former registration table, by newly-increased input Method information replaces with self-defining input method information, switchs to be operated with the parameter call when silence packets are installed System input method installation method.
In implementing, Ke Yicong:
HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Keyb oard Layouts
In newly-increased key extract Ime File, Layout Text, Layout File, Layout Display Name, The content of the character string key assignments such as Layout Id, System IME File, System, the name of these newly-increased keys The actual conditions for installing machine according to target are claimed to calculate.
In embodiments of the present invention, can be pacified with conversed analysis Windows component ImmInstallIME functions Dress input method implementation method, installs input method by the ImmInstallIME functions of self-defined version and causes The correct installation of input method and the setting content accurate reproduction of above-mentioned character string key assignments.
Using this mode, there is the application for installing input method, will not destroy former on target machine when mounted Some input method lists, and newly-increased input method is immediately available without the need for additionally restarting machine.
3rd, font;
Using this mode, the newly-increased corresponding font mount message of font information is extracted, installed in silence packets When font is installed with the parameter call system function.
If registration table:
HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Fonts
The title of value is the display Name of font, it is assumed that save as FontName, and the content of value is The font file title of font, it is assumed that save as FontFile.
WindowsAPI AddFontResource (FontFile) are called when mounted,
Again by PostMessage (HWND_BROADCAST, WM_FONTCHANGE, 0,0);Send out Message informing other windows, you can immediately using the new clothes font.
Using this mode, by the application for making presence install font, what is come into force when silence packets are installed is right Font is answered, without the need for additionally restarting machine.
Certainly, the abnormal correcting mode of above-mentioned registration table is intended only as example, is implementing the embodiment of the present invention When, the abnormal correcting mode of other registration tablies can be set according to actual conditions, the embodiment of the present invention is to this It is not any limitation as.In addition, in addition to the abnormal correcting mode of above-mentioned registration table, those skilled in the art are also Can according to actual needs using the abnormal correcting mode of other registration tablies, the embodiment of the present invention to this not yet It is any limitation as.
Step 106, generates installation kit of mourning in silence according to the file for reading and the registry information of reading.
In embodiments of the present invention, the file of reading, it may be possible to the file that normally reads, or The backup of the file read when abnormal;The registry information of Du's channel, it may be possible to the note for normally reading The registry information corrected when volume table information, or exception.
The embodiment of the present invention reads the backup of file when file failure is read, and exists in registry information When abnormal, registration table is modified, installation kit of mourning in silence is generated using correct file, registry information, Reduce application after mounting and be not normally functioning or cause the problem of system errors, improve Mourn in silence the success rate of installation, reduce the waste of system resource.
For embodiment of the method, in order to be briefly described, therefore which is all expressed as a series of combination of actions, But those skilled in the art should know, the embodiment of the present invention is not limited by described sequence of movement System, because according to the embodiment of the present invention, some steps can adopt other orders or while carry out.Its Secondary, those skilled in the art should also know, embodiment described in this description belongs to be preferable to carry out Example, necessary to the involved action not necessarily embodiment of the present invention.
With reference to Fig. 2, a kind of generating means of installation kit of mourning in silence according to an embodiment of the invention are shown The structured flowchart of embodiment, specifically can include such as lower module:
Difference test module 201, is adapted to detect for applying and is believed with the file difference after installation before the mounting Breath and registration table different information;
File read module 202, is suitable to read the corresponding file of the file difference information;
Registration table read module 203, is suitable to read the corresponding registry information of the registration table different information;
Monitoring module 204 is read, is suitable to judge to read whether the file fails and/or registration table letter Breath is with the presence or absence of abnormal;If so, then call reading adjusting module 205;
Adjusting module 205 is read, is suitable to read the backup of the file and/or the registry information is deposited Exception be modified;
Packetization module 206, is suitable to generate installation of mourning in silence according to the file for reading and the registry information of reading Bag.
In an alternate embodiment of the present invention where, the reading adjusting module 205 can be adapted to:
Volume shadow file is generated to the disk space residing for the file;
The backup of the file is read from the volume shadow file.
In an alternate embodiment of the present invention where, the reading monitoring module 204 can be adapted to:
Whether there is short filename in checking the registry information;If so, determine the registry information Exist abnormal.
In an alternate embodiment of the present invention where, the reading adjusting module 205 can be adapted to:
Obtain the corresponding normative document name of the short filename;
The short filename is replaced with into the normative document name.
In an alternate embodiment of the present invention where, the reading monitoring module 204 can be adapted to:
Whether newly input method information is increased in checking the registry information;If so, determine the registration table letter Breath exists abnormal.
In an alternate embodiment of the present invention where, the reading adjusting module 205 can be adapted to:
Newly-increased input method information is replaced with into self-defining input method information.
In an alternate embodiment of the present invention where, the reading monitoring module 204 can be adapted to:
Whether newly font information is increased in checking the registry information;If so, determine the registry information Exist abnormal.
In an alternate embodiment of the present invention where, the reading adjusting module 205 can be adapted to:
Extract the newly-increased corresponding font mount message of font information.
For device embodiment, due to itself and embodiment of the method basic simlarity, so the comparison of description Simply, related part is illustrated referring to the part of embodiment of the method.
Algorithm and display are solid with any certain computer, virtual system or miscellaneous equipment provided herein There is correlation.Various general-purpose systems can also be used together based on teaching in this.As described above, It is obvious to construct the structure required by this kind of system.Additionally, the present invention be also not for it is any specific Programming language.It is understood that, it is possible to use various programming languages realize the content of invention described herein, And the description done to language-specific above is for the preferred forms for disclosing the present invention.
In specification mentioned herein, a large amount of details are illustrated.It is to be appreciated, however, that this Inventive embodiment can be put into practice in the case where not having these details.In some instances, not Known method, structure and technology are shown specifically, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand in each inventive aspect Or it is multiple, above to, in the description of the exemplary embodiment of the present invention, each feature of the present invention is sometimes It is grouped together in single embodiment, figure or descriptions thereof.However, should not be by the disclosure Method be construed to reflect following intention:I.e. the present invention for required protection requires ratio in each claim The more features of middle feature be expressly recited.More precisely, as the following claims reflect As, inventive aspect is less than all features of single embodiment disclosed above.Therefore, it then follows Thus claims of specific embodiment are expressly incorporated in the specific embodiment, wherein each right Separate embodiments of the requirement all as the present invention itself.
Those skilled in the art are appreciated that can be carried out to the module in the equipment in embodiment certainly Adaptively change and they are arranged in one or more different from embodiment equipment.Can be with Module or unit or component in embodiment is combined into a module or unit or component, and in addition may be used To be divided into multiple submodule or subelement or sub-component.Except such feature and/or process or Outside at least some in unit is excluded each other, (companion can be included to this specification using any combinations With claim, summary and accompanying drawing) disclosed in all features and so disclosed any method or All processes of person's equipment or unit are combined.Unless expressly stated otherwise, this specification (includes companion With claim, summary and accompanying drawing) disclosed in each feature can it is identical by offers, be equal to or phase Replace like the alternative features of purpose.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include which Some included features rather than further feature in its embodiment, but the group of the feature of different embodiments Conjunction means to be within the scope of the present invention and formed different embodiments.For example, in following power In sharp claim, embodiment required for protection one of arbitrarily can in any combination mode making With.
The present invention all parts embodiment can be realized with hardware, or with one or more process The software module run on device is realized, or is realized with combinations thereof.Those skilled in the art should Understand, basis can be realized using microprocessor or digital signal processor (DSP) in practice Some or all parts in the generation equipment of the installation kit of mourning in silence of the embodiment of the present invention some or Repertoire.The present invention is also implemented as performing a part for method as described herein or complete The equipment or program of device (for example, computer program and computer program) in portion.Such reality The program of the existing present invention can be stored on a computer-readable medium, or can have one or more The form of signal.Such signal can be downloaded from internet website and be obtained, or on carrier signal There is provided, or provided with any other form.
It should be noted that above-described embodiment the present invention will be described rather than limits the invention, And those skilled in the art can design replacement without departing from the scope of the appended claims Embodiment.In the claims, any reference symbol between bracket should not be configured to right The restriction of requirement.Word "comprising" does not exclude the presence of element not listed in the claims or step.Position Word "a" or "an" before element does not exclude the presence of multiple such elements.The present invention can Realize with by means of the hardware for including some different elements and by means of properly programmed computer. If in the unit claim for listing equipment for drying, several in these devices can be by same Individual hardware branch is embodying.The use of word first, second, and third does not indicate that any order. These words can be construed to title.
The embodiment of the invention discloses A1, a kind of generation method of installation kit of mourning in silence, including:
Detection application before the mounting with installation after file difference information and registration table different information;
Read the corresponding file of the file difference information;
Read the corresponding registry information of the registration table different information;
Judge read whether the file fails and/or the registry information is with the presence or absence of abnormal;If so, Then read the backup of the file and/or the exception that the registry information is present is modified;
Installation kit of mourning in silence is generated according to the file for reading and the registry information of reading.
A2, the method as described in A1, the backup of the reading file and/or believe to the registration table The step of exception that breath is present is modified includes:
Volume shadow file is generated to the disk space residing for the file;
The backup of the file is read from the volume shadow file.
A3, the method as described in A1 or A2, it is described to judge to read whether the file fails and/or institute Stating registry information includes with the presence or absence of abnormal step:
Whether there is short filename in checking the registry information;If so, determine the registry information Exist abnormal.
A4, the method as described in A3, the backup of the reading file and/or believe to the registration table The step of exception that breath is present is modified includes:
Obtain the corresponding normative document name of the short filename;
The short filename is replaced with into the normative document name.
A5, the method as described in A1 or A2 or A4, it is described to judge to read whether the file fails And/or the registry information includes with the presence or absence of abnormal step:
Whether newly input method information is increased in checking the registry information;If so, determine the registration table letter Breath exists abnormal.
A6, the method as described in A5, the backup of the reading file and/or believe to the registration table The step of exception that breath is present is modified includes:
Newly-increased input method information is replaced with into self-defining input method information.
A7, the method as described in A1 or A2 or A4 or A6, it is described to judge whether read the file Failure and/or the registry information include with the presence or absence of abnormal step:
Whether newly font information is increased in checking the registry information;If so, determine the registry information Exist abnormal.
A8, the method as described in A7, the backup of the reading file and/or believe to the registration table The step of exception that breath is present is modified includes:
Extract the newly-increased corresponding font mount message of font information.
The embodiment of the invention also discloses B9, a kind of generating means of installation kit of mourning in silence, including:
Difference test module, be adapted to detect for using before the mounting with installation after file difference information and Registration table different information;
File read module, is suitable to read the corresponding file of the file difference information;
Registration table read module, is suitable to read the corresponding registry information of the registration table different information;
Monitoring module is read, is suitable to judge read whether the file fails and/or the registry information is It is no to there is exception;If so, then call reading adjusting module;
Adjusting module is read, is suitable to what is read the backup of the file and/or the registry information is present Exception is modified;
Packetization module, is suitable to generate installation kit of mourning in silence according to the file for reading and the registry information of reading.
B10, the device as described in B9, the reading adjusting module are further adapted for:
Volume shadow file is generated to the disk space residing for the file;
The backup of the file is read from the volume shadow file.
B11, the device as described in B9 or B10, the reading monitoring module are further adapted for:
Whether there is short filename in checking the registry information;If so, determine the registry information Exist abnormal.
B12, the device as described in B11, the reading adjusting module are further adapted for:
Obtain the corresponding normative document name of the short filename;
The short filename is replaced with into the normative document name.
B13, the device as described in B9 or B10 or B12, the reading monitoring module are further adapted for:
Whether newly input method information is increased in checking the registry information;If so, determine the registration table letter Breath exists abnormal.
B14, the device as described in B13, the reading adjusting module are further adapted for:
Newly-increased input method information is replaced with into self-defining input method information.
B15, the device as described in B9 or B10 or B12 or B14, the reading monitoring module are also fitted In:
Whether newly font information is increased in checking the registry information;If so, determine the registry information Exist abnormal.
B16, the device as described in B15, the reading adjusting module are further adapted for:
Extract the newly-increased corresponding font mount message of font information.

Claims (10)

1. a kind of generation method of installation kit of mourning in silence, including:
Detection application before the mounting with installation after file difference information and registration table different information;
Read the corresponding file of the file difference information;
Read the corresponding registry information of the registration table different information;
Judge read whether the file fails and/or the registry information is with the presence or absence of abnormal;If so, Then read the backup of the file and/or the exception that the registry information is present is modified;
Installation kit of mourning in silence is generated according to the file for reading and the registry information of reading.
2. the method for claim 1, it is characterised in that the backup of the reading file And/or to the registry information exist exception be modified the step of include:
Volume shadow file is generated to the disk space residing for the file;
The backup of the file is read from the volume shadow file.
3. method as claimed in claim 1 or 2, it is characterised in that the text is read in the judgement Whether part fails and/or the registry information includes with the presence or absence of abnormal step:
Whether there is short filename in checking the registry information;If so, determine the registry information Exist abnormal.
4. method as claimed in claim 3, it is characterised in that the backup of the reading file And/or to the registry information exist exception be modified the step of include:
Obtain the corresponding normative document name of the short filename;
The short filename is replaced with into the normative document name.
5. the method as described in claim 1 or 2 or 4, it is characterised in that institute is read in the judgement State whether file fails and/or the registry information includes with the presence or absence of abnormal step:
Whether newly input method information is increased in checking the registry information;If so, determine the registration table letter Breath exists abnormal.
6. method as claimed in claim 5, it is characterised in that the backup of the reading file And/or to the registry information exist exception be modified the step of include:
Newly-increased input method information is replaced with into self-defining input method information.
7. the method as described in claim 1 or 2 or 4 or 6, it is characterised in that the judgement is read Take whether the file fails and/or the registry information includes with the presence or absence of abnormal step:
Whether newly font information is increased in checking the registry information;If so, determine the registry information Exist abnormal.
8. method as claimed in claim 7, it is characterised in that the backup of the reading file And/or to the registry information exist exception be modified the step of include:
Extract the newly-increased corresponding font mount message of font information.
9. a kind of generating means of installation kit of mourning in silence, including:
Difference test module, be adapted to detect for using before the mounting with installation after file difference information and Registration table different information;
File read module, is suitable to read the corresponding file of the file difference information;
Registration table read module, is suitable to read the corresponding registry information of the registration table different information;
Monitoring module is read, is suitable to judge read whether the file fails and/or the registry information is It is no to there is exception;If so, then call reading adjusting module;
Adjusting module is read, is suitable to what is read the backup of the file and/or the registry information is present Exception is modified;
Packetization module, is suitable to generate installation kit of mourning in silence according to the file for reading and the registry information of reading.
10. device as claimed in claim 9, it is characterised in that the reading adjusting module is further adapted for:
Volume shadow file is generated to the disk space residing for the file;
The backup of the file is read from the volume shadow file.
CN201510642673.1A 2015-09-30 2015-09-30 Method and device for generating silent installation package Active CN106557379B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510642673.1A CN106557379B (en) 2015-09-30 2015-09-30 Method and device for generating silent installation package

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510642673.1A CN106557379B (en) 2015-09-30 2015-09-30 Method and device for generating silent installation package

Publications (2)

Publication Number Publication Date
CN106557379A true CN106557379A (en) 2017-04-05
CN106557379B CN106557379B (en) 2021-05-18

Family

ID=58417627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510642673.1A Active CN106557379B (en) 2015-09-30 2015-09-30 Method and device for generating silent installation package

Country Status (1)

Country Link
CN (1) CN106557379B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108958826A (en) * 2017-05-22 2018-12-07 北京京东尚科信息技术有限公司 The method and apparatus of dynamic configuration application installation package
CN111008025A (en) * 2019-12-06 2020-04-14 北大方正集团有限公司 Font silent installation method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050097547A1 (en) * 2003-10-30 2005-05-05 International Business Machines Corporation Autonomic auto-configuration using prior installation configuration relationships
CN101866296A (en) * 2010-06-30 2010-10-20 福建升腾资讯有限公司 Windows file system based installation package silencing method and tool
CN102402446A (en) * 2011-11-22 2012-04-04 成都市华为赛门铁克科技有限公司 Method and device for installing application software
CN103229144A (en) * 2010-12-01 2013-07-31 苹果公司 Pre-heated software installation
CN104346195A (en) * 2014-06-05 2015-02-11 腾讯科技(深圳)有限公司 Software installing method and system
CN104731626A (en) * 2015-03-31 2015-06-24 百度在线网络技术(北京)有限公司 Application installation method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050097547A1 (en) * 2003-10-30 2005-05-05 International Business Machines Corporation Autonomic auto-configuration using prior installation configuration relationships
CN101866296A (en) * 2010-06-30 2010-10-20 福建升腾资讯有限公司 Windows file system based installation package silencing method and tool
CN103229144A (en) * 2010-12-01 2013-07-31 苹果公司 Pre-heated software installation
CN102402446A (en) * 2011-11-22 2012-04-04 成都市华为赛门铁克科技有限公司 Method and device for installing application software
CN104346195A (en) * 2014-06-05 2015-02-11 腾讯科技(深圳)有限公司 Software installing method and system
CN104731626A (en) * 2015-03-31 2015-06-24 百度在线网络技术(北京)有限公司 Application installation method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108958826A (en) * 2017-05-22 2018-12-07 北京京东尚科信息技术有限公司 The method and apparatus of dynamic configuration application installation package
CN111008025A (en) * 2019-12-06 2020-04-14 北大方正集团有限公司 Font silent installation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN106557379B (en) 2021-05-18

Similar Documents

Publication Publication Date Title
CN105893094B (en) The implementation method and device of application plug
CN106775723B (en) Android platform-based system firmware customization method and Android device
US9602347B2 (en) Method, system and program for browser to switch IE kernel
KR100868762B1 (en) Method of error detecting method for embedded sofeware
CN104899016B (en) Allocating stack Relation acquisition method and device
US20080133216A1 (en) Foreign Language Translation Tool
CN109947637B (en) Automatic testing method, device, equipment and medium for webpage compatibility
CN105511911A (en) System firmware upgrade package generation method and device
CN104636172B (en) A kind of application upgrade method and apparatus
CN109800005B (en) Client hot update method and device
CN106095689A (en) The detection method of a kind of application memory leakage and device
CN106325953A (en) Weblogic cluster one-key automatic deployment method
CN111090433A (en) Data processing method, device and storage medium
CN104636157A (en) Software upgrading method based on data compatibility, client side, server and system
CN107133055B (en) Method for realizing customized development based on ClassLoader
CN107783776A (en) The processing method and processing device of firmware upgrade bag, electronic equipment
CN103019764B (en) The detection method of Andriod resource bag installability and system
JP2008191963A (en) Source code verification system, source code verification method and source code verification program
CN109344619A (en) The hot restorative procedure and device of application program
US20140082582A1 (en) Resource Tracker
CN111078637A (en) Script file online method and device, computer equipment and storage medium
JP2009104342A (en) Data flow analysis apparatus, data flow analysis method and data flow analyzing program
CN106557379A (en) A kind of generation method and device of installation kit of mourning in silence
CN106228065B (en) Method and device for positioning buffer overflow vulnerability
CN110990177B (en) Fault repairing method, device, system, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240102

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.