[tasque/windows] [wix] Write INSTALLFOLDER to registry



commit f247a301fb78b79746b67f75c1b8e2e25fa91616
Author: Antonius Riha <antoniusriha gmail com>
Date:   Sat Oct 27 11:00:37 2012 +0200

    [wix] Write INSTALLFOLDER to registry

 WindowsSetup/Product.wxs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/WindowsSetup/Product.wxs b/WindowsSetup/Product.wxs
index acad5cd..b115554 100644
--- a/WindowsSetup/Product.wxs
+++ b/WindowsSetup/Product.wxs
@@ -34,6 +34,9 @@
                       ElementPath="/configuration/appSettings/add[\[] key='DataDir'[\]]" Name="value" Value="[DATADIR]" />
         <File Source="..\build\bin\lib\tasque\libtasque.dll" />
         <File Source="..\build\bin\lib\tasque\Gtk.Tasque.dll" />
+        <RegistryKey Id="TasqueRegKey" Root="HKLM" Key="Software\Tasque" Action="createAndRemoveOnUninstall">
+          <RegistryValue Id="WriteTasqueInstallFolder" Name="InstallFolder" Action="write" Type="string" Value="[INSTALLFOLDER]" />
+        </RegistryKey>
       </Component>
       <Component Id="RtmBackend" Guid="A7B0E0A4-0819-46AF-AD95-BC4D987B7AD2">
         <File Source="..\build\bin\lib\tasque\RtmBackend.dll" />



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]