CN101354656A - Method and system for processing mounting package data - Google Patents
Method and system for processing mounting package data Download PDFInfo
- Publication number
- CN101354656A CN101354656A CNA2008101418813A CN200810141881A CN101354656A CN 101354656 A CN101354656 A CN 101354656A CN A2008101418813 A CNA2008101418813 A CN A2008101418813A CN 200810141881 A CN200810141881 A CN 200810141881A CN 101354656 A CN101354656 A CN 101354656A
- Authority
- CN
- China
- Prior art keywords
- inifile
- installation kit
- file
- record data
- program
- 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
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention which relates to the technical field of data processing provides an installation package data processing method and a system thereof. The method comprises the following steps of generating an IniFile table which comprises at least one item of log data and records the content data which configures an installation package file where the the IniFile table is positioned; creating a program which is interrelated with the IniFile table, reads the log data in the IniFile table and configures the installation package file where the IniFile table is positioned according to the log data; and adding the program to the installation package file where the IniFile table is positioned. According to the invention, the IniFile table and the program interrelated with the IniFile table are added. When the installation is completed, the program controls and reads the log data in the IniFile table, configures the installation package file where the IniFile table is positioned, and sends the configured installation package file to users, thereby facilitating the utilization of users, and simplifying the installation configuration operation.
Description
Technical field
The invention belongs to technical field of data processing, relate in particular to a kind of installation kit data processing method and system.
Background technology
The software installation kit of MSI (Microsoft Windows Software Installer) form is that Windows goes up widely used software field engineering, and most of softwares all use the packing of MSI technology.
But, the software parameter of software installation kit disposes or does not have, or fixing, hinder enterprise customer's large scale deployment, for example, the a lot of configurations of software after installation are blank, the License Serial Number that needs user's hand filling software, and dispose a plurality of parameters (server ip address of connection, the function of company's regulation etc.), if an enterprises need be installed this software on thousands of computing machines, then need each employee all will do same configuration operation by hand, cause the increase of management difficulty, also increase the risk of makeing mistakes, influenced enterprise's normal operation.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of installation kit data processing method, is intended to solve in the prior art when install software, needs the problem of each user's manual configuration running software parameter.
The embodiment of the invention is achieved in that a kind of installation kit data processing method, and described method comprises the steps:
Generation comprises the IniFile table of at least one record data, and described IniFile table record disposes the content-data of the installation kit file at described IniFile table place;
Create and the related program of described IniFile epiphase, the record data of described IniFile table are read in described programmed control, and dispose the installation kit file at described IniFile table place according to described record data;
Described program is added to the installation kit file at described IniFile table place.
Another purpose of the embodiment of the invention is to provide a kind of installation kit data handling system, and described system comprises:
Generation module is used to generate the IniFile table that comprises at least one record data, and described IniFile table record disposes the content-data of the installation kit file at described IniFile table place;
The program creation module is used to create and the related program of described IniFile epiphase, and the record data of described IniFile table are read in described programmed control, and disposes the installation kit file at described IniFile table place according to described record data; And
Add module, be used for described program is added to the installation kit file at described IniFile table place.
In embodiments of the present invention, increase IniFile table and the program related at the installation kit database with this epiphase, when installation, the record data of this IniFile table are read in this programmed control, the installation kit file at configuration IniFile table place, give each user with the installation kit file distributing that this configuration is finished, make things convenient for each user to use, simplify configuration operation is installed.
Description of drawings
Fig. 1 is the installation kit data processing method process flow diagram that the embodiment of the invention provides;
Fig. 2 is the structural representation of the IniFile table in the database that provides of the embodiment of the invention;
Fig. 3 is the installation kit data handling system block diagram that the embodiment of the invention provides.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Fig. 1 shows the installation kit data processing method realization flow that the embodiment of the invention provides, and its detailed step is as follows:
In step S101, the interface Windows API (Application Programming Interface) that offers application programming by Windows operating system opens original (MicrosoftInstaller, MSI) software installation kit.
In step S102, search the database file of this software installation kit.
In step S103, in database, create IniFile table, wherein, this IniFile table comprises at least one record data.
In embodiments of the present invention, installation kit exists with the form of database, increases by a table in this database, and wherein this table name is IniFile, the content-data of the installation kit file at this IniFile table record configuration IniFile table place does not then need to create when this table exists again.Add suitable record in the corresponding field that this IniFile shows, the IniFile table behind then that interpolation is the suitable record is saved in database, after the user is installing this installation kit end, generates the configuration file of an ini form.
In embodiments of the present invention, the field attribute of IniFile table comprise table name (IniFile), the pairing key assignments of key (Value) of the key (Key) of the catalogue (DirProperty) at the filename (FileName) of the ini formatted file that generates, the ini formatted file place that generates, the ini formatted file that generates or the ini formatted file that generates.
In step S104, the IniFile table is saved in database.
In step S105, create the program related with the IniFile epiphase, wherein, the record data of IniFile table are read in this programmed control, and show the installation kit file at place according to record data configuration IniFile.
In step S106, program is added to the installation kit file at IniFile table place.
In embodiments of the present invention, when this software installation kit installation, the record data of this IniFile table are read in the programmed control of this interpolation, the operational factor of the installation kit file at configuration IniFile table place, the installation kit file distributing that this configuration is finished is given each user then, make things convenient for each user to use, simplify configuration operation is installed
As a specific embodiment of the present invention, be called the original MSI software installation kit of Setup.msi by the Windows API name that opens file, in this installation kit, find database, in database, create a table that is called IniFile, as shown in Figure 2, if this table exists in database, then do not need to create, directly in this IniFile table, add at least one record data, and the table that adds behind the record data is kept in the Setup.msi file, write one section program Run.exe then, this program is used to control the record data that read the IniFile table, and, program Run.exe is added in the Setup.msi file according to the installation kit file that record data configuration IniFile shows the place; When user installation had been added the file of IniFile table and program Run.exe, program Run.exe started automatically, reads the ini formatted file that configures, and revises the running environment of software.
Fig. 3 shows the installation kit data handling system block diagram that the embodiment of the invention provides, and for convenience of explanation, has only provided the part relevant with the embodiment of the invention among the figure.
In embodiments of the present invention, database file is searched the database file that module 111 is searched installation kit; Table creation module 112 is created one and is comprised that the IniFile of at least one record data shows; Preserve module 113 the IniFile table is saved in described database.
In embodiments of the present invention, increase IniFile table and the program related at the installation kit database with this epiphase, when installation, the record data of this IniFile table are read in this programmed control, the installation kit file at configuration IniFile table place, give each user with the installation kit file distributing that this configuration is finished, make things convenient for each user to use, simplify configuration operation is installed.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be in being stored in a computer read/write memory medium, described storage medium is as ROM/RAM, disk, CD etc.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (6)
1, a kind of installation kit data processing method is characterized in that, described method comprises the steps:
Generation comprises the IniFile table of at least one record data, and described IniFile table record disposes the content-data of the installation kit file at described IniFile table place;
Create and the related program of described IniFile epiphase, the record data of described IniFile table are read in described programmed control, and dispose the installation kit file at described IniFile table place according to described record data;
Described program is added to the installation kit file at described IniFile table place.
2, the method for claim 1 is characterized in that, described generation comprises that the step of the IniFile table of at least one record data specifically comprises the steps:
Search the database of installation kit;
Create one and comprise that the IniFile of at least one record data shows;
Described IniFile table is saved in described database.
3, method as claimed in claim 1 or 2 is characterized in that, the field attribute of described IniFile table comprises table name, filename, catalogue, key or key assignments.
4, a kind of installation kit data handling system is characterized in that, described system comprises:
Generation module is used to generate the IniFile table that comprises at least one record data, and described IniFile table record disposes the content-data of the installation kit file at described IniFile table place;
The program creation module is used to create and the related program of described IniFile epiphase, and the record data of described IniFile table are read in described programmed control, and disposes the installation kit file at described IniFile table place according to described record data; And
Add module, be used for described program is added to the installation kit file at described IniFile table place.
5, system as claimed in claim 4 is characterized in that, described generation module specifically comprises:
Database file is searched module, is used to search the database file of installation kit;
The table creation module is used to create one and comprises that the IniFile of at least one record data shows; And
Preserve module, be used for described IniFile table is saved in described database.
As claim 4 or 5 described systems, it is characterized in that 6, the field attribute of described IniFile table comprises table name, filename, catalogue, key or key assignments.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101418813A CN101354656B (en) | 2008-09-12 | 2008-09-12 | Method and system for processing mounting package data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101418813A CN101354656B (en) | 2008-09-12 | 2008-09-12 | Method and system for processing mounting package data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101354656A true CN101354656A (en) | 2009-01-28 |
CN101354656B CN101354656B (en) | 2010-10-13 |
Family
ID=40307475
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008101418813A Active CN101354656B (en) | 2008-09-12 | 2008-09-12 | Method and system for processing mounting package data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101354656B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102508895A (en) * | 2011-11-02 | 2012-06-20 | 深圳市华力特电气股份有限公司 | Method and device for reading INI files |
CN106599017A (en) * | 2016-10-20 | 2017-04-26 | 广州优视网络科技有限公司 | Method and device for scanning and resolving installation packages, and mobile terminal |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1208719C (en) * | 2002-09-27 | 2005-06-29 | 联想(北京)有限公司 | Application software automatic installing and automatic restoring method |
CN1272708C (en) * | 2003-09-22 | 2006-08-30 | 联想(北京)有限公司 | Custom method of embedded appliance applied software |
US20050091259A1 (en) * | 2003-10-24 | 2005-04-28 | Microsoft Corporation Redmond Wa. | Framework to build, deploy, service, and manage customizable and configurable re-usable applications |
CN100361079C (en) * | 2005-11-09 | 2008-01-09 | 浪潮电子信息产业股份有限公司 | Method for testing synchronous automatic installation for system including multiple complete computers |
-
2008
- 2008-09-12 CN CN2008101418813A patent/CN101354656B/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102508895A (en) * | 2011-11-02 | 2012-06-20 | 深圳市华力特电气股份有限公司 | Method and device for reading INI files |
CN106599017A (en) * | 2016-10-20 | 2017-04-26 | 广州优视网络科技有限公司 | Method and device for scanning and resolving installation packages, and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN101354656B (en) | 2010-10-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10761824B2 (en) | Script generation engine and mapping semantic models for target platform | |
US8121994B2 (en) | Partially embedded database and an embedded database manager for a control system | |
CN100547551C (en) | Use the method and system of general WindowsPE in the dissimilar operating systems | |
US6223345B1 (en) | System and method for building client and server application packages | |
CN100399268C (en) | Computer system not relying on operation system renewing software data and method | |
CN101258497A (en) | A method for centralized policy based disk-space preallocation in a distributed file system | |
CN104793946A (en) | Application deployment method and system based on cloud computing platform | |
CN102124436A (en) | Dynamic file system restriction for portable storage devices | |
CN103019791A (en) | Software deploying method and system | |
CN102436473A (en) | Menu management device and menu management method | |
CN102355499B (en) | Cloud computing system | |
CN101960442B (en) | Method and apparatus for inputting/outputting data using virtualization technique | |
CN103593456A (en) | Form user-defined design method and device | |
CN104572202A (en) | Method for allocating enterprise-level application software under cloud computing | |
US20020091705A1 (en) | Object integrated management system | |
CN101645003A (en) | Method and device for software transplantation | |
CN115630835A (en) | Activity-based workflow general parameter configuration method and system | |
CN106406828A (en) | Method and apparatus for modifying business tool function of JAVA system | |
CN101354656B (en) | Method and system for processing mounting package data | |
US20110314471A1 (en) | Manufacturing Information Handling Systems | |
US5257376A (en) | Method and apparatus for configuring a control program nucleus with a minimum impact on system availabiltiy | |
US20060095405A1 (en) | Mirroring database statistics | |
US20040059706A1 (en) | System and method for providing concurrent usage and replacement of non-native language codes | |
US20090030913A1 (en) | Method and system for in-line processing of standardized text values | |
CN103389909A (en) | Rendering farm node virtualization deployment system and application thereof |
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 | ||
C56 | Change in the name or address of the patentee | ||
CP03 | Change of name, title or address |
Address after: 518000 No. 9, No. 1003 software building, hi tech center, Nanshan District hi tech District, Guangdong, Shenzhen Province, room 1001 Patentee after: Shenzhen United soft Polytron Technologies Inc Address before: Nanshan District Shenzhen City, Guangdong province 518054 Shennan Road No. 10128 Nanshan Software Park building 2108 Patentee before: Shenzhen Leagsoft Technology Co., Ltd. |