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 Side-by-Side Diffs Ignore Whitespace Patch

Changes to install.bat.

    19     19   
    20     20   ::test for key, add to registry
    21     21   reg query "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\TextSweep.exe"
    22     22   if errorlevel 0 (
    23     23   reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\TextSweep.exe" /f
    24     24   )
    25     25   reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\TextSweep.exe" /f
    26         -reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\TextSweep.exe"  /ve /d "%appdata%\FileMorph_App\textsweep\TextSweep.exe" /f
           26  +reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\TextSweep.exe"  /ve /d "%appdata%\TextSweep_App\textsweep\TextSweep.exe" /f
    27     27    
    28     28   reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TextSweep" /f
    29     29   reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TextSweep" /f /v "DisplayIcon" /t REG_SZ /d "%appdata%\TextSweep\textsweep.ico"
    30     30   reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TextSweep" /f /v "DisplayName" /t REG_SZ /d "TextSweep"
    31     31   reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TextSweep" /f /v "InstallLocation" /t REG_SZ /d "%install_dir%"
    32     32   
    33     33   reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TextSweep" /f /v "Publisher" /t REG_SZ /d "WordTech Communications LLC"
................................................................................
    40     40   set startdir="%appdata%\Microsoft\Windows\Start Menu\TextSweep\"
    41     41   
    42     42   if not exist %startdir% (
    43     43   mkdir %startdir%
    44     44   )
    45     45   cd %startdir%
    46     46   
    47         -::mklink /H TextSweep.exe "%appdata%\FileMorph_App\textsweep\TextSweep.exe"
           47  +::mklink /H TextSweep.exe "%appdata%\TextSweep_App\textsweep\TextSweep.exe"
    48     48   
    49     49   echo Set oWS = WScript.CreateObject("WScript.Shell") >%temp%\link.vbs
    50     50   echo sLinkFile = "TextSweep.lnk" >>  %temp%\link.vbs
    51     51   echo Set oLink = oWS.CreateShortcut(sLinkFile) >>  %temp%\link.vbs
    52     52   echo oLink.TargetPath = "%appdata%\TextSweep_App\textsweep\TextSweep.exe" >> %temp%\link.vbs
    53     53   echo oLink.Save >>  %temp%\link.vbs
    54     54   call  %temp%\link.vbs
    55     55   del %temp%\link.vbs
    56     56   
    57     57   cd C:\Users\%username%\Desktop
    58     58   echo Done.