Claims
- 1. A method for generating a file in a computer system, comprising:processing an object including a plurality of instructions, wherein each instruction is associated with at least one executable function; determining an operating system in which the generated file will be executed; generating, for each instruction in the object, a native operating system command capable of executing the function associated with the instruction on the determined operating system; and inserting each generated native operating system command into the file, wherein execution of the file on the determined operating system will execute the native operating system commands in the file to perform the functions associated with the instructions included in the object.
- 2. The method of claim 1, further comprising:processing a property associated with the object indicating whether to execute the file after generating the file; executing the file after generating the file if the property indicates to execute the file after generating the file; and storing the file in non-volatile memory.
- 3. The method of claim 1, further comprising:executing the file and the native operating system commands in the file after generating the file; and deleting the file after executing the file.
- 4. The method of claim 1, wherein the file is a batch file and wherein the functions associated with the instructions are members of the set of functions consisting of: creating a directory, changing a directory, deleting a directory, renaming a directory, deleting a file, renaming a file, copying a file, moving a file, setting ownership of a batch file, setting permissions of a file, executing an external program, executing commands in another file, setting the path, appending a string to the path, and prepending a string to the path.
- 5. The method of claim 1, further comprising:processing a command to uninstall the object; processing the object to determine the file generated from the instructions in the object; and deleting the determined file.
- 6. A method for generating a file in a computer system, comprising:processing an object including a plurality of instructions, wherein each instruction is associated with at least one executable function; determining an operating system in which the generated file will be executed; generating, for each instruction in the object, a native operating system command capable of executing the function associated with the instruction on the determined operating system; and inserting each generated native operating system command into the file, wherein execution of the file on the determined operating system will execute the native operating system commands in the file to perform the functions associated with the instructions included in the object, wherein the file is generated during an installation of a program, and wherein the file includes native operating system commands to configure the computer system for the program being installed; executing the file to configure the system to support the program being installed; and storing the file in non-volatile memory.
- 7. A method for generating a file in a computer system, comprising:processing an object including a plurality of instructions, wherein each instruction is associated with at least one executable function; determining an operating system in which the generated file will be executed; generating, for each instruction in the object, a native operating system command capable of executing the function associated with the instruction on the determined operating system; and inserting each generated native operating system command into the file, wherein execution of the file on the determined operating system will execute the native operating system commands in the file to perform the functions associated with the instructions included in the object, wherein the file is generated during an uninstallation of a program, and wherein the native operating system commands in the file are capable of configuring the computer system to reverse changes to the system resulting from the installation of the program; and executing the file during the uninstallation of the program to execute the native operating system commands therein to configure the computer system to remove files and changes added when the program was installed.
- 8. The method of claim 7, wherein the execution of the file deletes files adding during the installation of the program.
- 9. A computer system for generating a file, comprising:a computer; an operating system installed on the computer; a memory accessible to the computer; means for processing an object including a plurality of instructions, wherein each instruction is associated with at least one executable function; means for determining the operating system installed on the computer; means for generating, for each instruction in the object, a native operating system command capable of executing the function associated with the instruction on the determined operating system; and means for inserting each generated native operating system command into the file in the memory, wherein execution of the file on the determined operating system will execute the native operating system commands in the file to perform the functions associated with the instructions included in the object.
- 10. The computer system of claim 9, further comprising:a non-volatile memory accessible to the computer; means for processing a property associated with the object indicating whether to execute the file after generating the file; means for executing the file after generating the file if the property indicates to execute the file after generating the file; and means for storing the file in the non-volatile memory.
- 11. The computer system of claim 9, further comprising:means for executing the file and the native operating system commands in the file after generating the file; and means for deleting the file from the memory after executing the file.
- 12. The computer system of claim 9, wherein the file is a batch file and wherein the functions associated with the instructions are members of the set of functions consisting of: creating a directory, changing a directory, deleting a directory, renaming a directory, deleting a file, renaming a file, copying a file, moving a file, setting ownership of a batch file, setting permissions of a file, executing an external program, executing commands in another file, setting the path, appending a string to the path, and prepending a string to the path.
- 13. The computer system of claim 9, further comprising:means for processing a command to uninstall the object; means for processing the object to determine the file generated from the instructions in the object; and means for deleting the determined file.
- 14. A computer system for generating a file, comprising:a computer; an operating system installed on the computer; a memory accessible to the computer; means for processing an object including a plurality of instructions, wherein each instruction is associated with at least one executable function; means for determining the operating system installed on the computer; means for generating, for each instruction in the object, a native operating system command capable of executing the function associated with the instruction on the determined operating system; means for inserting each generated native operating system command into the file in the memory, wherein execution of the file on the determined operating system will execute the native operating system commands in the file to perform the functions associated with the instructions included in the object, wherein the file is generated during an installation of a program and the file includes native operating system commands to configure the computer system for the program being installed; a non-volatile memory accessible to the computer; means for executing the file to configure the system to support the program being installed; and means for storing the file in non-volatile memory.
- 15. A computer system for generating a file, comprising:a computer; an operating system installed on the computer; a memory accessible to the computer; means for processing an object including a plurality of instructions, wherein each instruction is associated with at least one executable function; means for determining the operating system installed on the computer; means for generating, for each instruction in the object, a native operating system command capable of executing the function associated with the instruction on the determined operating system; means for inserting each generated native operating system command into the file in the memory, wherein execution of the file on the determined operating system will execute the native operating system commands in the file to perform the functions associated with the instructions included in the object, wherein the file is generated during an uninstallation of a program, wherein the native operating system commands in the file are capable of configuring the computer system to reverse changes to the system resulting from the installation of the program; and means for executing the file during the uninstallation of the program to execute the native operating system commands therein to configure the computer system to remove files and changes added when the program was installed.
- 16. The computer system of claim 15, wherein the execution of the file deletes files adding during the installation of the program.
- 17. An article of manufacture for use in generating a file, the article of manufacture comprising computer useable media accessible to a computer, wherein the computer usable media includes at least one computer program that is capable of causing the computer to perform:processing an object including a plurality of instructions, wherein each instruction is associated with at least one executable function; determining an operating system in which the generated file will be executed; generating, for each instruction in the object, a native operating system command capable of executing the function associated with the instruction on the determined operating system; and inserting each generated native operating system command into the file, wherein execution of the file on the determined operating system will execute the native operating system commands in the file to perform the functions associated with the instructions included in the object.
- 18. The article of manufacture of claim 17, further comprising:processing a property associated with the object indicating whether to execute the file after generating the file; executing the file after generating the file if the property indicates to execute the file after generating the file; and storing the file in non-volatile memory.
- 19. The article of manufacture of claim 17, further comprising:executing the file and the native operating system commands in the file after generating the file; and deleting the file after executing the file.
- 20. The article of manufacture of claim 17, wherein the file is a batch file and wherein the functions associated with the instructions are members of the set of functions consisting of: creating a directory, changing a directory, deleting a directory, renaming a directory, deleting a file, renaming a file, copying a file, moving a file, setting ownership of a batch file, setting permissions of a file, executing an external program, executing commands in another file, setting the path, appending a string to the path, and prepending a string to the path.
- 21. The article of manufacture of claim 17, further comprising:processing a command to uninstall the object; processing the object to determine the file generated from the instructions in the object; and deleting the determined file.
- 22. An article of manufacture for use in generating a file, the article of manufacture comprising computer useable media accessible to a computer, wherein the computer usable media includes at least one computer program that is capable of causing the computer to perform:processing an object including a plurality of instructions, wherein each instruction is associated with at least one executable function; determining an operating system in which the generated file will be executed; generating, for each instruction in the object, a native operating system command capable of executing the function associated with the instruction on the determined operating system; inserting each generated native operating system command into the file, wherein execution of the file on the determined operating system will execute the native operating system commands in the file to perform the functions associated with the instructions included in the object, wherein the file is generated during an installation of a program, and wherein the file includes native operating system commands to configure the computer system for the program being installed; executing the file to configure the system to support the program being installed; and storing the file in non-volatile memory.
- 23. An article of manufacture for use in generating a file, the article of manufacture comprising computer useable media accessible to a computer, wherein the computer usable media includes at least one computer program that is capable of causing the computer to perform:processing an object including a plurality of instructions, wherein each instruction is associated with at least one executable function; determining an operating system in which the generated file will be executed; generating, for each instruction in the object, a native operating system command capable of executing the function associated with the instruction on the determined operating system; inserting each generated native operating system command into the file, wherein execution of the file on the determined operating system will execute the native operating system commands in the file to perform the functions associated with the instructions included in the object, wherein the file is generated during an uninstallation of a program, and wherein the native operating system commands in the file are capable of configuring the computer system to reverse changes to the system resulting from the installation of the program; and executing the file during the uninstallation of the program to execute the native operating system commands therein to configure the computer system to remove files and changes added when the program was installed.
- 24. The article of manufacture of claim 23, wherein the execution of the file deletes files adding during the installation of the program.
- 25. An article of manufacture for use in generating a file, the article of manufacture comprising computer useable media accessible to a computer, wherein the computer usable media includes:a first command to create an object; a plurality of instructions to include in the object, wherein each instruction is associated with at least one executable function, wherein at least one of the plurality of instructions is included in the object; and a second command to process each instruction in the object to generate, for each instruction, a native operating system command into the file to execute the function associated with the instruction on one of a plurality of operating systems, wherein the file is processed to execute the native operating system commands therein to perform the functions associated with the instructions included in the object.
- 26. The article of manufacture of claim 25, further comprising:a property associated with the object indicating whether to execute the file after generating the file, wherein execution of the second command stores the file in non-volatile memory and executes the file after generating the file if the property indicates to execute the file after generating the file.
- 27. The article of manufacture of claim 25, wherein the second command executes the file and the native operating system commands in the file after generating the file and deletes the file after executing native operating system commands in the file.
- 28. The article of manufacture of claim 25, wherein the plurality of instructions are members of the set of functions consisting of: creating a directory, changing a directory, deleting a directory, renaming a directory, deleting a file, renaming a file, copying a file, moving a file, setting ownership of a batch file, setting permissions of a file, executing an external program, executing commands in another file, setting the path, appending a string to the path, and prepending a string to the path.
- 29. The article of manufacture of claim 25, wherein the second command processes the object to determine the file generated from the instructions in the object and deletes the determined file.
- 30. An article of manufacture for use in generating a file, the article of manufacture comprising computer useable media accessible to a computer, wherein the computer usable media includes:a first command to create an object; a plurality of instructions to include in the object, wherein each instruction is associated with at least one executable function, wherein at least one of the plurality of instructions is included in the object; and a second command to process each instruction in the object to generate, for each instruction, a native operating system command into the file to execute the function associated with the instruction on one of a plurality of operating systems, wherein the file is processed to execute the native operating system commands therein to perform the functions associated with the instructions included in the object, wherein the second command generates the file from the object during an installation of a program, wherein the generated file includes native operating system commands to configure the computer system for the program being installed, and wherein the generated file is executed to configure the system to support the program being installed and stored in non-volatile memory.
- 31. An article of manufacture for use in generating a file, the article of manufacture comprising computer useable media accessible to a computer, wherein the computer usable media includes:a first command to create an object; a plurality of instructions to include in the object, wherein each instruction is associated with at least one executable function, wherein at least one of the plurality of instructions is included in the object; and a second command to process each instruction in the object to generate, for each instruction, a native operating system command into the file to execute the function associated with the instruction on one of a plurality of operating systems, wherein the file is processed to execute the native operating system commands therein to perform the functions associated with the instructions included in the object, wherein the second command generates the file during an uninstallation of a program, wherein the native operating system commands in the file are capable of configuring the computer system to reverse changes to the system resulting from the installation of the program, and wherein the file and native operating system commands therein are executed during the uninstallation of the program to configure the computer system to remove files and changes added when the program was installed.
- 32. An article of manufacture for use in generating a file, the article of manufacture comprising computer useable media accessible to a computer, wherein the computer usable media includes at least one computer program that is capable of causing the computer to perform:processing commands in an object that define a sequence of operations; and generating from the commands in the object the file including corresponding native operating system commands for a given operating system that is one of a plurality of operating systems, wherein the generated native operating system commands perform the sequence of operations on the given operating system.
- 33. A method for generating a file, comprising:defining commands in an object that define a sequence of operations; and generating from the commands in the object the file including corresponding native operating system commands for a given operating system that is one of a plurality of operating systems, wherein the generated native operating system commands perform the sequence of operations on the given operating system.
CROSS-REFERENCE TO RELATED APPLICATIONS
This application is related to the following co-pending and commonly-assigned patent applications, which applications were all filed on Mar. 29, 1999, and which applications are incorporated herein by reference in their entirety:
“A Cross-Platform Program, System, and Method Having a Global Registry Object for Mapping Registry Equivalent Functions in an AIX Operating System Environment,” having Ser. No. 09/280,345;
“A Cross-Platform Program, System, and Method Having a Global Registry Object for Mapping Registry Equivalent Functions in an OS/2 Operating System Environment,” having Ser. No. 09/280,350;
“A Cross-Platform Program, System, and Method Having a Global Registry Object for Mapping Registry Functions in a Windows Operating System Environment,” having Ser. No. 09/280,349;
“Global Registry Object for Mapping Registry Functions and Registry Equivalent Functions Across Multiple Operating Systems in a Cross-platform Program,” having Ser. No. 280,371;
“A Cross-platform Program, System, and Method Having a System Independent Registry for Use on Operating Systems Irrespective of a Registry Equivalent,” having Ser. No. 09/280,368;
“A System, Method, and Program for Enabling a Use of Property Object Having a Variable for a Property Value in a Cross-Platform Program,” having Ser. No. 09/280,344;
“A System, Method, and Program for Overriding Program Properties,” having Ser. No. 09/280,346;
“A System, Method and Program for Providing an Object-Oriented Install Architecture,” having Ser. No. 09/280,352;
“A System, Method, and Program for Automatic Error Detection While Utilizing a Software State Machine for Carrying out the Process Flow of a Software Program,” having Ser. No. 09/280,375;
“A System, Method, and Program for Utilizing a Software State Machine for Carrying Out the Process Flow of a Software Program,” having Ser. No. 09/280,376;
“A System, Method, and Program for Enabling a Software Program to Automatically Select a System-dependent Function,” having Ser. No. 09/280,369;
“A System, Method, and Program for Mapping a Global Object to Desktop Elements of Different Operating Systems,” having Ser. No. 09/280,372;
“A System, Method, And Program For Processing Dependencies Using a Dependency Object,” having Ser. No. 09/280,370;
“A System, Method, and Program for Modifying a Text File,” having Ser. No. 09/280,348;
“A System, Method, and Program for Updating Registry Objects With a Cross-platform Installation Program,” having Ser. No. 09/280,351;
“A System, Method, and Program For Preserving Background Settings During Install and Uninstall Operations,” having Ser. No. 09/280,374;
“A System, Method, And Program for Modifying a Library Object,” having Ser. No. 09/280,347;
“A System, Method, And Program For Installation on Drives Using a Drive Object,” having Ser. No. 09/280,353;
“A System, Method, and Program for Performing Program Specific Uninstall Operations,” having Ser. No. 09/280,373.
US Referenced Citations (5)
Number |
Name |
Date |
Kind |
5247683 |
Holmes et al. |
Sep 1993 |
A |
5317722 |
Evans |
May 1994 |
A |
6094531 |
Allison et al. |
Jul 2000 |
A |
6269480 |
Curtis |
Jul 2001 |
B1 |
6289512 |
Edwards et al. |
Sep 2001 |
B1 |
Non-Patent Literature Citations (1)
Entry |
Indigo Rose Software Design Corp. “Setup Factory 4.0” User's Guide, 1998. |