[gedit/wip/wininstaller] win32: run the proper postinstall scripts



commit 2ba740861b82a56ee6c29ba17d47ea35ae162708
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Wed Jul 30 08:18:26 2014 +0200

    win32: run the proper postinstall scripts

 .../meta/installscript.js                          |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/win32/qt-ifw/packages/org.gnome.gedit.root.package/meta/installscript.js 
b/win32/qt-ifw/packages/org.gnome.gedit.root.package/meta/installscript.js
index 4fe04bd..67651ba 100644
--- a/win32/qt-ifw/packages/org.gnome.gedit.root.package/meta/installscript.js
+++ b/win32/qt-ifw/packages/org.gnome.gedit.root.package/meta/installscript.js
@@ -18,10 +18,18 @@ function createShortcuts()
     }
 
     var cmdLocation = windir + "\\system32\\cmd.exe";
-    component.addOperation( "CreateShortcut",
-                            cmdLocation,
-                            "@StartMenuDir@/gedit Text Editor",
-                            "/A /Q /K " + installer.value("TargetDir") + "\\bin\\gedit.exe");
+    component.addOperation("CreateShortcut",
+                           cmdLocation,
+                           "@StartMenuDir@/gedit Text Editor",
+                           "/A /Q /K " + installer.value("TargetDir") + "\\bin\\gedit.exe");
+
+    component.addOperation("Execute",
+                           ["@TargetDir \\bin\\gdk-pixbuf-query-loaders exe", ">",
+                            "@TargetDir \\lib\\gdk-pixbuf-2 0\\2 10 0\\loaders cache"]);
+
+    component.addOperation("Execute",
+                           ["@TargetDir \\bin\\glib-compile-schemas exe",
+                            "@TargetDir \\share\\glib-2 0\\schemas"]);
 }
 
 Component.prototype.createOperations = function()


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