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

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

Issue 10837087: [Chromoting] Auto-generate CLSID of the daemon controller at GYP time. This makes sure that a fresh… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 4 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 | remoting/host/win/elevated_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/chromoting.wxs
diff --git a/remoting/host/win/chromoting.wxs b/remoting/host/win/chromoting.wxs
index 2f5d8115006ea6ad2f0232957ac76bef60c6df81..bf8170f010162c880dfa4f5ccec3143106bba20f 100644
--- a/remoting/host/win/chromoting.wxs
+++ b/remoting/host/win/chromoting.wxs
@@ -26,7 +26,6 @@
<?define ControllerAppid = "{4ff35d5e-d226-4550-9248-03e7779e67de}" ?>
<?define ControllerBinary = "remoting_host_controller.exe" ?>
<?define ControllerClass = "ElevatedController Class" ?>
- <?define ControllerClsid = "{430a9403-8176-4733-afdc-0b325a8fda84}" ?>
<?define ControllerProgid =
"ChromotingElevatedController.ElevatedController" ?>
<?define ControllerTypelib = "{9d9a5a2c-576e-4acd-9c75-aabff74b205d}" ?>
@@ -44,6 +43,10 @@
-->
<?define ControllerSd = "010004805C0000006C00000000000000140000000200480003000000000014000300000001010000000000050400000000001400030000000101000000000005120000000000180003000000010200000000000520000000200200000102000000000005200000002002000001020000000000052000000020020000" ?>
+ <?ifndef ControllerClsid ?>
+ <?error ControllerClsid must be defined ?>
+ <?endif?>
+
<?ifndef FileSource ?>
<?error FileSource must be defined ?>
<?endif?>
@@ -221,11 +224,12 @@
<RegistryKey Key="CurVer" Action="create">
<RegistryValue Type="string"
- Value="$(var.ControllerProgid).1"/>
+ Value="$(var.ControllerProgid).$(var.Version)"/>
</RegistryKey>
</RegistryKey>
- <RegistryKey Key="$(var.ControllerProgid).1" Action="create">
+ <RegistryKey Key="$(var.ControllerProgid).$(var.Version)"
+ Action="create">
<RegistryValue Type="string"
Value="$(var.ControllerClass)"/>
@@ -255,7 +259,7 @@
<RegistryKey Key="ProgID" Action="create">
<RegistryValue Type="string"
- Value="$(var.ControllerProgid).1"/>
+ Value="$(var.ControllerProgid).$(var.Version)"/>
</RegistryKey>
<RegistryKey Key="TypeLib" Action="create">
« no previous file with comments | « no previous file | remoting/host/win/elevated_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698