Remove WIP label; Update Windows (NSIS) installer
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2024 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
		
							parent
							
								
									46d3207c7e
								
							
						
					
					
						commit
						4e9733a83d
					
				@ -11,10 +11,11 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  ;Name and file
 | 
					  ;Name and file
 | 
				
			||||||
  Name "Grafx2"
 | 
					  Name "Grafx2"
 | 
				
			||||||
  OutFile "grafx2-2.1.1026.win32.exe"
 | 
					  OutFile "grafx2-2.4.2023.win32.exe"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  ;Default installation folder
 | 
					  ;Default installation folder
 | 
				
			||||||
  InstallDir "$PROGRAMFILES\Grafx2"
 | 
					  InstallDir "$PROGRAMFILES\Grafx2"
 | 
				
			||||||
 | 
					  !define MULTIUSER_INSTALLMODE_INSTDIR "Grafx2"
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  ;Get installation folder from registry if available
 | 
					  ;Get installation folder from registry if available
 | 
				
			||||||
  InstallDirRegKey HKCU "Software\Grafx2" ""
 | 
					  InstallDirRegKey HKCU "Software\Grafx2" ""
 | 
				
			||||||
@ -30,7 +31,17 @@
 | 
				
			|||||||
;--------------------------------
 | 
					;--------------------------------
 | 
				
			||||||
;Pages
 | 
					;Pages
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  !define  MUI_WELCOMEFINISHPAGE_BITMAP vector.bmp
 | 
				
			||||||
 | 
					  !define MUI_WELCOMEFINISHPAGE_BITMAP_NOSTRETCH
 | 
				
			||||||
 | 
					  !insertmacro MUI_PAGE_WELCOME
 | 
				
			||||||
 | 
					  !define MULTIUSER_EXECUTIONLEVEL Highest
 | 
				
			||||||
 | 
					  !define MULTIUSER_MUI
 | 
				
			||||||
 | 
					  !define MULTIUSER_INSTALLMODE_COMMANDLINE
 | 
				
			||||||
 | 
					  ;!define MUI_HEADERIMAGE_BITMAP logo_scenish.bmp
 | 
				
			||||||
 | 
					  ;!define MUI_HEADERIMAGE_BITMAP_NOSTRETCH
 | 
				
			||||||
  !insertmacro MUI_PAGE_LICENSE "..\doc\gpl-2.0.txt"
 | 
					  !insertmacro MUI_PAGE_LICENSE "..\doc\gpl-2.0.txt"
 | 
				
			||||||
 | 
					  !include MultiUser.nsh
 | 
				
			||||||
 | 
					  !insertmacro MULTIUSER_PAGE_INSTALLMODE
 | 
				
			||||||
  !insertmacro MUI_PAGE_COMPONENTS
 | 
					  !insertmacro MUI_PAGE_COMPONENTS
 | 
				
			||||||
  !insertmacro MUI_PAGE_DIRECTORY
 | 
					  !insertmacro MUI_PAGE_DIRECTORY
 | 
				
			||||||
  !insertmacro MUI_PAGE_INSTFILES
 | 
					  !insertmacro MUI_PAGE_INSTFILES
 | 
				
			||||||
@ -46,9 +57,17 @@
 | 
				
			|||||||
;--------------------------------
 | 
					;--------------------------------
 | 
				
			||||||
;Functions
 | 
					;Functions
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Function .onInit
 | 
				
			||||||
 | 
					  !insertmacro MULTIUSER_INIT
 | 
				
			||||||
 | 
					FunctionEnd
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Function un.onInit
 | 
				
			||||||
 | 
					  !insertmacro MULTIUSER_UNINIT
 | 
				
			||||||
 | 
					FunctionEnd
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Function .onInstSuccess
 | 
					Function .onInstSuccess
 | 
				
			||||||
  MessageBox MB_YESNO "Run GrafX2 now ?" IDNO norun
 | 
					  MessageBox MB_YESNO "Run GrafX2 now ?" IDNO norun
 | 
				
			||||||
    Exec $INSTDIR\GrafX2.exe
 | 
					    Exec $INSTDIR\bin\grafx2.exe
 | 
				
			||||||
  norun:
 | 
					  norun:
 | 
				
			||||||
FunctionEnd
 | 
					FunctionEnd
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -59,32 +78,102 @@ Section "Grafx2" SecProgram
 | 
				
			|||||||
  SectionIn RO
 | 
					  SectionIn RO
 | 
				
			||||||
  SetOutPath "$INSTDIR"
 | 
					  SetOutPath "$INSTDIR"
 | 
				
			||||||
  ;ADD YOUR OWN FILES HERE...
 | 
					  ;ADD YOUR OWN FILES HERE...
 | 
				
			||||||
  File ..\grafx2.exe
 | 
					  File ..\src-2.4wip2023.tgz
 | 
				
			||||||
  File ..\src-2.1.1026.tgz
 | 
					  SetOutPath "$INSTDIR\bin"
 | 
				
			||||||
  File ..\gfx2.gif
 | 
					  File ..\bin\grafx2.exe
 | 
				
			||||||
  File ..\gfx2def.ini
 | 
					  File ..\bin\SDL_image.dll
 | 
				
			||||||
  File ..\SDL_image.dll
 | 
					  File ..\bin\SDL.dll
 | 
				
			||||||
  File ..\SDL.dll
 | 
					  File ..\bin\libfreetype-6.dll
 | 
				
			||||||
  File ..\libfreetype-6.dll
 | 
					  File ..\bin\SDL_ttf.dll
 | 
				
			||||||
  File ..\SDL_ttf.dll
 | 
					  File ..\bin\zlib1.dll
 | 
				
			||||||
  File ..\zlib1.dll
 | 
					  File ..\bin\libpng14-14.dll
 | 
				
			||||||
  File ..\libpng13.dll
 | 
					  SetOutPath "$INSTDIR\share\grafx2"
 | 
				
			||||||
  SetOutPath "$INSTDIR\skins"
 | 
					  File ..\share\grafx2\gfx2.gif
 | 
				
			||||||
  File ..\skins\font_Classic.png
 | 
					  File ..\share\grafx2\gfx2def.ini
 | 
				
			||||||
  File ..\skins\font_Fun.png
 | 
					  SetOutPath "$INSTDIR\share\grafx2\skins"
 | 
				
			||||||
  File ..\skins\skin_classic.png
 | 
					  File ..\share\grafx2\skins\font_Classic.png
 | 
				
			||||||
  File ..\skins\skin_modern.png
 | 
					  File ..\share\grafx2\skins\font_DPaint.png
 | 
				
			||||||
 | 
					  File ..\share\grafx2\skins\font_Fairlight.png
 | 
				
			||||||
 | 
					  File ..\share\grafx2\skins\font_Fun.png
 | 
				
			||||||
 | 
					  File ..\share\grafx2\skins\font_Melon.png
 | 
				
			||||||
 | 
					  File ..\share\grafx2\skins\font_Seen.png
 | 
				
			||||||
 | 
					  File ..\share\grafx2\skins\skin_Aurora.png
 | 
				
			||||||
 | 
					  File ..\share\grafx2\skins\skin_classic.png
 | 
				
			||||||
 | 
					  File ..\share\grafx2\skins\skin_DPaint.png
 | 
				
			||||||
 | 
					  File ..\share\grafx2\skins\skin_modern.png
 | 
				
			||||||
 | 
					  File ..\share\grafx2\skins\skin_scenish.png
 | 
				
			||||||
 | 
					  SetOutPath "$INSTDIR\share\grafx2\scripts\samples_2.4\brush"
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\brush\ApplyColor.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\brush\Fisheye.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\brush\GrayscaleAvg.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\brush\GrayscaleDesat.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\brush\Halfsmooth.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\brush\Waves.lua
 | 
				
			||||||
 | 
					  SetOutPath "$INSTDIR\share\grafx2\scripts\samples_2.4\demo"
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\demo\3DPalette.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\demo\Ellipse.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\demo\FlipPicture.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\demo\SierpinskyCarpet.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\demo\SierpinskyTriangle.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\demo\Spritesheet.lua
 | 
				
			||||||
 | 
					  SetOutPath "$INSTDIR\share\grafx2\scripts\samples_2.4\demo\brush"
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\demo\brush\Amigaball.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\demo\brush\ColorSphere.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\demo\brush\FindAA.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\demo\brush\Mandelbrot.lua
 | 
				
			||||||
 | 
					  SetOutPath "$INSTDIR\share\grafx2\scripts\samples_2.4\libs"
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\libs\dawnbringer_lib.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\libs\memory.lua
 | 
				
			||||||
 | 
					  SetOutPath "$INSTDIR\share\grafx2\scripts\samples_2.4\palette"
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\palette\Desaturate.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\palette\ExpandColors.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\palette\FillColorCube.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\palette\InvertedRGB.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\palette\Set3bit.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\palette\Set6bit.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\palette\SetC64Palette.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\palette\ShiftHue.lua
 | 
				
			||||||
 | 
					  SetOutPath "$INSTDIR\share\grafx2\scripts\samples_2.4\picture"
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\picture\CellColourReducer.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\picture\DrawGridIsometric.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\picture\DrawgridOrthogonal_Index.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\picture\DrawGridOrthogonal_RGB.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\picture\GlassGridFilter.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\picture\PaletteToPicture.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\picture\Pic2isometric.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\picture\Rainbow-Dark2Bright.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\picture\RemapImage2RGB.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\picture\RemapImage2RGB_ed.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\picture\RemapImageTo3bitPal.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\Tiler.lua
 | 
				
			||||||
 | 
					  File ..\share\grafx2\scripts\samples_2.4\picture\XBitColourXpaceFromPalette.lua
 | 
				
			||||||
  SetOutPath "$INSTDIR\doc"
 | 
					  SetOutPath "$INSTDIR\doc"
 | 
				
			||||||
  File ..\doc\README.txt
 | 
					 | 
				
			||||||
  File ..\doc\COMPILING.txt
 | 
					  File ..\doc\COMPILING.txt
 | 
				
			||||||
  File ..\doc\README-SDL_ttf.txt
 | 
					  File ..\doc\PF_fonts.txt
 | 
				
			||||||
  File ..\doc\README-SDL.txt
 | 
					  File ..\doc\README-SDL.txt
 | 
				
			||||||
  File ..\doc\README-SDL_image.txt
 | 
					  File ..\doc\README-SDL_image.txt
 | 
				
			||||||
 | 
					  File ..\doc\README-SDL_ttf.txt
 | 
				
			||||||
 | 
					  File ..\doc\README-lua.txt
 | 
				
			||||||
  File ..\doc\README-zlib1.txt
 | 
					  File ..\doc\README-zlib1.txt
 | 
				
			||||||
 | 
					  File ..\doc\README.txt
 | 
				
			||||||
  File ..\doc\gpl-2.0.txt
 | 
					  File ..\doc\gpl-2.0.txt
 | 
				
			||||||
  SetOutPath "$INSTDIR\fonts"
 | 
					  SetOutPath "$INSTDIR\share\grafx2\fonts"
 | 
				
			||||||
  File ..\fonts\8pxfont.png
 | 
					  File ..\share\grafx2\fonts\8pxfont.png
 | 
				
			||||||
  File ..\fonts\Tuffy.ttf
 | 
					  File ..\share\grafx2\fonts\Tuffy.ttf
 | 
				
			||||||
 | 
					  File ..\share\grafx2\fonts\PF_Arma_5__.png
 | 
				
			||||||
 | 
					  File ..\share\grafx2\fonts\PF_Easta_7_.png
 | 
				
			||||||
 | 
					  File ..\share\grafx2\fonts\PF_Easta_7__.png
 | 
				
			||||||
 | 
					  File ..\share\grafx2\fonts\PF_Ronda_7__.png
 | 
				
			||||||
 | 
					  File ..\share\grafx2\fonts\PF_Tempesta_5.png
 | 
				
			||||||
 | 
					  File ..\share\grafx2\fonts\PF_Tempesta_5_.png
 | 
				
			||||||
 | 
					  File ..\share\grafx2\fonts\PF_Tempesta_5__.png
 | 
				
			||||||
 | 
					  File ..\share\grafx2\fonts\PF_Tempesta_5___.png
 | 
				
			||||||
 | 
					  File ..\share\grafx2\fonts\PF_Tempesta_7.png
 | 
				
			||||||
 | 
					  File ..\share\grafx2\fonts\PF_Tempesta_7_.png
 | 
				
			||||||
 | 
					  File ..\share\grafx2\fonts\PF_Tempesta_7__.png
 | 
				
			||||||
 | 
					  File ..\share\grafx2\fonts\PF_Tempesta_7___.png
 | 
				
			||||||
 | 
					  File ..\share\grafx2\fonts\PF_Westa_7_.png
 | 
				
			||||||
 | 
					  File ..\share\grafx2\fonts\PF_Westa_7__.png
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  ; Register in Add/Remove programs
 | 
					  ; Register in Add/Remove programs
 | 
				
			||||||
  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Grafx2-SDL" \
 | 
					  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Grafx2-SDL" \
 | 
				
			||||||
@ -100,7 +189,7 @@ Section "Grafx2" SecProgram
 | 
				
			|||||||
  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Grafx2-SDL" \
 | 
					  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Grafx2-SDL" \
 | 
				
			||||||
                 "URLInfoAbout" "http://grafx2.googlecode.com"
 | 
					                 "URLInfoAbout" "http://grafx2.googlecode.com"
 | 
				
			||||||
  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Grafx2-SDL" \
 | 
					  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Grafx2-SDL" \
 | 
				
			||||||
                 "DisplayVersion" "2.1.1026"
 | 
					                 "DisplayVersion" "2.4.wip2023"
 | 
				
			||||||
  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Grafx2-SDL" \
 | 
					  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Grafx2-SDL" \
 | 
				
			||||||
                 "NoModify" 1
 | 
					                 "NoModify" 1
 | 
				
			||||||
  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Grafx2-SDL" \
 | 
					  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Grafx2-SDL" \
 | 
				
			||||||
@ -117,7 +206,7 @@ SectionEnd
 | 
				
			|||||||
Section "Desktop shortcut" SecShortcut
 | 
					Section "Desktop shortcut" SecShortcut
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  SetOutPath "$INSTDIR"
 | 
					  SetOutPath "$INSTDIR"
 | 
				
			||||||
  CreateShortCut "$DESKTOP\Grafx2.lnk" "$INSTDIR\Grafx2.exe" "" "" "" SW_SHOWNORMAL
 | 
					  CreateShortCut "$DESKTOP\Grafx2.lnk" "$INSTDIR\bin\grafx2.exe" "" "" "" SW_SHOWNORMAL
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SectionEnd
 | 
					SectionEnd
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -141,34 +230,109 @@ SectionEnd
 | 
				
			|||||||
Section "un.SecProgram"
 | 
					Section "un.SecProgram"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  ;ADD YOUR OWN FILES HERE...
 | 
					  ;ADD YOUR OWN FILES HERE...
 | 
				
			||||||
  Delete "$INSTDIR\grafx2.exe"
 | 
					  Delete "$INSTDIR\bin\grafx2.exe"
 | 
				
			||||||
  Delete "$INSTDIR\src-2.1.1026.tgz"
 | 
					  Delete "$INSTDIR\src-2.4.wip2023.tgz"
 | 
				
			||||||
  Delete "$INSTDIR\gfx2.gif"
 | 
					  Delete "$INSTDIR\share\grafx2\gfx2.gif"
 | 
				
			||||||
  Delete "$INSTDIR\gfx2def.ini"
 | 
					  Delete "$INSTDIR\share\grafx2\gfx2def.ini"
 | 
				
			||||||
  Delete "$INSTDIR\SDL_image.dll"
 | 
					  Delete "$INSTDIR\bin\SDL_image.dll"
 | 
				
			||||||
  Delete "$INSTDIR\SDL.dll"
 | 
					  Delete "$INSTDIR\bin\SDL.dll"
 | 
				
			||||||
  Delete "$INSTDIR\libfreetype-6.dll"
 | 
					  Delete "$INSTDIR\bin\libfreetype-6.dll"
 | 
				
			||||||
  Delete "$INSTDIR\SDL_ttf.dll"
 | 
					  Delete "$INSTDIR\bin\SDL_ttf.dll"
 | 
				
			||||||
  Delete "$INSTDIR\zlib1.dll"
 | 
					  Delete "$INSTDIR\bin\zlib1.dll"
 | 
				
			||||||
  Delete "$INSTDIR\libpng13.dll"
 | 
					  Delete "$INSTDIR\bin\libpng14-14.dll"
 | 
				
			||||||
  Delete "$INSTDIR\doc\README.txt"
 | 
					  Delete "$INSTDIR\bin\stdout.txt"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\bin\stderr.txt"
 | 
				
			||||||
 | 
					  RMDir  "$INSTDIR\bin"
 | 
				
			||||||
  Delete "$INSTDIR\doc\COMPILING.txt"
 | 
					  Delete "$INSTDIR\doc\COMPILING.txt"
 | 
				
			||||||
  Delete "$INSTDIR\doc\README-SDL_ttf.txt"
 | 
					  Delete "$INSTDIR\doc\PF_fonts.txt"
 | 
				
			||||||
  Delete "$INSTDIR\doc\README-SDL.txt"
 | 
					  Delete "$INSTDIR\doc\README-SDL.txt"
 | 
				
			||||||
  Delete "$INSTDIR\doc\README-SDL_image.txt"
 | 
					  Delete "$INSTDIR\doc\README-SDL_image.txt"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\doc\README-SDL_ttf.txt"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\doc\README-lua.txt"
 | 
				
			||||||
  Delete "$INSTDIR\doc\README-zlib1.txt"
 | 
					  Delete "$INSTDIR\doc\README-zlib1.txt"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\doc\README.txt"
 | 
				
			||||||
  Delete "$INSTDIR\doc\gpl-2.0.txt"
 | 
					  Delete "$INSTDIR\doc\gpl-2.0.txt"
 | 
				
			||||||
  RMDir  "$INSTDIR\doc"
 | 
					  RMDir  "$INSTDIR\doc"
 | 
				
			||||||
  Delete "$INSTDIR\fonts\8pxfont.png"
 | 
					  Delete "$INSTDIR\share\grafx2\fonts\8pxfont.png"
 | 
				
			||||||
  Delete "$INSTDIR\fonts\Tuffy.ttf"
 | 
					  Delete "$INSTDIR\share\grafx2\fonts\Tuffy.ttf"
 | 
				
			||||||
  RMDir  "$INSTDIR\fonts"
 | 
					  Delete "$INSTDIR\share\grafx2\fonts\PF_Arma_5__.png"
 | 
				
			||||||
  Delete "$INSTDIR\skins\font_Classic.png"
 | 
					  Delete "$INSTDIR\share\grafx2\fonts\PF_Easta_7_.png"
 | 
				
			||||||
  Delete "$INSTDIR\skins\font_Fun.png"
 | 
					  Delete "$INSTDIR\share\grafx2\fonts\PF_Easta_7__.png"
 | 
				
			||||||
  Delete "$INSTDIR\skins\skin_classic.png"
 | 
					  Delete "$INSTDIR\share\grafx2\fonts\PF_Ronda_7__.png"
 | 
				
			||||||
  Delete "$INSTDIR\skins\skin_modern.png"
 | 
					  Delete "$INSTDIR\share\grafx2\fonts\PF_Tempesta_5.png"
 | 
				
			||||||
  RMDir  "$INSTDIR\skins"
 | 
					  Delete "$INSTDIR\share\grafx2\fonts\PF_Tempesta_5_.png"
 | 
				
			||||||
  
 | 
					  Delete "$INSTDIR\share\grafx2\fonts\PF_Tempesta_5__.png"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\fonts\PF_Tempesta_5___.png"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\fonts\PF_Tempesta_7.png"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\fonts\PF_Tempesta_7_.png"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\fonts\PF_Tempesta_7__.png"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\fonts\PF_Tempesta_7___.png"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\fonts\PF_Westa_7_.png"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\fonts\PF_Westa_7__.png"
 | 
				
			||||||
 | 
					  RMDir  "$INSTDIR\share\grafx2\fonts"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\skins\font_Classic.png"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\skins\font_Fun.png"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\skins\font_Fairlight.png"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\skins\font_Melon.png"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\skins\font_DPaint.png"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\skins\font_Seen.png"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\skins\skin_classic.png"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\skins\skin_Aurora.png"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\skins\skin_modern.png"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\skins\skin_DPaint.png"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\skins\skin_scenish.png"
 | 
				
			||||||
 | 
					  RMDir  "$INSTDIR\share\grafx2\skins"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\brush\ApplyColor.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\brush\Fisheye.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\brush\GrayscaleAvg.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\brush\GrayscaleDesat.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\brush\Halfsmooth.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\brush\Waves.lua"
 | 
				
			||||||
 | 
					  RMDir  "$INSTDIR\share\grafx2\scripts\samples_2.4\brush"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\demo\brush\Amigaball.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\demo\brush\ColorSphere.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\demo\brush\FindAA.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\demo\brush\Mandelbrot.lua"
 | 
				
			||||||
 | 
					  RMDir  "$INSTDIR\share\grafx2\scripts\samples_2.4\demo\brush"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\demo\3DPalette.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\demo\Ellipse.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\demo\FlipPicture.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\demo\SierpinskyCarpet.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\demo\SierpinskyTriangle.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\demo\Spritesheet.lua"
 | 
				
			||||||
 | 
					  RMDir  "$INSTDIR\share\grafx2\scripts\samples_2.4\demo"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\libs\dawnbringer_lib.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\libs\memory.lua"
 | 
				
			||||||
 | 
					  RMDir  "$INSTDIR\share\grafx2\scripts\samples_2.4\libs"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\palette\Desaturate.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\palette\ExpandColors.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\palette\FillColorCube.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\palette\InvertedRGB.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\palette\Set3bit.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\palette\Set6bit.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\palette\SetC64Palette.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\palette\ShiftHue.lua"
 | 
				
			||||||
 | 
					  RMDir  "$INSTDIR\share\grafx2\scripts\samples_2.4\palette"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\picture\CellColourReducer.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\picture\DrawGridIsometric.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\picture\DrawgridOrthogonal_Index.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\picture\DrawGridOrthogonal_RGB.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\picture\GlassGridFilter.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\picture\PaletteToPicture.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\picture\Pic2isometric.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\picture\Rainbow-Dark2Bright.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\picture\RemapImage2RGB.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\picture\RemapImage2RGB_ed.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\picture\RemapImageTo3bitPal.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\picture\Tiler.lua"
 | 
				
			||||||
 | 
					  Delete "$INSTDIR\share\grafx2\scripts\samples_2.4\picture\XBitColourXpaceFromPalette.lua"
 | 
				
			||||||
 | 
					  RMDir  "$INSTDIR\share\grafx2\scripts\samples_2.4\picture"
 | 
				
			||||||
 | 
					  RMDir  "$INSTDIR\share\grafx2\scripts\samples_2.4"
 | 
				
			||||||
 | 
					  RMDir  "$INSTDIR\share\grafx2\scripts"
 | 
				
			||||||
 | 
					  RMDir  "$INSTDIR\share\grafx2"
 | 
				
			||||||
 | 
					  RMDir  "$INSTDIR\share"
 | 
				
			||||||
  Delete "$INSTDIR\Uninstall.exe"
 | 
					  Delete "$INSTDIR\Uninstall.exe"
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
  MessageBox MB_YESNO|MB_DEFBUTTON2|MB_ICONQUESTION "Do you wish to keep your configuration settings ?" IDYES keepconfig IDNO deleteconfig
 | 
					  MessageBox MB_YESNO|MB_DEFBUTTON2|MB_ICONQUESTION "Do you wish to keep your configuration settings ?" IDYES keepconfig IDNO deleteconfig
 | 
				
			||||||
  deleteconfig:
 | 
					  deleteconfig:
 | 
				
			||||||
  Delete "$INSTDIR\gfx2.cfg"
 | 
					  Delete "$INSTDIR\gfx2.cfg"
 | 
				
			||||||
 | 
				
			|||||||
@ -1,2 +1,2 @@
 | 
				
			|||||||
char Program_version[]="2.4wip";
 | 
					char Program_version[]="2.4";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user