From 5b2ae756faa45f05da2ff24f200cf503021871f0 Mon Sep 17 00:00:00 2001 From: TheJelle Date: Thu, 12 Mar 2015 00:23:10 +0100 Subject: [PATCH] Preparations for 5th Beta rollout - Updated Version String - Updated NSIS Installer for Shortcuts and compatibility with older installs --- App/AssemblyInfo1.cs | 4 ++-- Deploy/SPEdit.nsi | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/App/AssemblyInfo1.cs b/App/AssemblyInfo1.cs index 4f850a1c..a10353a0 100644 --- a/App/AssemblyInfo1.cs +++ b/App/AssemblyInfo1.cs @@ -29,7 +29,7 @@ // Revision // #if (DEBUG) -[assembly: AssemblyVersion("0.40.*")] +[assembly: AssemblyVersion("0.50.*")] #else -[assembly: AssemblyVersion("0.40.0.0")] +[assembly: AssemblyVersion("0.50.0.0")] #endif diff --git a/Deploy/SPEdit.nsi b/Deploy/SPEdit.nsi index 34570d50..82dc7a3e 100644 --- a/Deploy/SPEdit.nsi +++ b/Deploy/SPEdit.nsi @@ -42,6 +42,11 @@ File Xceed.Wpf.AvalonDock.dll File Xceed.Wpf.AvalonDock.Themes.Metro.dll File GPLv3.txt +IfFileExists $INSTDIR\options_0.dat OptionsExist OptionsDoesNotExist +OptionsExist: +Delete $INSTDIR\options_0.dat +OptionsDoesNotExist: + CreateDirectory "$INSTDIR\sourcepawn" CreateDirectory "$INSTDIR\sourcepawn\errorfiles" CreateDirectory "$INSTDIR\sourcepawn\scripts" @@ -85,6 +90,12 @@ SectionEnd +Section "Desktop Shortcut" prog04 +SectionIn 1 +CreateShortCut "$DESKTOP\SPEdit.lnk" "$INSTDIR\Spedit.exe" "" +SectionEnd + + Section "Uninstall"