Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add icon, update scripts |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
7956ecc65a9bd821a7e4b27828e13db7 |
User & Date: | kevin 2016-08-20 02:41:08 |
Context
2016-08-22
| ||
02:41 | Add files to fill out Windows build check-in: 813b0562e7 user: kevin tags: trunk | |
2016-08-20
| ||
02:41 | Add icon, update scripts check-in: 7956ecc65a user: kevin tags: trunk | |
02:05 | Add batch scripts check-in: dd0e6ab7bd user: kevin tags: trunk | |
Changes
Changes to build.bat.
︙ | ︙ | |||
17 18 19 20 21 22 23 24 25 26 27 | call xcopy C:\Tcl\bin\*.dll build\textsweep\ /s /i /y call xcopy C:\Tcl\lib build\lib /s /i /y call xcopy C:\Tcl\bin build\bin /s /i /y call windres icons.rc -o coff -o icons.o call windres versioninfo.rc -o coff -o versioninfo.o call buildexe %pythondir% call xcopy TextSweep.exe build\textsweep\ | > | 17 18 19 20 21 22 23 24 25 26 27 28 | call xcopy C:\Tcl\bin\*.dll build\textsweep\ /s /i /y call xcopy C:\Tcl\lib build\lib /s /i /y call xcopy C:\Tcl\bin build\bin /s /i /y call windres icons.rc -o coff -o icons.o call windres versioninfo.rc -o coff -o versioninfo.o set pythondir="C:\Users\kevin\AppData\Local\Programs\Python\Python35" call buildexe %pythondir% call xcopy TextSweep.exe build\textsweep\ |
Changes to install.bat.
1 2 | @echo off ::configure and install app files | | | | | | | | | | | | | | | | | | | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | @echo off ::configure and install app files set install_dir="%appdata%\TextSweep_App\" set config_dir="%appdata%\TextSweep\" set config if not exist %install_dir% ( mkdir %install_dir% ) if not exist %config_dir% ( mkdir %config_dir% ) call 7za x textsweep.zip xcopy bin %install_dir%\bin /s /i /y xcopy lib %install_dir%\lib /s /i /y xcopy textsweep %install_dir%\textsweep /s /i /y copy /Y uninstall.bat %config_dir%\ copy /Y textsweep.ico %config_dir%\ ::test for key, add to registry reg query "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\TextSweep.exe" if errorlevel 0 ( reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\TextSweep.exe" /f ) reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\TextSweep.exe" /f reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\TextSweep.exe" /ve /d "%appdata%\FileMorph_App\textsweep\TextSweep.exe" /f reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TextSweep" /f reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TextSweep" /f /v "DisplayIcon" /t REG_SZ /d "%appdata%\TextSweep\textsweep.ico" reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TextSweep" /f /v "DisplayName" /t REG_SZ /d "TextSweep" reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TextSweep" /f /v "InstallLocation" /t REG_SZ /d "%install_dir%" reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TextSweep" /f /v "Publisher" /t REG_SZ /d "WordTech Communications LLC" reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TextSweep" /f /v "InstallDate" /t REG_SZ /d %DATE% reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TextSweep" /f /v "Version" /t REG_SZ /d 2.5.0 reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TextSweep" /f /v "UninstallString" /t REG_SZ /d "cmd /c %appdata%\TextSweep\uninstall.bat" ::add to start menu set startdir="%appdata%\Microsoft\Windows\Start Menu\TextSweep\" if not exist %startdir% ( mkdir %startdir% ) cd %startdir% ::mklink /H TextSweep.exe "%appdata%\FileMorph_App\textsweep\TextSweep.exe" echo Set oWS = WScript.CreateObject("WScript.Shell") >%temp%\link.vbs echo sLinkFile = "TextSweep.lnk" >> %temp%\link.vbs echo Set oLink = oWS.CreateShortcut(sLinkFile) >> %temp%\link.vbs echo oLink.TargetPath = "%appdata%\FileMorph_App\textsweep\TextSweep.exe" >> %temp%\link.vbs echo oLink.Save >> %temp%\link.vbs call %temp%\link.vbs del %temp%\link.vbs cd C:\Users\%username%\Desktop echo Done. |
Changes to makeinstaller.bat.
|
| | | | | | 1 2 3 4 5 6 7 8 9 10 | call 7za a textsweep.zip .\build\* iexpress /n textsweep.sed set VERSION="2.7.0.0 (%date%)" set FILEDESCR=/s desc "Installer for TextSweep" set COMPINFO=/s company "WordTech Communications LLC" /s (c) "(c) 2016" set PRODINFO=/s product "TextSweep" /pv "2.7.0.0" "C:\Users\kevin\Desktop\verpatch.exe" /va FileMorph_Setup.exe %VERSION% %FILEDESCR% %COMPINFO% %PRODINFO% |
Added textsweep.ico.
cannot compute difference between binary files
Changes to uninstall.bat.
1 2 3 4 5 6 7 8 9 10 11 12 13 | @echo off call :confirm if "%yesno%"=="6" ( call :remove ) else ( call :cancel ) exit /b :confirm ::returns 6 = Yes, 7 = No. set yesno= | | | | | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | @echo off call :confirm if "%yesno%"=="6" ( call :remove ) else ( call :cancel ) exit /b :confirm ::returns 6 = Yes, 7 = No. set yesno= echo wscript.echo MsgBox("Do you want to uninstall TextSweep?", vbYesNo+vbInformation, "Uninstall") > %temp%\confirm.vbs for /f "tokens=* delims=" %%a in ('cscript //nologo "%temp%\confirm.vbs"') do set yesno=%%a del %temp%\confirm.vbs /f /q exit /b :remove reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\TextSweep.exe" /f reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TextSweep" /f rmdir "%appdata%\Microsoft\Windows\Start Menu\TextSweep" /s /q echo MsgBox "Uninstallation of TextSweep is complete.", vbOKOnly+vbInformation, "Uninstall"> %temp%\remove.vbs call %temp%\remove.vbs del %temp%\remove.vbs /f /q rmdir %appdata%\FileMorph_App /s /q start /b "" cmd /c rmdir "%appdata%\TextSweep\" /s /q && exit :cancel echo MsgBox "Uninstallation of TextSweep cancelled.",vbOKOnly+vbInformation, "Uninstall TextSweep" > %temp%\cancel.vbs call %temp%\cancel.vbs del %temp%\cancel.vbs /f /q exit /b |