TextSweep

Check-in [1863cbfba2]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Update installer
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1863cbfba210374332eae7542638322b9675fdac
User & Date: kevin 2016-09-03 22:25:18
Context
2016-09-03
22:28
Update windows image check-in: f7571899b4 user: kevin tags: trunk
22:25
Update installer check-in: 1863cbfba2 user: kevin tags: trunk
21:51
Add win images check-in: 20baeed25e user: kevin tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to install.bat.

45
46
47
48
49
50
51
52
53
54
55
56
57
58
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.







|






45
46
47
48
49
50
51
52
53
54
55
56
57
58
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%\TextSweep_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% 




|


|

|
1
2
3
4
5
6
7
8
9
10
call 7za a textsweep.zip .\build\*

iexpress /n textsweep.sed

set VERSION="3.0.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 "3.0.0.0"

"C:\Users\kevin\Desktop\verpatch.exe" /va TextSweep_Setup.exe %VERSION% %FILEDESCR% %COMPINFO% %PRODINFO% 

Changes to scriptlibs/textsweep/textsweep-main.tcl.

342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
    ttk::button .f.bottom.replaceall -text "Replace in All Files" -command  batchReplace -default active
    ttk::button .f.bottom.undo -text "Undo" -command batchUndo
    
    pack  .f.bottom.replaceall .f.bottom.undo -side right -fill x -expand no

    bind .f.text.t <Button-1> {focus .f.text.t} 
    
    

    bind all <[xplat::controlkey]-Q> exit
    bind all <[xplat::controlkey]-q> exit
    bind all <[xplat::controlkey]-Z> batchUndo
    bind all <[xplat::controlkey]-z> batchUndo

    focus -force .f.foldersearch.foldervar
    







<
<







342
343
344
345
346
347
348


349
350
351
352
353
354
355
    ttk::button .f.bottom.replaceall -text "Replace in All Files" -command  batchReplace -default active
    ttk::button .f.bottom.undo -text "Undo" -command batchUndo
    
    pack  .f.bottom.replaceall .f.bottom.undo -side right -fill x -expand no

    bind .f.text.t <Button-1> {focus .f.text.t} 
    


    bind all <[xplat::controlkey]-Q> exit
    bind all <[xplat::controlkey]-q> exit
    bind all <[xplat::controlkey]-Z> batchUndo
    bind all <[xplat::controlkey]-z> batchUndo

    focus -force .f.foldersearch.foldervar
    

Changes to uninstall.bat.

21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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







|








21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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%\TextSweep_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