summaryrefslogtreecommitdiff
path: root/packages/windows
diff options
context:
space:
mode:
authorEduardo Chappa <echappa@gmx.com>2013-02-03 00:59:38 -0700
committerEduardo Chappa <echappa@gmx.com>2013-02-03 00:59:38 -0700
commit094ca96844842928810f14844413109fc6cdd890 (patch)
treee60efbb980f38ba9308ccb4fb2b77b87bbc115f3 /packages/windows
downloadalpine-094ca96844842928810f14844413109fc6cdd890.tar.xz
Initial Alpine Version
Diffstat (limited to 'packages/windows')
-rwxr-xr-xpackages/windows/alpine.iss60
-rw-r--r--packages/windows/binstaller.bat45
2 files changed, 105 insertions, 0 deletions
diff --git a/packages/windows/alpine.iss b/packages/windows/alpine.iss
new file mode 100755
index 00000000..5a00af72
--- /dev/null
+++ b/packages/windows/alpine.iss
@@ -0,0 +1,60 @@
+[Setup]
+AppName=Alpine
+#include "iss.SetupVars.tmp"
+;AppVerName=Alpine 0.98
+AppPublisher=University of Washington
+AppPublisherURL=http://www.washington.edu/alpine/
+AppSupportURL=http://www.washington.edu/alpine/faq/
+AppUpdatesURL=http://www.washington.edu/alpine/getalpine/
+DefaultDirName={pf}\Alpine
+DefaultGroupName=Alpine
+AllowNoIcons=yes
+;SourceDir=E:\CreateInstall
+OutputDir=..\
+;OutputBaseFilename=setup_alpine_0.98
+LicenseFile=legal.txt
+;InfoBeforeFile=install.txt
+UninstallDisplayIcon={app}\alpine.exe
+;UninstallDisplayName=Alpine 0.98
+UninstallFilesDir={app}\uninst_alpine
+Compression=bzip/9
+
+[Tasks]
+Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:"
+Name: "quicklaunchicon"; Description: "Create a &Quick Launch icon"; GroupDescription: "Additional icons:"; Flags: unchecked
+
+[Files]
+Source: "alpine.exe"; DestDir: "{app}"; Flags: ignoreversion
+Source: "install.txt"; DestDir: "{app}"; Flags: ignoreversion
+Source: "legal.txt"; DestDir: "{app}"; Flags: ignoreversion
+Source: "ldap32.dll"; DestDir: "{app}"; Flags: ignoreversion
+Source: "mailcap.sam"; DestDir: "{app}"; Flags: ignoreversion
+Source: "mimetype.sam"; DestDir: "{app}"; Flags: ignoreversion
+Source: "pico.exe"; DestDir: "{app}"; Flags: ignoreversion
+Source: "pinerc.adv"; DestDir: "{app}"; Flags: ignoreversion
+; NOTE: Don't use "Flags: ignoreversion" on any shared system files
+
+[INI]
+Filename: "{app}\alpine.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.washington.edu/alpine/"
+
+[Icons]
+Name: "{group}\Alpine"; Filename: "{app}\alpine.exe"
+Name: "{group}\Pico"; Filename: "{app}\pico.exe"
+Name: "{group}\Alpine on the Web"; Filename: "{app}\alpine.url"
+Name: "{group}\Uninstall Alpine"; Filename: "{uninstallexe}"
+Name: "{userdesktop}\Alpine"; Filename: "{app}\alpine.exe"; Tasks: desktopicon
+Name: "{userdesktop}\Pico"; Filename: "{app}\pico.exe"; Tasks: desktopicon
+Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Alpine"; Filename: "{app}\alpine.exe"; Tasks: quicklaunchicon
+Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Pico"; Filename: "{app}\pico.exe"; Tasks: quicklaunchicon
+
+[Run]
+Filename: "{app}\alpine.exe"; Parameters: "-nosplash -install" ; Flags: skipifsilent
+Filename: "{app}\alpine.exe"; Description: "Launch Alpine"; Flags: nowait postinstall skipifsilent
+Filename: "{app}\pico.exe"; Description: "Launch Pico"; Flags: nowait postinstall skipifsilent unchecked
+Filename: "{app}\install.txt"; Description: "View Alpine README"; Flags: postinstall shellexec skipifsilent
+
+[UninstallDelete]
+Type: files; Name: "{app}\alpine.url"
+
+[UninstallRun]
+Filename: "{app}\alpine.exe"; Parameters: "-nosplash -uninstall"
diff --git a/packages/windows/binstaller.bat b/packages/windows/binstaller.bat
new file mode 100644
index 00000000..8f5700a9
--- /dev/null
+++ b/packages/windows/binstaller.bat
@@ -0,0 +1,45 @@
+@echo OFF
+if "%1"=="" goto blankplat
+if "%2"=="" goto blankver
+if "%1"=="wnt" goto goodbuild
+if "%1"=="w2k" goto goodbuild
+echo Unknown build platform: %1 %2
+goto usage
+:blankplat
+echo Must specify build platform (wnt, w2k)!
+goto usage
+:blankver
+echo Must specify build version (eg. 0.98)
+:usage
+echo usage: BINSTALLER plat ver
+echo where plat is wnt or w2k
+echo and ver is version (eg 0.98)
+goto fini
+
+
+:goodbuild
+set plat=%1
+set ver=%2
+set tmpfile=iss.SetupVars.tmp
+echo Building installer for platform %plat% for version %ver%
+echo Assuming existence of dist.%plat%.d!
+echo SourceDir=dist.%plat%.d > %tmpfile%
+goto %plat%
+
+:wnt
+echo AppVerName=Alpine %ver% >> %tmpfile%
+echo OutputBaseFilename=setup_alpine_%ver% >> %tmpfile%
+echo UninstallDisplayName=Alpine %ver% >> %tmpfile%
+goto goodbuildcont
+:w2k
+echo AppVerName=Alpine %ver% (with Windows Kerberos) >> %tmpfile%
+echo OutputBaseFilename=setup_alpine_%ver%_w2k >> %tmpfile%
+echo UninstallDisplayName=Alpine %ver% (with Windows Kerberos) >> %tmpfile%
+goto goodbuildcont
+
+:goodbuildcont
+iscc alpine.iss
+del %tmpfile%
+echo Done.
+
+:fini