TextSweep

Check-in [79ee37d477]
Login

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

Overview
Comment:Tweaks for Windows installer
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:79ee37d4778702145656e5ce9bb8df05b9daf5ba
User & Date: kevin 2016-09-07 01:42:18
Context
2016-09-13
13:16
Fix in Mac build script check-in: 78a8a4f2f4 user: kevin tags: trunk
2016-09-07
01:42
Tweaks for Windows installer check-in: 79ee37d477 user: kevin tags: trunk
2016-09-05
02:24
Final Mac deployment check-in: 63b0a9e9a1 user: kevin tags: trunk
Changes
Hide Diffs Unified Diffs Show Whitespace Changes Patch

Changes to install.bat.

19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
..
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58

::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"
................................................................................
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%\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.







|







 







|











19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
..
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58

::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%\TextSweep_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"
................................................................................
set startdir="%appdata%\Microsoft\Windows\Start Menu\TextSweep\"

if not exist %startdir% (
mkdir %startdir%
)
cd %startdir%

::mklink /H TextSweep.exe "%appdata%\TextSweep_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.