[gedit/wip/wix] Commands



commit 3f3b01bad12b55bd2bceb8f5580cbfc649a60839
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Tue Dec 22 11:40:17 2015 +0100

    Commands

 win32/installer/gedit.wxs |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/win32/installer/gedit.wxs b/win32/installer/gedit.wxs
index 3cb30e2..91b67f0 100644
--- a/win32/installer/gedit.wxs
+++ b/win32/installer/gedit.wxs
@@ -22,8 +22,17 @@
     <?endif ?>
 
     <!-- Installer actions -->
+    <CustomAction Id="SetCompileSchemasCommand" Property="CompileSchemas" 
Value="&quot;[INSTALLDIR]\bin\glib-compile-schemas.exe&quot; 
&quot;[INSTALLDIR]\share\glib-2.0\schemas&quot;"/>
+    <CustomAction Id="CompileSchemas" BinaryKey="WixCA" DllEntry="CAQuietExec" Return="ignore" 
Execute="deferred" Impersonate="no" />
+    <CustomAction Id="SetUpdateIconCacheCommand" Property="UpdateIconCache" 
Value="&quot;[INSTALLDIR]\bin\gtk-update-icon-cache-3.0.exe&quot; 
&quot;[INSTALLDIR]\share\icons\hicolor&quot;"/>
+    <CustomAction Id="UpdateIconCache" BinaryKey="WixCA" DllEntry="CAQuietExec" Return="ignore" 
Execute="deferred" Impersonate="no" />
+
     <InstallExecuteSequence>
       <RemoveExistingProducts Before="InstallInitialize" />
+      <Custom Action="SetCompileSchemasCommand" After="InstallFiles" />
+      <Custom Action="CompileSchemas" After="SetCompileSchemasCommand" />
+      <Custom Action="SetUpdateIconCacheCommand" After="CompileSchemas" />
+      <Custom Action="UpdateIconCache" After="SetUpdateIconCacheCommand" />
     </InstallExecuteSequence>
 
   </Product>


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