Setup Applications Typically, before you create a setup application, you create an INF file. An INF file is a text file that contains information used by your setup application during an installation. For more information, see INF Files.After creating an INF file, you write the source code for your setup application. You can use the setup functions in your setup application to access the information in the INF file and perform installation operations. For more information about using the setup functions in an application, see Creating Setup Applications. Steps of an Installation Program The following list outlines one way to use setup functions to create a setup application. You can use this example as a starting point, or develop your own installation algorithm. Each step is described in detail in following topics.Initialization Open the INF and, if appropriate, append other INF files. Extract file information from the INF file. Gather setup information from the user. Create a queue. Install files Commit the queue, specifying a callback routine. Update registry information. Clean up Close the file queue and INF. Release any other system resources and end the program.
Typically, before you create a setup application, you create an INF file. An INF file is a text file that contains information used by your setup application during an installation. For more information, see INF Files.After creating an INF file, you write the source code for your setup application. You can use the setup functions in your setup application to access the information in the INF file and perform installation operations. For more information about using the setup functions in an application, see Creating Setup Applications.
Steps of an Installation Program
The following list outlines one way to use setup functions to create a setup application. You can use this example as a starting point, or develop your own installation algorithm. Each step is described in detail in following topics.Initialization Open the INF and, if appropriate, append other INF files.
Extract file information from the INF file.
Gather setup information from the user.
Create a queue.
Install files Commit the queue, specifying a callback routine.
Update registry information.
Clean up Close the file queue and INF.
Release any other system resources and end the program.