aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authoralfredoport <doyenatccny@gmail.com>2011-09-15 01:03:38 +0000
committeralfredoport <doyenatccny@gmail.com>2011-09-15 01:03:38 +0000
commitf5060cfd48a6993c7a6bd6b739e3d37bd234453a (patch)
tree65ca1c94c8112d776f3fff7e5a45ac89aa0ab6e8 /contrib
parent5c07eb9f4fea3835b7f2d272aa4790b0638a512c (diff)
downloadopen-axiom-f5060cfd48a6993c7a6bd6b739e3d37bd234453a.tar.gz
Update Windows Installer.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/windows-installer/README.txt33
-rw-r--r--contrib/windows-installer/copyright.txt50
-rw-r--r--contrib/windows-installer/openaxiom.icobin0 -> 5694 bytes
-rw-r--r--contrib/windows-installer/openaxiom.nsi (renamed from contrib/openaxiom.nsi)373
4 files changed, 265 insertions, 191 deletions
diff --git a/contrib/windows-installer/README.txt b/contrib/windows-installer/README.txt
new file mode 100644
index 00000000..4d4731fa
--- /dev/null
+++ b/contrib/windows-installer/README.txt
@@ -0,0 +1,33 @@
+- Open the file openaxiom.nsi and edit
+ the variable BUILD_VERSION "X.Y.Z"
+ with the version you are packaging. Also
+ you can specify the Architecture by setting
+ the ARCH variable.
+
+- Copy the "OpenAxiom" install directory
+ next to the openaxiom.nsi file.
+
+- Place inside the "bin" directory any extra
+ libraries that need to be included in the
+ OpenAxiom path.
+
+ Mingw:
+
+ * libgcc_s_dw2-1.dll
+ * mingwm10.dll
+ * libstdc++-6.dll
+
+ QT:
+
+ * QtCore4.dll
+ * QtGui4.dll
+
+ Command Line:
+
+ * cat.exe
+ * rm.exe
+
+- Compile the openaxiom.nsi file using NSIS.
+
+- After compilation, you will have an installer
+ file open-axiom-X.Y.Z-windows-i386.exe \ No newline at end of file
diff --git a/contrib/windows-installer/copyright.txt b/contrib/windows-installer/copyright.txt
new file mode 100644
index 00000000..a4c82faf
--- /dev/null
+++ b/contrib/windows-installer/copyright.txt
@@ -0,0 +1,50 @@
+OpenAxiom is distributed under terms of the Modified BSD license.
+OpenAxiom is an evolution of AXIOM which was released under this license
+on September 3, 2002.
+
+Copyrights remain with the original copyright holders.
+Use of this material is by permission and/or license.
+Individual files contain reference to these applicable copyrights.
+The copyright and license statements are collected here for reference.
+
+Portions Copyright (C) 2007-2011 Gabriel Dos Reis
+All modifications applied to the build-improvements branch of Axiom,
+and to the OpenAxiom project are covered by this copyright and
+the BSD-type License reproduced below.
+
+Portions Copyright (C) 2003-2007 The Axiom Team
+
+The Axiom Team is the collective name for the people who have
+contributed to the Axiom project. Where no other copyright statement
+is noted in a file this copyright will apply.
+
+Portions Copyright (C) 1991-2002, The Numerical Algorithms Group Ltd.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ - Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ - Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+
+ - Neither the name of The Numerical Algorithms Group Ltd. nor the
+ names of its contributors may be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
+OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/contrib/windows-installer/openaxiom.ico b/contrib/windows-installer/openaxiom.ico
new file mode 100644
index 00000000..ee445b3b
--- /dev/null
+++ b/contrib/windows-installer/openaxiom.ico
Binary files differ
diff --git a/contrib/openaxiom.nsi b/contrib/windows-installer/openaxiom.nsi
index e204fc60..2cbb82a0 100644
--- a/contrib/openaxiom.nsi
+++ b/contrib/windows-installer/openaxiom.nsi
@@ -1,42 +1,49 @@
-#Axiom NSIS Install Script
-#Written By: Dan Martens dan_martens@lycos.com
-#Updated By: Bill Page bill.page1@sympatico.ca
-#Updated By: Alfredo Portes alfredo.portes@gmail.com
-
-;--------------------------------
-;Include Modern UI
-;--------------------------------
- !include "MUI.nsh"
- !include "StrFunc.nsh"
- !include "WinMessages.nsh"
-
-;--------------------------------
-;Axiom Variables
-;--------------------------------
- Var AXIOM_TEMP
- Var STARTMENU_FOLDER
- Var AXIOMVAR
- ${StrRep}
-
-;--------------------------------
-; Declare used functions
-;--------------------------------
-
- !verbose 3
- !ifdef ALL_USERS
- !define WriteEnvStr_RegKey \
- 'HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"'
- !else
- !define WriteEnvStr_RegKey 'HKCU "Environment"'
- !endif
- !verbose 4
-
- ; Define your application name
- !define APPNAME "OpenAxiom"
- !define BUILD_VERSION "1.0.1"
- !define APPNAMEANDVERSION "${APPNAME}-${BUILD_VERSION}"
-
- Function AddToPath
+#----------------------------------------------------
+# OpenAxiom NSI Install Script
+#
+# Written By: Dan Martens dan_martens@lycos.com
+# Updated By: Bill Page bill.page1@sympatico.ca
+# Updated By: Alfredo Portes alfredo.portes@gmail.com
+#----------------------------------------------------
+
+!include "MUI.nsh"
+!include "StrFunc.nsh"
+!include "WinMessages.nsh"
+
+;-----------------
+; Define Variables
+;-----------------
+
+!define APPNAME "OpenAxiom"
+!define BUILD_VERSION "1.4.1"
+!define BUILD_DIRECTORY "lib\open-axiom\i686-pc-mingw32\${BUILD_VERSION}"
+!define APPNAMEANDVERSION "${APPNAME}-${BUILD_VERSION}"
+!define ICON "openaxiom.ico"
+!define BINARIES "bin"
+!define GCC "gcc"
+!define EXECUTABLE "bin\open-axiom.exe"
+!define LICENSE "copyright.txt"
+!define OUTFILE "open-axiom-${BUILD_VERSION}-windows-i386.exe"
+!define TEXMACS_PLUGINS_DIRECTORY "C:\Program Files\WinTeXmacs\TeXmacs\plugins"
+
+Var OpenAxiom_TEMP
+Var STARTMENU_FOLDER
+
+!verbose 3
+
+!ifdef ALL_USERS
+ !define WriteEnvStr_RegKey \
+ 'HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"'
+!else
+ !define WriteEnvStr_RegKey 'HKCU "Environment"'
+!endif
+
+!verbose 4
+
+${StrRep}
+Var OPENAXIOMVAR
+
+Function AddToPath
Exch $0
Push $1
Push $2
@@ -100,7 +107,8 @@
Pop $1
Pop $0
FunctionEnd
- Function un.RemoveFromPath
+
+Function un.RemoveFromPath
Exch $0
Push $1
Push $2
@@ -182,7 +190,17 @@ FunctionEnd
Pop $1
Pop $0
FunctionEnd
- Function WriteEnvStr
+
+#-----------------------------------------------
+# WriteEnvStr - Writes an environment variable
+# Note: Win9x systems requires reboot
+#
+# Example:
+# Push "HOMEDIR" # name
+# Push "C:\New Home Dir\" # value
+# Call WriteEnvStr
+#-----------------------------------------------
+Function WriteEnvStr
Exch $1 ; $1 has environment variable value
Exch
Exch $0 ; $0 has environment variable name
@@ -219,8 +237,7 @@ FunctionEnd
# Push "HOMEDIR" # name
# Call un.DeleteEnvStr
#---------------------------------------------------
-
- Function un.DeleteEnvStr
+Function un.DeleteEnvStr
Exch $0 ; $0 now has the name of the variable
Push $1
Push $2
@@ -271,19 +288,6 @@ FunctionEnd
Pop $0
FunctionEnd
-###########################################
-# Utility Functions #
-###########################################
-
-; IsNT
-; no input
-; output, top of the stack = 1 if NT or 0 if not
-;
-; Usage:
-; Call IsNT
-; Pop $R0
-; ($R0 at this point is 1 or 0)
-
!macro IsNT un
Function ${un}IsNT
Push $0
@@ -304,19 +308,6 @@ FunctionEnd
!insertmacro IsNT ""
!insertmacro IsNT "un."
-; StrStr
-; input, top of stack = string to search for
-; top of stack-1 = string to search in
-; output, top of stack (replaces with the portion of the string remaining)
-; modifies no other variables.
-;
-; Usage:
-; Push "this is a long ass string"
-; Push "ass"
-; Call StrStr
-; Pop $R0
-; ($R0 at this point is "ass string")
-
!macro StrStr un
Function ${un}StrStr
Exch $R1 ; st=haystack,old$R1, $R1=needle
@@ -346,143 +337,120 @@ done:
Pop $R2
Exch $R1
FunctionEnd
+
!macroend
!insertmacro StrStr ""
!insertmacro StrStr "un."
-
-;--------------------------------
-;General
-;--------------------------------
-
- InstType "Typical"
-
- Name "${APPNAMEANDVERSION}"
- OutFile "OpenAxiom-${BUILD_VERSION}.exe"
- ;Default installation folder
- InstallDir "$PROGRAMFILES\${APPNAME}"
+InstType "Typical"
+Name "${APPNAME}"
+OutFile ${OUTFILE}
- ;Get installation folder from registry if available
- InstallDirRegKey HKLM "Software\${APPNAME}" ""
+;Default installation folder
+InstallDir "$PROGRAMFILES\${APPNAME}"
- ;Vista redirects $SMPROGRAMS to all users without this
- RequestExecutionLevel admin
+;Get installation folder from registry if available
+InstallDirRegKey HKLM "Software\${APPNAME}" ""
-;--------------------------------
-;Interface Settings
-;--------------------------------
+;Vista redirects $SMPROGRAMS to all users without this
+;RequestExecutionLevel admin
- ;!define AXIOM_ABORTWARNING
-
-;--------------------------------
-;Pages
-;--------------------------------
-
- !define MUI_ABORTWARNING
- !define MUI_FINISHPAGE_RUN "$INSTDIR\bin\AXIOMsys.exe"
-; !define MUI_FINISHPAGE_LINK "Please donate to the Axiom Foundation"
-; !define MUI_FINISHPAGE_LINK_LOCATION "http://axiom-developer.org/public/donate.html"
- !insertmacro MUI_PAGE_WELCOME
- !insertmacro MUI_PAGE_LICENSE "OpenAxiom\License.txt"
- !insertmacro MUI_PAGE_COMPONENTS
- !insertmacro MUI_PAGE_DIRECTORY
+!define MUI_ABORTWARNING
+;!define MUI_FINISHPAGE_RUN "$INSTDIR\${EXECUTABLE}" '--system="$INSTDIR\${BUILD_DIRECTORY}'
+;!define MUI_FINISHPAGE_LINK "Please donate to the Axiom Foundation"
+;!define MUI_FINISHPAGE_LINK_LOCATION "http://axiom-developer.org/public/donate.html"
+!insertmacro MUI_PAGE_WELCOME
+!insertmacro MUI_PAGE_LICENSE ${LICENSE}
+!insertmacro MUI_PAGE_COMPONENTS
+!insertmacro MUI_PAGE_DIRECTORY
- ;Start Menu Folder Page Configuration
- !define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKCU"
- !define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\${APPNAME}"
- !define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Start Menu Folder"
+;Start Menu Folder Page Configuration
+!define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKCU"
+!define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\${APPNAME}"
+!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Start Menu Folder"
- !insertmacro MUI_PAGE_STARTMENU Application $STARTMENU_FOLDER
-
- !insertmacro MUI_PAGE_INSTFILES
- !insertmacro MUI_PAGE_FINISH
-
- !insertmacro MUI_UNPAGE_WELCOME
- !insertmacro MUI_UNPAGE_CONFIRM
- !insertmacro MUI_UNPAGE_INSTFILES
- !insertmacro MUI_UNPAGE_FINISH
-
-;--------------------------------
-;Languages
-;Set languages (first is default language)
-;--------------------------------
-
- !insertmacro MUI_LANGUAGE "English"
- !insertmacro MUI_LANGUAGE "French"
- !insertmacro MUI_LANGUAGE "German"
- !insertmacro MUI_LANGUAGE "Russian"
- !insertmacro MUI_LANGUAGE "Spanish"
- !insertmacro MUI_LANGUAGE "TradChinese"
- !insertmacro MUI_RESERVEFILE_LANGDLL
-
-;--------------------------------
-;Installer Section
-;--------------------------------
-
- Section "!OpenAxiom Core" Section1
+!insertmacro MUI_PAGE_STARTMENU Application $STARTMENU_FOLDER
+!insertmacro MUI_PAGE_INSTFILES
+!insertmacro MUI_PAGE_FINISH
+!insertmacro MUI_UNPAGE_WELCOME
+!insertmacro MUI_UNPAGE_CONFIRM
+!insertmacro MUI_UNPAGE_INSTFILES
+!insertmacro MUI_UNPAGE_FINISH
+!insertmacro MUI_LANGUAGE "English"
+!insertmacro MUI_LANGUAGE "French"
+!insertmacro MUI_LANGUAGE "German"
+!insertmacro MUI_LANGUAGE "Russian"
+!insertmacro MUI_LANGUAGE "Spanish"
+!insertmacro MUI_LANGUAGE "TradChinese"
+!insertmacro MUI_RESERVEFILE_LANGDLL
+
+Section "!OpenAxiom Core" Section1
SectionIn 1 2 RO
; Set Section properties
SetOverwrite on
+ ; Install for all users for now.
+ ; We should ask the user.
+ SetShellVarContext all
+
SetOutPath "$INSTDIR"
-
- File /r openaxiom\*
+ File /r ${APPNAME}\*.*
+ File ${ICON}
+
+ SetOutPath "$INSTDIR\lib\open-axiom\i686-pc-mingw32\${BUILD_VERSION}\bin"
+ File /nonfatal /r ${BINARIES}\*.*
+
+ ;SetOutPath "$INSTDIR\lib"
+ ;File /r ${GCC}
ReadEnvStr $0 "USERPROFILE" ;
;Store installation folder
- WriteRegStr HKCU "Software\OpenAxiom" "" $INSTDIR
+ WriteRegStr HKCU "Software\${APPNAME}" "" $INSTDIR
;Create uninstaller
WriteUninstaller "$INSTDIR\Uninstall.exe"
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
- CreateDirectory "$SMPROGRAMS\$STARTMENU_FOLDER"
-
- CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\${APPNAME}.lnk" "$INSTDIR\bin\AXIOMsys.exe" "" "$INSTDIR\axiom.ico"
+ CreateDirectory "$SMPROGRAMS\$STARTMENU_FOLDER"
+ CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\${APPNAME}.lnk" "$INSTDIR\bin\open-axiom.exe" '--system="$INSTDIR\${BUILD_DIRECTORY}"' "$INSTDIR\${ICON}"
+ CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\${APPNAME} (Interpreter).lnk" "$INSTDIR\bin\open-axiom.exe" '--no-gui --system="$INSTDIR\${BUILD_DIRECTORY}"' "$INSTDIR\${ICON}"
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Uninstall.lnk" "$INSTDIR\Uninstall.exe"
- CreateShortCut "$DESKTOP\OpenAxiom.lnk" "$INSTDIR\bin\AXIOMsys.exe" "" "$INSTDIR\axiom.ico"
-
- !insertmacro MUI_STARTMENU_WRITE_END
-
-SectionEnd
-
-Section /o "Documentation" Section2
-
- SetOverwrite on
- SetOutPath "$INSTDIR"
+ CreateShortCut "$DESKTOP\OpenAxiom.lnk" "$INSTDIR\bin\open-axiom.exe" '--system="$INSTDIR\${BUILD_DIRECTORY}"' "$INSTDIR\${ICON}"
+ CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\OpenAxiom Website.lnk" "http://www.open-axiom.org" "" "$INSTDIR\${ICON}"
+ CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\OpenAxiom Bug Reports.lnk" "http://www.open-axiom.org/bugs.html" "" "$INSTDIR\${ICON}"
+ CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Online Axiom Book.lnk" "http://axiom-wiki.newsynthesis.org/uploads/contents.xhtml" "" "$INSTDIR\${ICON}"
- File /r doc
-
- ;Shortcuts
- CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Axiom Tutorial.lnk" "$INSTDIR\doc\tutorial.pdf"
- CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Axiom Book.lnk" "$INSTDIR\doc\axiom-book2.pdf"
+ !insertmacro MUI_STARTMENU_WRITE_END
SectionEnd
-; Section /o "Source Code" Section3
- ; Set Section properties
-; SetOverwrite on
-
- ; Set Section Files and Shortcuts
-; SetOutPath "$INSTDIR"
-
- ;File /r src
+#Section /o "JyperDoc" Section2
+#
+# SetOutPath "$INSTDIR\bin"
+# SetOverwrite on
+#
+# ;Shortcuts
+# CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\JyperDoc.lnk" "$INSTDIR\bin\jyperdoc.bat" "$INSTDIR\${ICON}"
+# CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\JyperDoc Website.lnk" "http://code.google.com/p/jyperdoc/" "" "$INSTDIR\${ICON}"
+#
+# SetOutPath "$INSTDIR\${BUILD_DIRECTORY}"
+# SetOverwrite on
+#
+# File /r jyperdoc
+#
+#SectionEnd
-;SectionEnd
- Section -FinishSection
+Section -FinishSection
- ${StrRep} $AXIOMVAR "$INSTDIR" "\" "/"
- Push "AXIOM"
- Push "$AXIOMVAR"
+ ${StrRep} $OPENAXIOMVAR "$INSTDIR\${BUILD_DIRECTORY}" "\" "/"
+ Push "OPENAXIOM"
+ Push "$OPENAXIOMVAR"
Call WriteEnvStr
- ; in case of Start AXIOM from installer set AXIOM variable now
- System::Call 'Kernel32::SetEnvironmentVariableA(t, t) i("AXIOM", "$AXIOMVAR").r0'
- ReadEnvStr $0 "USERPROFILE" ;
SetOutPath "$0\My Documents" # sets the 'START IN' parameter
WriteRegStr HKLM "Software\${APPNAME}" "" "$INSTDIR"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "DisplayName" "${APPNAME}"
@@ -491,10 +459,23 @@ SectionEnd
SectionEnd
+;Section /o "TeXMacs Plugin"
+
+; SetOutPath $INSTDIR
+; SetOverwrite on
+
+; File /r tm_openaxiom\openaxiom
+
+; SetOutPath "$OPENAXIOMVAR\bin"
+
+; File /r tm_openaxiom\openaxiom\bin\tm_openaxiom.exe
+
+;SectionEnd
+
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
- !insertmacro MUI_DESCRIPTION_TEXT ${Section1} "The main program files."
- !insertmacro MUI_DESCRIPTION_TEXT ${Section2} "Program Documentation"
-; !insertmacro MUI_DESCRIPTION_TEXT ${Section3} "Source code"
+ !insertmacro MUI_DESCRIPTION_TEXT ${Section1} "OpenAxiom Core"
+ !insertmacro MUI_DESCRIPTION_TEXT ${Section2} "TeXMacs Plugin"
+ ;!insertmacro MUI_DESCRIPTION_TEXT ${Section3} "Experimental browser frontend for OpenAxiom"
!insertmacro MUI_FUNCTION_DESCRIPTION_END
Section -AddtoPath
@@ -502,42 +483,52 @@ Section -AddtoPath
Call AddToPath
SectionEnd
-;--------------------------------
-;Uninstaller Section
-;--------------------------------
+;-----------------
+; Unistall Section
+;-----------------
- Section "Uninstall"
+Section "Uninstall"
+ ; Install for all users for now.
+ ; We should ask the user.
+ SetShellVarContext all
+
Delete "$INSTDIR\Uninstall.exe"
RMDir /r $INSTDIR
- !insertmacro MUI_STARTMENU_GETFOLDER Application $AXIOM_TEMP
+ !insertmacro MUI_STARTMENU_GETFOLDER Application $OpenAxiom_TEMP
- Delete "$SMPROGRAMS\$AXIOM_TEMP\Uninstall.lnk"
- Delete "$SMPROGRAMS\$AXIOM_TEMP\${APPNAME}.lnk"
- Delete "$DESKTOP\${APPNAME}.lnk"
- Delete "$SMPROGRAMS\$AXIOM_TEMP\Axiom Tutorial.lnk"
- Delete "$SMPROGRAMS\$AXIOM_TEMP\Axiom Book.lnk"
+ Delete "$SMPROGRAMS\$OpenAxiom_TEMP\Uninstall.lnk"
+ Delete "$SMPROGRAMS\$OpenAxiom_TEMP\${APPNAME}.lnk"
+ Delete "$SMPROGRAMS\$OpenAxiom_TEMP\${APPNAME} (Interpreter).lnk"
+ Delete "$DESKTOP\OpenAxiom.lnk"
+ Delete "$SMPROGRAMS\$OpenAxiom_TEMP\OpenAxiom Website.lnk"
+ Delete "$SMPROGRAMS\$OpenAxiom_TEMP\OpenAxiom Bug Reports.lnk"
+ Delete "$SMPROGRAMS\$OpenAxiom_TEMP\Online Axiom Book.lnk"
+
+ ;Delete "$SMPROGRAMS\$OpenAxiom_TEMP\JyperDoc.lnk"
+ ;Delete "$SMPROGRAMS\$OpenAxiom_TEMP\JyperDoc Website.lnk"
- ;Delete empty start menu parent diretories
- StrCpy $AXIOM_TEMP "$SMPROGRAMS\$AXIOM_TEMP"
+ ;Delete empty start menu parent directories
+ StrCpy $OpenAxiom_TEMP "$SMPROGRAMS\$OpenAxiom_TEMP"
startMenuDeleteLoop:
- ClearErrors
- RMDir $AXIOM_TEMP
- GetFullPathName $AXIOM_TEMP "$AXIOM_TEMP\.."
+ ClearErrors
+ RMDir $OpenAxiom_TEMP
+ GetFullPathName $OpenAxiom_TEMP "$OpenAxiom_TEMP\.."
IfErrors startMenuDeleteLoopDone
- StrCmp $AXIOM_TEMP $SMPROGRAMS startMenuDeleteLoopDone startMenuDeleteLoop
+ StrCmp $OpenAxiom_TEMP $SMPROGRAMS startMenuDeleteLoopDone startMenuDeleteLoop
startMenuDeleteLoopDone:
DeleteRegKey /ifempty HKCU "Software\${APPNAME}"
Push "$INSTDIR\bin"
Call un.RemoveFromPath
+
# remove the variable
- Push "AXIOM"
+ Push "OPENAXIOM"
Call un.DeleteEnvStr
SectionEnd
- \ No newline at end of file
+