[ekiga/gnome-2-26] [windows] Fix starting Ekiga from last page of installer
- From: Eugen Dedu <ededu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/gnome-2-26] [windows] Fix starting Ekiga from last page of installer
- Date: Wed, 26 May 2010 21:18:00 +0000 (UTC)
commit 6a4cd8973221adf0021ab77615a7ad7d43a1fc27
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date: Wed May 26 23:10:49 2010 +0200
[windows] Fix starting Ekiga from last page of installer
Fixes bug #597306.
win32/nsisinstaller/ekiga.nsi | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/win32/nsisinstaller/ekiga.nsi b/win32/nsisinstaller/ekiga.nsi
index da30d85..70a9dc1 100644
--- a/win32/nsisinstaller/ekiga.nsi
+++ b/win32/nsisinstaller/ekiga.nsi
@@ -211,6 +211,18 @@ Section $(GTK_SECTION_TITLE) SecGtk
StrCmp $R1 "NONE" gtk_no_install_rights
ClearErrors
ExecWait "$TEMP\${GTK_RUNTIME_INSTALLER}"
+ ; now the GTK path needs to be added to the path of the setup
+ ; so that Ekiga could be started from the last page
+ ReadEnvStr $R0 "PATH"
+ StrCmp $R6 "HKLM" hklm1 hkcu1
+ hklm1:
+ ReadRegStr $R3 HKLM ${GTK_REG_KEY} "Path"
+ Goto hk1
+ hkcu1:
+ ReadRegStr $R3 HKCU ${GTK_REG_KEY} "Path"
+ hk1:
+ StrCpy $R0 "$R0;$R3\bin"
+ System::Call 'Kernel32::SetEnvironmentVariableA(t, t) i("PATH", R0).r0'
Goto gtk_install_cont
upgrade_gtk:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]