| OLD | NEW |
| (Empty) |
| 1 // Copyright 2009-2010 Google Inc. | |
| 2 // | |
| 3 // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 4 // you may not use this file except in compliance with the License. | |
| 5 // You may obtain a copy of the License at | |
| 6 // | |
| 7 // http://www.apache.org/licenses/LICENSE-2.0 | |
| 8 // | |
| 9 // Unless required by applicable law or agreed to in writing, software | |
| 10 // distributed under the License is distributed on an "AS IS" BASIS, | |
| 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 12 // See the License for the specific language governing permissions and | |
| 13 // limitations under the License. | |
| 14 // ======================================================================== | |
| 15 | |
| 16 // Functions related to the /install process. | |
| 17 | |
| 18 #ifndef OMAHA_CLIENT_INSTALL_H_ | |
| 19 #define OMAHA_CLIENT_INSTALL_H_ | |
| 20 | |
| 21 #include <windows.h> | |
| 22 #include <atlstr.h> | |
| 23 #include "omaha/common/const_goopdate.h" | |
| 24 | |
| 25 namespace omaha { | |
| 26 | |
| 27 struct CommandLineArgs; | |
| 28 | |
| 29 // Elevates if necessary and then installs. | |
| 30 HRESULT Install(bool is_interactive, | |
| 31 bool is_app_install, | |
| 32 bool is_eula_required, | |
| 33 bool is_oem_install, | |
| 34 bool is_install_elevated_instance, | |
| 35 const CString& install_cmd_line, | |
| 36 const CommandLineArgs& args, | |
| 37 bool* is_machine, | |
| 38 bool* has_ui_been_displayed); | |
| 39 | |
| 40 // Installs Omaha and/or apps in OEM state. | |
| 41 HRESULT OemInstall(bool is_interactive, | |
| 42 bool is_app_install, | |
| 43 bool is_eula_required, | |
| 44 bool is_install_elevated_instance, | |
| 45 const CString& install_cmd_line, | |
| 46 const CommandLineArgs& args, | |
| 47 bool* is_machine, | |
| 48 bool* has_ui_been_displayed); | |
| 49 | |
| 50 } // namespace omaha | |
| 51 | |
| 52 #endif // OMAHA_CLIENT_INSTALL_H_ | |
| OLD | NEW |