filemorph

Check-in [05e8b1384b]
Login

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

Overview
Comment:Finalize Windows installation
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 05e8b1384bdbca64684f9ee78fc7223cb081a235
User & Date: kevin 2020-04-27 03:32:11
Context
2020-04-29
02:07
Mac release check-in: 6e7890a4ed user: kevin tags: trunk
2020-04-27
03:32
Finalize Windows installation check-in: 05e8b1384b user: kevin tags: trunk
2020-04-26
02:36
Tweak build for Windows check-in: c7d5da2991 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
21
22
23
24

25
26
SET COPYCMD=/Y

if exist FileMorph.exe (
del FileMorph.exe
)









if exist build\ {
rmdir /s /q build\
)




call perltidy --pt=2 --bbt=2 --sbt=2 --naws filemorph.pl

call move /y filemorph.pl.tdy filemorph.pl


call xcopy scriptlibs Tcl86\lib /s /i /y
call xcopy winlibs Tcl86\lib /s /i /y


call pp   -C -M Encode::Byte  -l tcl86t.dll -l tk86t.dll  -a "Tcl86;script/Tcl86" filemorph.pl -o FileMorph-unsigned.exe 


call xcopy C:\Users\Kevin\Desktop\DDECmd.exe build\
call xcopy filemorph-add-to-name.bat build\
call xcopy filemorph-change-extension.bat build\
call xcopy filemorph-change-text.bat build\





|
|


>
>
>
>
>
>
>
>
|


>
>
>









>
|
>





>


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
34
35
36
37
38
39
40
SET COPYCMD=/Y

if exist FileMorph-unsigned.exe (
del FileMorph-unsigned.exe
)

if exist FileMorph_Setup-unsigned.exe (
del FileMorph_Setup-unsigned.exe
)

if exist FileMorph_Setup.exe (
del FileMorph_Setup.exe
)

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

if exist filemorph.zip (
del filemorph.zip)

call perltidy --pt=2 --bbt=2 --sbt=2 --naws filemorph.pl

call move /y filemorph.pl.tdy filemorph.pl


call xcopy scriptlibs Tcl86\lib /s /i /y
call xcopy winlibs Tcl86\lib /s /i /y

call pp --gui -C -M Encode::Byte  -l Tcl86/bin/tcl86t.dll -l Tcl86/bin/tk86t.dll  filemorph.pl -o FileMorph-unsigned.exe 

::--gui  

call xcopy C:\Users\Kevin\Desktop\DDECmd.exe build\
call xcopy filemorph-add-to-name.bat build\
call xcopy filemorph-change-extension.bat build\
call xcopy filemorph-change-text.bat build\
call xcopy /s Tcl86 build\Tcl86\


Changes to install.bat.

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
34
)
 
if not exist %config_dir% (
mkdir %config_dir%
)

copy /Y filemorph.zip %install_dir%\
call 7za x %install_dir%\filemorph.zip -o %install_dir%
del %install_dir%\filemorph.zip /f /q
copy /Y uninstall.bat %config_dir%\
copy /Y filemorph.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\FileMorph.lnk"
if errorlevel 0 (
reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\FileMorph.lnk" /f
)
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\FileMorph.lnk" /f
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\FileMorph.lnk"  /ve /d "%appdata%\FileMorph_App\filemorph\FileMorph.lnk" /f
 
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FileMorph" /f
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FileMorph" /f /v "DisplayIcon" /t REG_SZ /d "%appdata%\FileMorph\filemorph.ico"
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FileMorph" /f /v "DisplayName" /t REG_SZ /d "FileMorph"
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FileMorph" /f /v "InstallLocation" /t REG_SZ /d "%install_dir%"

reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FileMorph" /f /v "Publisher" /t REG_SZ /d "WordTech Communications LLC"







|











|







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
34
)
 
if not exist %config_dir% (
mkdir %config_dir%
)

copy /Y filemorph.zip %install_dir%\
call 7za x %install_dir%\filemorph.zip -o%install_dir%
del %install_dir%\filemorph.zip /f /q
copy /Y uninstall.bat %config_dir%\
copy /Y filemorph.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\FileMorph.lnk"
if errorlevel 0 (
reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\FileMorph.lnk" /f
)
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\FileMorph.lnk" /f
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\FileMorph.lnk"  /ve /d "%appdata%\FileMorph_App\FileMorph.lnk" /f
 
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FileMorph" /f
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FileMorph" /f /v "DisplayIcon" /t REG_SZ /d "%appdata%\FileMorph\filemorph.ico"
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FileMorph" /f /v "DisplayName" /t REG_SZ /d "FileMorph"
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FileMorph" /f /v "InstallLocation" /t REG_SZ /d "%install_dir%"

reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FileMorph" /f /v "Publisher" /t REG_SZ /d "WordTech Communications LLC"