How can I convert a. MSI file to a. MSI file!

Source: Internet
Author: User

Problem description: How can I convert a. EXE file to a. MSI file!
 
Answer:

First, find the installation CD for Windows and follow the path

Row: valueadd/3 rdparty/MGMT/winstle/swiadmle. MSI,

Soon the software was automatically installed on the computer. There are more programs in the Start Menu.

Click "Veritas discover" in the "Veritas Software" group

You can start to create an MSI file.

Assume that the installation process of your software a is: Install the.exe file to C:/ProgramFiles/

In the program directory, put run. dll in Windows/system.

Create a program a in the software item of HKEY_LOCAL_MACHINE, and add

Add a value project whose value is OK.

Step 1: Run discover. In the displayed program interface, click "Next" to continue

Continue.

Step 2: In the dialog box in Figure 3, first name your program in the first text box

For example, the "a prog" is used here. The second dialog box is to output the storage location and file of the MSI file.

Name. Save it as D:/a_setup.msi. The third box is the language of the compressed package.

Use its default value. Click "Next.

Step 3: select a temporary space for the Discover snapshot file. You can select a magnetic

A disk with a large disk space.

Step 4: In the next 4 dialog box, select discover to scan the disk.

Select the disk to which the program is installed, and click "add" to add the file to be scanned.

In the list of parts, you can select a few or all disks, but this will

This process wastes more time, so we should try to select as few disks as possible. Only disk C is selected here, because

Our software is attached to drive C. Click "Next ".

Step 5: In the dialog box shown in figure 5, select the disk you want to scan.

Folder or file, because we only selected disk C in the previous step, you can select disk C.

. In addition, discover automatically adds some special files and directories.

You need to decide whether to remove them from the list of files to be scanned, but it is best to keep them. Here

Add the "C:/Program Files" and Windows folders.

Click files or folders in the box, and then click the Add button. Scan the Registry

Description, discover to speed up scanning, only scan part of the Registry, you can scan to most

Modify the Registry by program. If you are not at ease, you can

In "enhanced registry scan", the speed may be much slower.

But all the changes to the registry can be recorded. Because of our software

It is only a small change to the Registry, so it is not necessary to scan all registries. Then click

"Next" to continue.

Step 6: Next, discover will scan the system to generate a "snapshot Step 7: After scanning

A dialog box will pop up, indicating that the scan is complete.

Whether you need to select a program to run and then automatically install your software. We are about to create and install

Program, no program can run, so click "cancel.

Step 8: Next, we need to manually install the software and copy the.exe file first.

To the C:/program files/a prog program directory, and then copy run. DLL

In Windows/system, and then use the Registry Editor in the Registry's

Create a program a in the software item of HKEY_LOCAL_MACHINE and add

A value key with a value of OK. Note: In addition to these changes, we should try to avoid other irrelevant changes.

. Then we try to run the just-installed a.exe file to test whether the installation is correct.

Installation.

Step 9: Check whether the installation is correct. Run the Discover program again.

When discover appears, a page shown in 6 has two options. The first one is

Generate the installed snapshot, which is used to generate an MSI file compared with the previous snapshot. The second option

Instead of the last scan, select the first one and click "Next ". Then

Discover again began to scan the computer again, generate a "snapshot", and automatically generate a security

File Installation.

Step 10: if you want to, you can start Veritas with the Discover Program

The software console further modifies the information of the MSI file, the process is relatively simple, as long

Open an MSI file first, and then you can modify it. In this way, you can generate your own

MSI file.

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.