Packaged software uses

Source: Internet
Author: User

Originally for me on the program development and the process of the most important, after the completion of the development of packaging does not matter, choose a package software packaging software can, but through the past few years used a few sets of packaging software convenience, functionality, friendliness, defects, using a good package of software or to have a choice, A good software development is complete, why the last joint to make your software eclipse it?! In this, I use the packaging software experience of the objectivity of the description of a few packaging software is good or bad!

First I used the packaging software includes: Install shield, Advanced install,setupfactory; One of the install shield is used in the founder's time, the advanced install is a security company in Shenzhen used, setupfactory is I use now, Through the use of experience I use the order also shows me the advantages and disadvantages of packaging software good Quick view, although are foreign packaging software, personally think from the software in terms of setupfactory better than advanced install,advanced Install is also better than install Shield;

Install Shield is my initial use of the packaging software, founder colleagues have told me that the function is very powerful, support custom scripting, because the only use of this package software, I have always thought that the software is very good, very powerful, but I used to use but feel is the operation of complex, There are many operations do not know where to add, where to delete, of course, the basic configuration is satisfied, but to meet the custom action, it is difficult to write a script is not semi-automated, you need to deliberately learn the scripting language to successfully complete the custom operation.


The Advanced Install Packaging tool is a packaged software that I used after I finished the North drift, of course, it is related to my work experience, but also the packaging software used by colleagues, I found that the south of the favor of using the Advanced Install tool, may be the reason for the feeling, should not be related to the region. When I first used the tool, I suddenly felt that it was really good compared to the first tool, why? In fact, it should not be used for the basic operation of simple, but compared to the install Shield, he packaging software interface layout is simple and friendly, divided into left and right side, all the functions are listed from the left, while the Install Shield feature List nested deep, sometimes not easy to find, So from the point of view of use: direct and clear; the friendly interface has attracted me, of course, this guy also supports script addition, the only feeling is as difficult as the install shield, relatively speaking, the use of advanced install time longer, There are a lot of problems: the custom action is not working, the system compatibility is not good, to some customers there is the same system running the installation package, the previous saved configuration in the middle after adding a new file may not be configured, need a re-configuration, interface layout is not a problem, but not exactly according to the installation order to layout, I feel that there is always a lack of things, of course, there are many bugs, about the Windows service, about the batch operation, about the script, about multi-language, about the multi-package organization, and so on, in fact, after encountering so many problems, I have greatly reduced the impression of it, Have always wanted to change the view of a packaged software, but has not searched for better packaging software, so has been afraid to change.


Later, after the software development finished packaging, found a lot of questions about packaging software, testing a colleague suggested that I change to Setupfacotry, said the software is their company used before a very good software, I tried to install a piece, but because the change software is not familiar with the time is relatively tight, So no use, but as the project goes on, packaging the number of times once, each bug library can not avoid these packaging problems, and the system is too large, the components or package more, custom operation, so still decided to change packaging software, after a period of time to learn and ask, after the first package , and before the customer run the machine can not run the software will run, which makes me feel much better, it is really convenient to pack a lot. The pros are more obvious than the advanced install:

(1) Interface layout and advanced install, very friendly, but the left side of the typesetting sequence makes me feel very cool, is in accordance with the software installation sequence, so I want to change which step can quickly locate;

(2) The right side shows all the components used by the project, which can display all or show the components you want to see through the filter above, such as all, packaged, unpackaged, EXE or write your own filter, such a large project hundreds of can be unified management browsing, Can also quickly locate the operation of a component (such as shortcuts, properties, packages, etc.);

(3) The order of the files on the right is based on the order of the folders in which they are located, rather than the messy, why good? You can select all the components of a folder click Properties, all the components in the Change folder into a package, said the package is a major weakness of the advanced install, the Advanced install is in the "organization" function inside the need to create a new component package or call package, Then one to see the components dragged into the package, you think thousands of ah, actually do not support multi-select drag-In! A drag-and-drop, the biggest problem is the bug, adding a new component package to add a new component, it does not classify itself into a folder, it is necessary for users to remember to add those new components, and then one by one into the component package, otherwise, hem, the user chooses the component package to install to another component package, Just can't get up! This is the most disgusting thing, encountered not less than 10 times!!! And its operation must choose the "Current operating package", want to operate another package, you have to switch at any time or in many places to choose the components in the package is not displayed, ah, think I want to kill AH.

(4) Multi-lingual support is better than advanced install, the person with advanced install should support, support multi-language must modify the "translation" inside the language table, of course, this is normal, otherwise how to support multi-lingual it? But the problem comes, it has a lot of fields that can't be modified, crouching slots! TMD Chinese installation everywhere a Chinese character in English, who is affected? Setupfactory in place and even shortcuts are multiple sets of languages, advanced install also do not know where to support multiple sets of shortcut multi-language, nausea!

(5) The interface function is more direct and simple than the advanced install, it is easy to find the changes you need, even if you do not know, the menu or button can be found a little by pressing one click;

(6) Custom operation Gray often good, advanced install inside the difference is far, feel their programmer and setupfactory programmer is not a level, write out of things poor too much, I use the most custom action is file operations, registry, Windows Service, Bat batch, all of these operations have a semi-automatic script editing, I do not need to write a specific script, select the corresponding operation, determine the automatic generation of scripts, and support n operations, do not want to say, must give praise!! Compared to the advanced install is far away, there is a "custom operation" module, the layout is very bad, meaning module, the implementation of problems, has been error, garbage!!


Through the above personal views, I teach you to use setupfactory, my needs are:

(1) Installation: Path Selection-Package selection (Installation Component selection)-Finish-Create server-run batch

(2) Uninstall: Run batch-stop Delete service-delete Start Menu directory and folder

(3) Other: Packaging icon modified to customize, install style or style


First take a look at the packaging process:

Join my packaging project as follows (in order to let you see the specific structure and components, here to expose my platform name and organization):


I need to pack the files close to 5,000, divided into the diagram on the square circle out of the 7 package (package), that is, when installing the optional installation of these 7 components, including a Windows service (NVMS_ Service.exe) and two batch files, one is the batch that the installation finishes running, and one is the batch that needs to be executed before uninstalling.

(1) Open setupfactory, here I use the 7.0 cracked version, select the "Create New Project" Wizard, follow the wizard step by step to complete the basic packaging process can be


(2) Fill in the company, software name, company website, click Next


(3) Select the folder path of your packaged files and click Next



(4) Select the window style, we can default, select Next


(5) Select the theme style of the window, we can choose according to their favorite, click Next


(6) Select language Support, we select the Chinese language and English two, set the Chinese as the default, click Next


(7) Select the dependent technology VB version, we do not need to select, click Next to


(8) Select the supported operating system version, we select all by default, click Done, the basic amount of the project is set up automatically


(9) Final creation of the basic interface


(10) If the file is not complete, you need to add a file, in the left column, the first small column can edit the file first off properties, then we modify the version of the relevant information, select the second section of the settings--session settings, pop-up to the Small column tab of all configuration options and select the Session setting options table


Set the product name, product company, copyright, you can modify the default appfolder is the default application installation path and the default app shortcut path folder;

You can modify the background style and select the Background Presentation tab:

We tick the "Show background window" check box, more for their favorite color or direct use of stickers, you can do their own work to complete;

Change requirements:

Change the supported operating system, the support operating system is very rich, very powerful, keep the default configuration;

Log:

This is the installation of logging tracking, convenient error tracking error, keep the default;

Senior:


Here we can use silent installation, here I do not need to install silently, can modify the installation level, for the current user or all users, you can modify the default packaging icon, here I use a custom icon to replace

(11) Separation and packaging of package components (user-defined installation kit)

The remaining 3 items in the setup are security, package, language; For security is a number of serial numbers and other configuration, here skip, language is multi-language configuration, very simple, the emphasis is on the package;

Package: That is, the component package, is installed when the user chooses to install those component packages instead of all the installation, click "Package" function


Here I built 7 packages according to my initial needs, can be installed and used independently, add the time to choose the "Add" button:


Fill in the Package ID, component name and description, and then switch the English language, fill in the corresponding package name and description, ID is common, in order to not error, the best ID in English, click OK to complete the package add, if you need to modify, select Edit can

(12) Assigning specific components to packages (component packages)

After the package is set up, the corresponding component must be categorized into the corresponding package, and we look at the file list on the right

I prefer the sort here, based on the different package packages (my component name is also based on my project folder name), we select the corresponding component, right-click the file Properties menu in the menu


Then select the "Packages" tab of the multi-file properties, which shows all the package names we just created, we tick the corresponding packages, and all the files we just selected will be packaged and packaged into the component Alarmserver;


In the same way, we assign all components to the corresponding component packages, where all components become packaged, and if they are not allocated, they are not packaged.

After the package is allocated, we need to display the package before the installation (there is only one package by default, so the dialog box does not appear and requires the user to add a dialog box)


Before selecting Install, in the dialog box that pops up, delete the dialog screen of what user agreement is not needed, add the "Package Selection" dialog box, move to the specified position (via the up and Down buttons):

Move the component package that is created and assigned right to the left to the left tree, click OK, complete the package, and the dialog box will be displayed when installed;

(13) Create a shortcut for the corresponding EXE

Because there are more than 5,000 files on the right, too many, we just have to create a shortcut to the EXE, select the filter, filter the file on the right


Double-click a component:

In the pop-up file properties, select the Shortcuts tab, select the Application folder in the desktop and Start menu to generate shortcuts, of course, we can customize the shortcut generation location, click OK to create a shortcut to the component, similarly, other shortcut generation, By default, our EXE and batch will be generated shortcuts, if not necessary, remove the check box;


After all the shortcuts are generated, the "Shortcuts" column in the file list has the corresponding information.


(14) Style modification

In the screen column, select the project theme, we can modify the style or theme we need, or even modify our own skin library

Take the module yourself, very simple, here do not introduce more.

(a) Establishment of Windows services

Because my project has a Windows server, you must install Windows services after the installation is complete, so on the left-hand screen (that is, install all dialog screens), select "After Install" to pop up the dialog box:


Select End installation, click the Edit button, just click on the "Finish" button action:


The set file path must refer to the path of the file selected by the user, so use the variable, select the%appfolder% variable at this time, and expand the variable path with Sessionvar.expand () to get the full path, here the server path:

Sessionvar.expand ("%appfolder%\\nvms_service.exe"); automatically generate corresponding automation scripts after the completion of the addition, of course, familiar users can directly use the code to do not need to operate;

File operation can do so, no longer described here, of course, the System support system operation (restart, shutdown, etc.), file operations (move, command, delete, run, etc.), service operations (create, delete, pause, restart, etc.)

(16) Build setup and build

We produce an EXE package, set the production package path and name can be


(17) Installation effect






Next, complete the Windows Service installation and BAT processing run



Packaged software uses

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.