2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2012-01-04 20:19:14 -08:00
|
|
|
|
2012-01-04 20:19:16 -08:00
|
|
|
BOOL LaunchWinPostProcess(const WCHAR *installationDir,
|
2012-01-04 20:19:14 -08:00
|
|
|
const WCHAR *updateInfoDir,
|
|
|
|
bool forceSync,
|
|
|
|
HANDLE userToken);
|
|
|
|
BOOL StartServiceUpdate(int argc, LPWSTR *argv);
|
2012-01-04 20:19:15 -08:00
|
|
|
BOOL GetUpdateDirectoryPath(LPWSTR path);
|
2012-02-24 13:29:42 -08:00
|
|
|
DWORD LaunchServiceSoftwareUpdateCommand(int argc, LPCWSTR *argv);
|
2012-01-04 20:19:15 -08:00
|
|
|
BOOL WriteStatusFailure(LPCWSTR updateDirPath, int errorCode);
|
|
|
|
BOOL WriteStatusPending(LPCWSTR updateDirPath);
|
2011-12-28 18:08:37 -08:00
|
|
|
DWORD WaitForServiceStop(LPCWSTR serviceName, DWORD maxWaitSeconds);
|
|
|
|
DWORD WaitForProcessExit(LPCWSTR filename, DWORD maxSeconds);
|
2012-02-24 13:29:42 -08:00
|
|
|
BOOL DoesFallbackKeyExist();
|
2012-05-02 12:40:33 -07:00
|
|
|
BOOL IsLocalFile(LPCWSTR file, BOOL &isLocal);
|
2011-12-28 18:08:37 -08:00
|
|
|
|
2012-01-04 20:19:19 -08:00
|
|
|
#define SVC_NAME L"MozillaMaintenance"
|