Stringscan

Check-in [d8f7feac05]
Login

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

Overview
Comment:Update for Windows build
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:d8f7feac05d35a84662a873f8726f1cf2ee9a72db06d5de6af1876ecc58f88f8
User & Date: kevin 2017-07-11 02:51:13
Context
2017-07-11
03:09
More tweaks for Windows build check-in: 123ba249da user: kevin tags: trunk
02:51
Update for Windows build check-in: d8f7feac05 user: kevin tags: trunk
2017-07-10
02:57
Update Windows images check-in: f9e00ee456 user: kevin tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to install.bat.

9
10
11
12
13
14
15
16

17
18
19
20
21
22
23
..
45
46
47
48
49
50
51
52
53
54
55
56
57
58
 
if not exist %config_dir% (
mkdir %config_dir%
)
call 7za  x stringscan.zip
xcopy bin %install_dir%\bin /s /i /y
xcopy lib %install_dir%\lib /s /i /y
xcopy stringscan %install_dir%\stringscan /s /i /y

copy /Y uninstall.bat %config_dir%\
copy /Y stringscan.ico %config_dir%\

::test for key, add to registry
reg query "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Stringscan.exe"
if errorlevel 0 (
reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Stringscan.exe" /f
................................................................................
cd %startdir%

::mklink /H Stringscan.exe "%appdata%\Stringscan_App\stringscan\Stringscan.exe"

echo Set oWS = WScript.CreateObject("WScript.Shell") >%temp%\link.vbs
echo sLinkFile = "Stringscan.lnk" >>  %temp%\link.vbs
echo Set oLink = oWS.CreateShortcut(sLinkFile) >>  %temp%\link.vbs
echo oLink.TargetPath = "%appdata%\Stringscan_App\stringscan\Stringscan.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.







|
>







 







|






9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
..
46
47
48
49
50
51
52
53
54
55
56
57
58
59
 
if not exist %config_dir% (
mkdir %config_dir%
)
call 7za  x stringscan.zip
xcopy bin %install_dir%\bin /s /i /y
xcopy lib %install_dir%\lib /s /i /y
xcopy include %install_dir%\include /s /i /y
xcopy share %install_dir%\share /s /i /y
copy /Y uninstall.bat %config_dir%\
copy /Y stringscan.ico %config_dir%\

::test for key, add to registry
reg query "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Stringscan.exe"
if errorlevel 0 (
reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Stringscan.exe" /f
................................................................................
cd %startdir%

::mklink /H Stringscan.exe "%appdata%\Stringscan_App\stringscan\Stringscan.exe"

echo Set oWS = WScript.CreateObject("WScript.Shell") >%temp%\link.vbs
echo sLinkFile = "Stringscan.lnk" >>  %temp%\link.vbs
echo Set oLink = oWS.CreateShortcut(sLinkFile) >>  %temp%\link.vbs
echo oLink.TargetPath = "%appdata%\Stringscan_App\bin\Stringscan.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.

Added makeinstaller.bat.





















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

iexpress /n stringscan.sed

set VERSION="1.0.0.0 (%date%)"
set FILEDESCR=/s desc "Installer for Stringscan"
set COMPINFO=/s company "WordTech Communications LLC" /s (c) "(c) 2017"
set PRODINFO=/s product "Stringscan" /pv "1.0.0.0"

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