QuickWho

Check-in [2974ae3a30]
Login

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

Overview
Comment:Move forward with Windows build
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:2974ae3a3076e66e6e2d92c5b137cbd5562e368a
User & Date: kevin 2020-02-28 03:44:40
Context
2020-03-12
12:25
Final tweaks check-in: 21c6eda9ca user: kevin tags: trunk
2020-02-28
03:44
Move forward with Windows build check-in: 2974ae3a30 user: kevin tags: trunk
2020-02-23
03:25
More work on Windows build check-in: b680e2f7a7 user: kevin tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to build.bat.

1
2
3
4
5
6




7
8
9
10
11
12
13
14
15
16
17
18
19
20
SET COPYCMD=/Y


if exist build\ (
rd build\ /s /q
)





call python setup.py build

call xcopy build\exe.win-amd64-3.8 build\ /s

call xcopy uninstall.bat build\
call xcopy quickwho.ico build\
call xcopy C:\Users\Kevin\Desktop\pathed.exe build\
call xcopy C:\Users\Kevin\Desktop\DDECmd.exe build\
call xcopy quickwho-cli.bat build\

rmdir build\exe.win-amd64-3.8 /s /q








>
>
>
>





|
<







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

17
18
19
20
21
22
23
SET COPYCMD=/Y


if exist build\ (
rd build\ /s /q
)

if exist quickwho.zip {
del quickwho.zip /f /q
)

call python setup.py build

call xcopy build\exe.win-amd64-3.8 build\ /s



call xcopy C:\Users\Kevin\Desktop\pathed.exe build\
call xcopy C:\Users\Kevin\Desktop\DDECmd.exe build\
call xcopy quickwho-cli.bat build\

rmdir build\exe.win-amd64-3.8 /s /q


Changes to install.bat.

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
..
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
@echo off
::configure and install app files
set install_dir="%appdata%\QuickWho_App\"
set config_dir="%appdata%\QuickWho\"
if not exist %install_dir% (
mkdir %install_dir%
)
 
if not exist %config_dir% (
mkdir %config_dir%
)
call 7za  x quickwho.zip
xcopy bin %install_dir%\bin /s /i /y
xcopy lib %install_dir%\lib /s /i /y
xcopy quickwho %install_dir%\quickwho /s /i /y
copy /Y uninstall.bat %config_dir%\
copy /Y quickwho.ico %config_dir%\
copy /Y pathed.exe %config_dir%\

::test for key, add to registry
reg query "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\QuickWho.lnk"
if errorlevel 0 (
reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\QuickWho.lnk" /f
)
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\QuickWho.lnk" /f
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\QuickWho.lnk"  /ve /d "%appdata%\QuickWho_App\quickwho\QuickWho.lnk" /f
 
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\QuickWho" /f
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\QuickWho" /f /v "DisplayIcon" /t REG_SZ /d "%appdata%\QuickWho\quickwho.ico"
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\QuickWho" /f /v "DisplayName" /t REG_SZ /d "QuickWho"
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\QuickWho" /f /v "InstallLocation" /t REG_SZ /d "%install_dir%"

reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\QuickWho" /f /v "Publisher" /t REG_SZ /d "WordTech Communications LLC"
................................................................................
mkdir %startdir%
)
cd %startdir%

echo Set oWS = WScript.CreateObject("WScript.Shell") >%temp%\link.vbs
echo sLinkFile = "QuickWho.lnk" >>  %temp%\link.vbs
echo Set oLink = oWS.CreateShortcut(sLinkFile) >>  %temp%\link.vbs
echo oLink.TargetPath = "%appdata%\QuickWho_App\quickwho\QuickWho.lnk" >> %temp%\link.vbs
echo oLink.IconLocation = %config_dir% + "quickwho.ico" >> %temp%\link.vbs
echo oLink.Save >>  %temp%\link.vbs
call  %temp%\link.vbs
del %temp%\link.vbs

call %config_dir%\pathed.exe -a "%appdata%\QuickWho_App\bin"

cd C:\Users\%username%\Desktop
echo Done.
|











|
|
|





|

|

|
|







 







|





|



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
..
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
 @echo off
::configure and install app files
set install_dir="%appdata%\QuickWho_App\"
set config_dir="%appdata%\QuickWho\"
if not exist %install_dir% (
mkdir %install_dir%
)
 
if not exist %config_dir% (
mkdir %config_dir%
)
call 7za  x quickwho.zip
xcopy quickwho.zip %install_dir%\
call 7za x %install_dir%\quickwho.zip
del %install_dir%\quickwho.zip /f /q
copy /Y uninstall.bat %config_dir%\
copy /Y quickwho.ico %config_dir%\
copy /Y pathed.exe %config_dir%\

::test for key, add to registry
reg query "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\QuickWho.exe"
if errorlevel 0 (
reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\QuickWho.exe" /f
)
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\QuickWho.exe" /f
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\QuickWho.exe"  /ve /d "%appdata%\QuickWho_App\QuickWho.exe" /f
 
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\QuickWho" /f
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\QuickWho" /f /v "DisplayIcon" /t REG_SZ /d "%appdata%\QuickWho\quickwho.ico"
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\QuickWho" /f /v "DisplayName" /t REG_SZ /d "QuickWho"
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\QuickWho" /f /v "InstallLocation" /t REG_SZ /d "%install_dir%"

reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\QuickWho" /f /v "Publisher" /t REG_SZ /d "WordTech Communications LLC"
................................................................................
mkdir %startdir%
)
cd %startdir%

echo Set oWS = WScript.CreateObject("WScript.Shell") >%temp%\link.vbs
echo sLinkFile = "QuickWho.lnk" >>  %temp%\link.vbs
echo Set oLink = oWS.CreateShortcut(sLinkFile) >>  %temp%\link.vbs
echo oLink.TargetPath = "%appdata%\QuickWho_App\QuickWho.exe" >> %temp%\link.vbs
echo oLink.IconLocation = %config_dir% + "quickwho.ico" >> %temp%\link.vbs
echo oLink.Save >>  %temp%\link.vbs
call  %temp%\link.vbs
del %temp%\link.vbs

call %config_dir%\pathed.exe -a "%appdata%\QuickWho_App\"

cd C:\Users\%username%\Desktop
echo Done.

Changes to quickwho.sed.

21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
UserQuietInstCmd=%UserQuietInstCmd%
SourceFiles=SourceFiles

[Strings]
InstallPrompt=Would you like to install QuickWho and its supporting files?
DisplayLicense=C:\Users\kevin\Desktop\quickwho\mit.txt
FinishMessage=Thank you for installing QuickWho. To run the program, please select it from the start menu.
TargetName=C:\Users\kevin\Desktop\quickwho\QuickWho_Setup.exe
FriendlyName=QuickWho_Setup
AppLaunched=cmd /c install.bat
PostInstallCmd=<None>
AdminQuietInstCmd=
UserQuietInstCmd=
FILE0="uninstall.bat"
FILE1="install.bat"







|







21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
UserQuietInstCmd=%UserQuietInstCmd%
SourceFiles=SourceFiles

[Strings]
InstallPrompt=Would you like to install QuickWho and its supporting files?
DisplayLicense=C:\Users\kevin\Desktop\quickwho\mit.txt
FinishMessage=Thank you for installing QuickWho. To run the program, please select it from the start menu.
TargetName=C:\Users\kevin\Desktop\quickwho\QuickWho_Setup_unsigned.exe
FriendlyName=QuickWho_Setup
AppLaunched=cmd /c install.bat
PostInstallCmd=<None>
AdminQuietInstCmd=
UserQuietInstCmd=
FILE0="uninstall.bat"
FILE1="install.bat"