CN101354656B - Method and system for processing mounting package data - Google Patents

Method and system for processing mounting package data Download PDF

Info

Publication number
CN101354656B
CN101354656B CN2008101418813A CN200810141881A CN101354656B CN 101354656 B CN101354656 B CN 101354656B CN 2008101418813 A CN2008101418813 A CN 2008101418813A CN 200810141881 A CN200810141881 A CN 200810141881A CN 101354656 B CN101354656 B CN 101354656B
Authority
CN
China
Prior art keywords
inifile
installation kit
file
record data
generation
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.)
Active
Application number
CN2008101418813A
Other languages
Chinese (zh)
Other versions
CN101354656A (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.)
Shenzhen United soft Polytron Technologies Inc
Original Assignee
SHENZHEN LEAGSOFT TECHNOLOGY 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 SHENZHEN LEAGSOFT TECHNOLOGY Co Ltd filed Critical SHENZHEN LEAGSOFT TECHNOLOGY Co Ltd
Priority to CN2008101418813A priority Critical patent/CN101354656B/en
Publication of CN101354656A publication Critical patent/CN101354656A/en
Application granted granted Critical
Publication of CN101354656B publication Critical patent/CN101354656B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

A kind of installation kit data processing method and system
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, described IniFile table is saved in the database of the installation kit that finds in advance, described IniFile table record disposes the content-data of the installation kit file at described IniFile table place, and described record data are running software parameters;
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, and described record data are running software parameters;
Preserve module, be used for described IniFile table is saved in the database of the installation kit that finds in advance;
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.
Generation module 11 generates the IniFile table that comprises at least one record data, the content-data of the installation kit file at IniFile table record configuration IniFile table place; Program creation module 12 is created the program related with the IniFile epiphase, and wherein, the record data of IniFile table are read in this programmed control, and shows the installation kit file at place according to record data configuration IniFile; Add the installation kit file that module 13 is added program at IniFile table place.
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. an 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, described IniFile table is saved in the database that finds in advance, described IniFile table record disposes the content-data of the installation kit file at described IniFile table place, and described record data are running software parameters;
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.
3. method as claimed in claim 1 or 2, it is characterized in that the field attribute of described IniFile table comprises the pairing key assignments Value of key of the ini formatted file of the key Key of ini formatted file of catalogue DirProperty, generation at the ini formatted file place of the filename FileName of the ini formatted file of table name IniFile, generation, generation or generation.
4. an 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, and described record data are running software parameters;
Preserve module, be used for described IniFile table is saved in the database of the installation kit that finds in advance;
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; And
The table creation module is used to create one and comprises that the IniFile of at least one record data shows.
6. as claim 4 or 5 described systems, it is characterized in that the field attribute of described IniFile table comprises the pairing key assignments Value of key of the ini formatted file of the key Key of ini formatted file of catalogue DirProperty, generation at the ini formatted file place of the filename FileName of the ini formatted file of table name IniFile, generation, generation or generation.
CN2008101418813A 2008-09-12 2008-09-12 Method and system for processing mounting package data Active CN101354656B (en)

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 CN101354656A (en) 2009-01-28
CN101354656B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508895B (en) * 2011-11-02 2015-01-21 深圳市华力特电气股份有限公司 Method and device for reading INI files
CN106599017B (en) * 2016-10-20 2019-09-17 广州优视网络科技有限公司 Scanning analytic method, device and the mobile terminal of installation kit

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1485732A (en) * 2002-09-27 2004-03-31 联想(北京)有限公司 Application software automatic installing and automatic restoring method
CN1601467A (en) * 2003-09-22 2005-03-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
CN1760833A (en) * 2005-11-09 2006-04-19 浪潮电子信息产业股份有限公司 Method for testing synchronous automatic installation for system including multiple complete computers

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1485732A (en) * 2002-09-27 2004-03-31 联想(北京)有限公司 Application software automatic installing and automatic restoring method
CN1601467A (en) * 2003-09-22 2005-03-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
CN1760833A (en) * 2005-11-09 2006-04-19 浪潮电子信息产业股份有限公司 Method for testing synchronous automatic installation for system including multiple complete computers

Also Published As

Publication number Publication date
CN101354656A (en) 2009-01-28

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
CN102124436A (en) Dynamic file system restriction for portable storage devices
CN103019791A (en) Software deploying method and system
CN101960442B (en) Method and apparatus for inputting/outputting data using virtualization technique
CN103593456A (en) Form user-defined design method and device
CN102355499A (en) Cloud computing system
US20020091705A1 (en) Object integrated management system
CN104572202A (en) Method for allocating enterprise-level application software under cloud computing
US20040177355A1 (en) Build and install for software applications
US8838947B2 (en) Manufacturing information handling systems
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
US5257376A (en) Method and apparatus for configuring a control program nucleus with a minimum impact on system availabiltiy
CN103501341A (en) Method and device for establishing Web service
US8136087B2 (en) In-line processing of standardized text values
CN103106086A (en) Processing method of operation system and system
CN103389909A (en) Rendering farm node virtualization deployment system and application thereof
CN100454844C (en) Method of increment synchronization for multipoint restoring software environment of computer room
CN113076086A (en) Metadata management system and method for modeling model object using the same

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.