FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix working dir of shortcuts. Bug #1415. · gnuplot/gnuplot@34773b7 · GitHub

Repository navigation

Commit 34773b7

Browse files
committed
Fix working dir of shortcuts. Bug #1415.
1 parent f7e85f2 commit 34773b7

2 files changed

Lines changed: 18 additions & 11 deletions

File tree

‎ChangeLog‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2014-12-16 Bastian Maerkisch <bmaerkisch@web.de>
2+
3+
* win/gnuplot.iss: Change working directory of shortcuts to
4+
current users's document folder. Works on Vista and upwards.
5+
Bug #1415
6+
17
2014-12-15 Bastian Maerkisch <bmaerkisch@web.de>
28

39
* demo/kdensity.dem: End demo with pause / reset

‎win/gnuplot.iss‎

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
;
2-
; $Id: gnuplot.iss,v 1.9 2014/06/01 09:28:57 markisch Exp $
2+
; $Id: gnuplot.iss,v 1.10 2014/06/11 07:02:02 markisch Exp $
33
;
44
; GNUPLOT - gnuplot.iss
55
;
@@ -38,13 +38,14 @@
3838
;
3939

4040
#define MyAppName "gnuplot"
41-
#define MyAppVersionShort "5.0"
42-
#define MyAppVersion "5.0 patchlevel alpha"
43-
#define MyAppNumVersion "5.0.0"
41+
#define MyAppVersionShort "5.1"
42+
#define MyAppVersion "5.1 CVS"
43+
#define MyAppNumVersion "5.1.0"
4444
#define MyAppPublisher "gnuplot development team"
4545
#define MyAppURL "http://www.gnuplot.info/"
4646
#define MyAppExeName "wgnuplot.exe"
47-
#define MyInstallerName "gp50alpha-win32-setup"
47+
#define MyInstallerName "gp510-win32-setup"
48+
#define MyDocuments "%USERPROFILE%\Documents"
4849

4950
[Setup]
5051
; NOTE: The value of AppId uniquely identifies this application.
@@ -148,8 +149,8 @@ Source: "bin\wgnuplot-ja.mnu"; DestDir: {app}\bin; Components: ja
148149
[Dirs]
149150

150151
[Icons]
151-
Name: "{group}\{#MyAppName} {#MyAppVersionShort}"; Filename: "{app}\bin\{#MyAppExeName}"; WorkingDir: {userdocs}; Components: core;
152-
Name: "{group}\{#MyAppName} {#MyAppVersionShort} - console version"; Filename: "{app}\bin\gnuplot.exe"; WorkingDir: {userdocs}; Components: core;
152+
Name: "{group}\{#MyAppName} {#MyAppVersionShort}"; Filename: "{app}\bin\{#MyAppExeName}"; WorkingDir: {#MyDocuments}; Components: core;
153+
Name: "{group}\{#MyAppName} {#MyAppVersionShort} - console version"; Filename: "{app}\bin\gnuplot.exe"; WorkingDir: {#MyDocuments}; Components: core;
153154
Name: "{group}\{#MyAppName} Help"; Filename: {app}\bin\wgnuplot.chm; Components: core;
154155
Name: "{group}\{#MyAppName} Help (Japanese)"; Filename: {app}\bin\wgnuplot-ja.chm; Components: ja; Flags: CreateOnlyIfFileExists;
155156
Name: "{group}\{#MyAppName} Documentation"; Filename: {app}\docs\gnuplot.pdf; Components: docs; Flags: CreateOnlyIfFileExists;
@@ -158,8 +159,8 @@ Name: "{group}\{#MyAppName} Quick Reference"; Filename: {app}\docs\gpcard.pdf; C
158159
Name: "{group}\{#MyAppName} LaTeX Tutorial"; Filename: {app}\docs\tutorial.pdf; Components: docs; Flags: CreateOnlyIfFileExists;
159160
Name: "{group}\{cm:ProgramOnTheWeb,{#MyAppName}}"; Filename: "{#MyAppURL}"
160161
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
161-
Name: "{commondesktop}\{#MyAppName} {#MyAppVersionShort}"; Filename: "{app}\bin\{#MyAppExeName}"; Tasks: desktopicon; WorkingDir: {userdocs}; Components: core;
162-
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName} {#MyAppVersionShort}"; Filename: "{app}\bin\{#MyAppExeName}"; Tasks: quicklaunchicon; WorkingDir: {userdocs}; Components: core;
162+
Name: "{commondesktop}\{#MyAppName} {#MyAppVersionShort}"; Filename: "{app}\bin\{#MyAppExeName}"; Tasks: desktopicon; WorkingDir: {#MyDocuments}; Components: core;
163+
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName} {#MyAppVersionShort}"; Filename: "{app}\bin\{#MyAppExeName}"; Tasks: quicklaunchicon; WorkingDir: {#MyDocuments}; Components: core;
163164
Name: "{group}\{#MyAppName} Demo Directory"; Filename: {app}\demo; Flags: FolderShortcut; Components: demo;
164165

165166
[Components]
@@ -174,7 +175,7 @@ Name: "ja"; Description: "{cm:japanese}";
174175
Filename: {win}\notepad.exe; Description: {cm:view,README-Windows.txt}; Flags: nowait postinstall skipifsilent Unchecked RunAsOriginalUser ShellExec SkipIfDoesntExist; Parameters: {app}\README-Windows.txt; Languages: en de;
175176
Filename: {win}\notepad.exe; Description: "{cm:view,README-Windows-ja.txt}"; Flags: nowait postinstall skipifsilent Unchecked RunAsOriginalUser ShellExec SkipIfDoesntExist; Parameters: {app}\README-Windows-ja.txt; Languages: ja;
176177
; launch gnuplot
177-
Filename: "{app}\bin\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, "&", "&&")}}"; Flags: nowait postinstall skipifsilent Unchecked RunAsOriginalUser; WorkingDir: {userdocs};
178+
Filename: "{app}\bin\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, "&", "&&")}}"; Flags: nowait postinstall skipifsilent Unchecked RunAsOriginalUser; WorkingDir: {#MyDocuments};
178179

179180
[Registry]
180181
; set some environment variables
@@ -265,7 +266,7 @@ de.japanese=Japanische Sprachunterstützung
265266
de.defaultterm=Standard-Terminal für gnuplot:
266267
de.termpreserve=Umgebungsvariable GNUTERM nicht ändern
267268
de.other=Weitere Aufgaben:
268-
de.setassociations=Verknüpfungen herstellen
269+
de.setassociations=Verknüpfungen erstellen
269270
de.path=Anwendungsverzeichnis dem Suchpfad PATH hinzufügen
270271
; actions
271272
de.view=%1 anzeigen

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL