Creating a windows installer to copy file folders

Windows news and information.
iafaneh
Posts: 20
Joined: Tue Aug 28, 2012 6:13 pm

Creating a windows installer to copy file folders

Post by iafaneh » Tue Sep 04, 2012 10:09 am

My dos application needs to be copied to a specific folder with other files. How can I create an installer that will copy these files to the correct locations for me and create a shortcut on the users desktop to it?

i0null
Posts: 28
Joined: Tue Aug 28, 2012 6:11 pm

Re: Creating a windows installer to copy file folders

Post by i0null » Tue Sep 04, 2012 10:14 am

You didn't mention what version of Windows u have used.... Because, creating windows installer works on Windows Server 2003, Windows Server 2003 R2, with SP1 & SP2 (if I am not wron I am providing a sample or representing as an example, u will have to set your own. The steps for creating a simple Windows Installer package are as follows: 1. Plan the installation. List the general installation layout, including the files to install, the source path, and the target path. In addition, list all registry-related operations. Place the .exe file to install and all supporting files in a specific directory. 2. Import a blank database. To create a Windows Installer package, you copy (or create with a 3rd party software tool) a Windows Installer database file. A blank installation database, Schema.msi, is provided with the Microsoft Platform Software Development Kit (SDK) components for Windows Installer developers. The SDK also provides a partially blank database, Uisample.msi, which contains the suggested sequence tables and data required for a simple user interface. Copy Uisample.msi into the directory that contains the .exe file to be installed. The installation database file and the source files must be located at the root of the same directory. else, you will receive Setup errors. 3. Specify the directory structure. The installer stores information about the installation directory structure in the Directory table. Use any database editor to add information to the Directory table. 4. List the constituent components. List all components that are part of the installation. A component can be a set of files or resources that are added to the component table of the database. 5. Specify files and file attributes. Add all relevant files to the Files table. 6. Enter source media information in the Media table. The Media table describes the set of disks that make up the source media for the installation. 7. Define features. 8. Define feature-to-component relationships. Use the FeatureComponents table to define the relationships between features and components. 9. Add registry information and shortcut properties. The Registry table and related tables of the installation database hold the registry information that must be written in the system registry for the application. 10. Specify properties. Windows Installer properties are global variables that the installer uses during an installation. You do not have to define all properties in every package. A small set of properties r required.

Post Reply Previous topicNext topic

Return to “Windows News”

Who is online

Users browsing this forum: Bing [Bot] and 19 guests