installation package Making tool Setupfactory detailed

Source: Internet
Author: User

Setup Factory is a powerful installer tool. The Installation Wizard interface is available, even if you do not know about the installation, you can create a professional-quality installation program. You can create shortcuts, add content directly to the registry of Windows systems, add settings to Win.ini and System.ini, and create anti-installation options. Its included wizards can lead you to a beautiful and professional installation program step-by-step.

This article provides a detailed description of how to use the installation package process through a Winfrom project.

The setupfactory version used in the following is V9.0.3. 0 Chinese version. Online can be downloaded to a lot of green cracked version.

1th Step: Open the software, the default popup "Start a new project" window.

There are 3 ways to create a new project:

Method 1: Use the Project Wizard, followed by the wizard steps. This method is relatively simple and recommended for novice users.

Method 2: Close the default window and use the different steps in the left-hand taskbar. This method is more flexible and it is recommended that you familiarize yourself with the software before using this method.

Method 3: Open an existing project and modify the relevant content on the original basis. This method is much simpler,

Simply modify the original step or add a new step and complete.

This tutorial takes method 1 and works with the Project Wizard.

Click the "OK" button in the "Start a new project" window to proceed to the next step.

2nd Step: General Information

This window provides input boxes for company name, product name, product version, company URL, etc. as part of the package,

This information is displayed on the interface during installation after the production is complete.

Click on the "Next" button to proceed to the next step.

3rd Step: Platform

This window provides a running platform for packaged software 32-bit or 64-bit. Choose according to your specific needs.

After selecting, click "Next" button to go to the next step.

4th Step: Source Folder

This step provides the choice of files to package and folder information. Click the "Browse" button to locate the target program.

If the destination file includes subfolder information, select Include files in subfolders. Click on the "Next" button to proceed to the next step.

5th Step: Window Settings

This step provides information for setting up Windows for installing the software. This step is not the main step, is the icing on the cake function, casually set up.

We will select "Wizards". Click the "Next" button,

The Themes window provides a drop-down list of topics, each of which appears as a preview effect screen. Choose one according to your preference.

Click "Next" button to go to the next step

The Multilingual Settings window provides the language that is used during installation. General check in Simplified Chinese "Chinese (Simplified) *"

With "Traditional Chinese Chinese (traditional)". Select a language as the default language in the dropdown box and select Simplified Chinese as the default language.

Click on the "Next" button to proceed to the next step.

"This step is critical"

The technology selected in the Slaves window is the base software that you need to rely on to install the software.

Because my software needs to run on the. Net4 on the platform, so check it out. NET4. When checked, it will be installed automatically during the installation process.

One thing to note is that you need to create a new directory in the directory where the Setupfactory software resides:

Dependencies\dotnet4. And put Dotnetfx40_full_x86_x64.exe in it.

Description: After selecting dependent technologies, the corresponding technical files need to be placed in the corresponding subdirectory of the directory where the Setupfactory software is located.

After selecting Done, click on the "Next" button to proceed to the next step.

Options are available in the optional features window, including options such as uninstall, logging, permission restrictions, software-installed operating systems, and more.

Click "Finish" button to complete the basic packaging configuration information.

After the basic configuration is complete, the selected packaging files are listed in the interface such as the Archive tab interface.

6th step: Set the main program file

Clicking on the "Filter" button in the toolbar will filter out the executable file. Into:

Select the program to run the main file "PSSPlat.Client.WinForm.exe", double-click or right-click on the "File properties" Pop-up Properties dialog box, such as:

You can enter descriptive information in the Description text box or do not enter it.

In the Overwrite drop-down box, select Ask user. This option means that you are prompted to overwrite the source file if it detects that the file already exists in the system during installation.

For example: On the Shortcuts tab, in the location bar, tick

Desktop: After the installation is successful, a shortcut icon is displayed on the desktop for the program to start;

Boot menu: After the installation is successful, it will be set to boot from startup;

Quick Launch bar: After successful installation, it will appear in the Quick Launch bar;

Start Menu > Application Folder: After the installation is successful, it appears in the "Start > (all) programs > specific software name directory" computer.

Additional information can be configured in the advanced, condition, package, Notes tab. ".

7th step: Set up the auxiliary program files

, for a secondary. exe program, do not need to go to the Start Program menu, select the file and double-click on the Shortcut tab,

Uncheck "Start menu > Application Folder"

8th step: Setting Up dependent files

In the "Tasks" column, "Resource Module", click on the "Subordinate file" menu, pop up the "resources" window, such as:

Click the "Add" button, pop up the "Initial file Properties" window, click the "Browse" button to select the target file, here Select the MySQL database for. NET program driver "mysql-connector-net-6.9.4".

and tick "Delete when Setup exits". Click the "OK" button to complete the operation.

9th step: Program Control to install "subordinate files" "This step is important"

Because the dependent files are selected, you need to install the subordinate files before installing the software. You need to eject the "Dependent files" Installation interface.

In the "Tasks" bar, the "screen" module, click on the "Pre-Installation" menu, pop up the "Screens" window, the default switch to the "before the Installation" tab.

Select "Read to Install", click "Edit" button, pop Up "Screens Properties" screen Property window.

In the Actions tab, enter the scripting language:

Shell.execute (_templaunchfolder ... " \\mysql-connector-net-6.9.4.msi "," Open "," "", "", Sw_shownormal,true)

Specific API definitions refer to the installation Package authoring tool Setupfactory API Checklist

Click "OK" button to complete the configuration, during the installation process will pop up the assistant installation interface.

10th Step: Set the installation serial number

In the "Tasks" bar, the "screen" module, click on the "Pre-Installation" menu, pop up the "Screens" screen window,

Click on the "Add" button, pop up the "Screen Gallery" window, select "Verify Serial number" item, the right side of the preview area shows the serial numbers preview interface.

Click the "OK" button to add the "Verify Serial number" entry to the screen list.

Select the "Verify Serial number" Item and click the "Edit" button. The Serial Number List Properties window pops up

In the Serial Number List Properties window, you can modify the list name (or not modify it), build the configuration, and select the "Default" option.

Select the "Build" item in the right "command" drop-down box

Or click on the "list of serial numbers" in the blank, right-click, the same pop-up command options, select the "Generate" item, pop up the "Generate Serial number" window.

  

Enter "number of serial numbers to generate" and select "Generate Random serial number" with the mask format of the serial number. Such as:

  

Click the "OK" button. Generate results such as.

The serial number entered during the installation must be the serial number in the list to pass the verification, otherwise the CAPTCHA error is indicated.

11th Step: Set the installation serial number format

In the "Tasks" bar, the "screen" module, click on the "Pre-Installation" menu, pop up the "Screens" screen window,

  

Select the "Verify Serial number" Item and click the "Edit" button. The "Screens Properties" window pops up:

Enter a description in the red box that will appear during installation.

Click on the "Add" button to pop up the "Edit Field Properties" window.

In the Edit Field Properties window, enter the custom content "serial number:" In the Label box.

The right input style selects "Input Mask" and is formatted as "####-####-####-####". This format is consistent with the validation code format of the production.

Click the "OK" button to complete the serial number setup.

12th Step: Set the installation package "Expiration" property

In the "Tasks" column, "Settings" module, click on the "Serial Number" menu, pop up the "Security" window, switch to the "Expiration" tab.

You can set related properties as needed. The following properties are set in this tutorial:

When the settings are complete, click the "OK" button.

  

13th Step: Build, Production installation package

After the above steps are set up, you can start the production installation package.

Click the Build button in the toolbar to bring up the Publish Wizard-Select Distribution Media window.

Because it is a WinForm client program, you have the option of placing the installation package on a CD, DVD, and custom local file system.

Custom is selected here (stored in the local file system) and the file size is set to 200M. Depending on the size of the installation package file, set the appropriate size.

Click on the "Next" button to proceed to the next step.

In the Publish Wizard-select an Output Location window, select the file storage location, and the installation file name.

Click on the "Next" button to proceed to the next step.

In the Publish Project-Build installation window, start making the installation package.

  

Depending on the size of the installation file, the time required to make the process varies.

Production completed.

Click "Finish" button, open the output folder by default, see the following file "Setup.exe".

Double-click the "setup.exe" file to install it.

The following prompt window is displayed because the "only 3 times the same system can be installed" limit is set in the expiration attribute.

Click "OK" button to eject the installation interface:

 

Click on the "Next" button

Select "I agree to the terms of the License Agreement" and click the "Next" button

  

You can change the name and company information, click "Next"

You can change the default installation path and click the "Next" button

Select "Make shortcuts available to all users" and click the "Next" button

Eject the Auxiliary Software Installation interface. (This interface appears because program control is set up before installation)

If it is already installed locally, you can choose not to install it.

The content in the red box is customized when you set it:

If you randomly enter a 16-digit serial number, clicking the "Next" button verifies that the serial number is the default serial number generated in the program.

If not, an error message is indicated: the serial number is invalid.

The correct serial numbers are as follows: randomly generated by the software. Enter one of these to pass validation.

Installation Successful

Click "Finish" button, the desktop will have a shortcut to the program, double-click to run the software.

If you install the package several times in a row, the following prompt appears:

is due to a limit set in the expiration attribute.

installation package Making tool Setupfactory detailed

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.