Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Unified Diff: remoting/host/installer/win/chromoting.wxs

Issue 1071013002: Set the startup type to auto in windows setup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/installer/win/chromoting.wxs
diff --git a/remoting/host/installer/win/chromoting.wxs b/remoting/host/installer/win/chromoting.wxs
index be2d6f88148efcb7915c97f206fe7160476b19d7..274b5a9a886dd418406049780bda4a20fb7dac82 100644
--- a/remoting/host/installer/win/chromoting.wxs
+++ b/remoting/host/installer/win/chromoting.wxs
@@ -564,7 +564,10 @@
Script="jscript">
<![CDATA[
var ADS_SERVICE_STOPPED = 0x00000001;
+ var ADS_SERVICE_AUTO_START = 2;
var service = GetObject("WinNT://./$(var.ServiceName),Service");
+ service.StartType = ADS_SERVICE_AUTO_START;
+ service.SetInfo();
if (service.Status == ADS_SERVICE_STOPPED) {
service.Start();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698