Skip to content

Commit 80348a7

Browse files
update installer for windows.
1 parent e39a9c5 commit 80348a7

File tree

7 files changed

+40
-29
lines changed

7 files changed

+40
-29
lines changed

build.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ rem
77

88
set BASEDIR=%~dp0
99

10-
call "C:\Qt\6.6.1\msvc2019_64\bin\qtenv2.bat"
10+
call "C:\Qt\6.6.3\msvc2019_64\bin\qtenv2.bat"
1111
rem call "C:\Qt\5.13.0\msvc2017\bin\qtenv2.bat"
1212

1313
set ARCH=amd64

configure.bat

+8-3
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,19 @@ if "%QMAKE%" == "" (
6868
echo Qt environment not found
6969
exit /b
7070
)
71+
qmake --version
72+
7173
if "%CMAKE%" == "" (
7274
echo CMake not found
7375
exit /b
7476
)
77+
cmake --version
78+
7579
if "%MAKE%" == "" (
7680
echo Make not found
7781
exit /b
7882
)
83+
7984
if "%MSCOMPILER%" == "" if "%DEVENV%" == "" (
8085
echo Visual Studio compiler not found
8186
exit /b
@@ -170,7 +175,7 @@ cd %BASEDIR%3rdparty
170175
rd /s /q lz4 >nul 2>&1
171176
del /f /q lz4 >nul 2>&1
172177
mklink /j lz4 lz4-%LZ4_VERSION% >nul 2>&1
173-
del /f /q lz4\build\cmake\build >nul 2>&1
178+
rmdir /s /q lz4\build\cmake\build >nul 2>&1
174179
cmake %CMAKEOPT% -S lz4\build\cmake -B lz4\build\cmake\build -DBUILD_STATIC_LIBS=ON
175180
set BUILDCMD=cmake --build lz4\build\cmake\build --config Release --clean-first -j
176181
echo %BUILDCMD%
@@ -191,10 +196,10 @@ rd /s /q glog >nul 2>&1
191196
del /f /q glog >nul 2>&1
192197
mklink /j glog glog-%GLOG_VERSION% >nul 2>&1
193198
cd %BASEDIR%3rdparty\glog
194-
del /f /q build >nul 2>&1
199+
rmdir /s /q build >nul 2>&1
195200
set CMAKECMD=cmake -S . -B build %CMAKEOPT%
196201
echo %CMAKECMD%
197-
%CMAKECMD% >nul 2>&1
202+
%CMAKECMD%
198203
set CMAKECMD=cmake --build build -j
199204
echo %CMAKECMD%
200205
%CMAKECMD% >nul 2>&1

installer/create_installer.bat

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ set INCLUDE=
2424
set LIB=
2525
set PATH=C:\WINDOWS\system32;C:\WINDOWS
2626

27-
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
28-
call :build_msi "%QTBASE%\6.6.1\msvc2019_64\bin\qtenv2.bat" 6.6
27+
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
28+
call :build_msi "%QTBASE%\6.7.1\msvc2019_64\bin\qtenv2.bat" 6.7
2929

3030
:: Clear environment variables
3131
set VCToolsVersion=
@@ -35,8 +35,8 @@ set INCLUDE=
3535
set LIB=
3636
set PATH=C:\WINDOWS\system32;C:\WINDOWS
3737

38-
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
39-
call :build_msi "%QTBASE%\6.5.3\msvc2019_64\bin\qtenv2.bat" 6.5
38+
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
39+
call :build_msi "%QTBASE%\6.6.3\msvc2019_64\bin\qtenv2.bat" 6.6
4040

4141
call :build_setup treefrog-%VERSION%-msvc_64-setup.exe
4242

installer/msi/TreeFrog.wxs

+10-10
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
<!-- *** 基本的に 9行目,10行目,42行目,54行目も修正する (guidgen使用) *** -->
66

77
<!-- プロダクト情報 -->
8-
<Product Name='TreeFrog Framework 2.8.0'
9-
Id="9B2CAB7C-ECF7-468A-9AE9-4E13003C83E5"
10-
UpgradeCode="DFB3D407-86B9-4F17-AE38-85FD61588772"
8+
<Product Name='TreeFrog Framework 2.9.0'
9+
Id="DDB2A2E5-ECD1-4C0F-998F-533149FB3637"
10+
UpgradeCode="39124F5E-CBB3-4A79-90A0-C47729C9F506"
1111
Language='1041' Codepage='932'
12-
Version='2.8.0' Manufacturer='TreeFrog Framework Project'>
12+
Version='2.9.0' Manufacturer='TreeFrog Framework Project'>
1313

1414
<!-- パッケージ情報 -->
1515
<Package Id='*' Keywords='Installer'
@@ -27,21 +27,21 @@
2727
<Directory Id='TARGETDIR' Name='SourceDir'>
2828
<Directory Id='WINDOWSVOLUME'>
2929
<Directory Id='INSTALLDIR' Name='TreeFrog'>
30-
<Directory Id='VERSIONDIR' Name='2.8.0'>
30+
<Directory Id='VERSIONDIR' Name='2.9.0'>
3131
</Directory>
3232
</Directory>
3333
</Directory>
3434
<Directory Id="DesktopFolder" SourceName="Desktop"/>
3535
<Directory Id="ProgramMenuFolder">
36-
<Directory Id="ApplicationProgramsFolder" Name="TreeFrog Framework 2.8.0"/>
36+
<Directory Id="ApplicationProgramsFolder" Name="TreeFrog Framework 2.9.0"/>
3737
</Directory>
3838
</Directory>
3939

4040
<!-- デスクトップショートカット -->
4141
<DirectoryRef Id="DesktopFolder">
42-
<Component Id="DesktopShortcut" Guid="4F293293-9950-4927-8D88-E36FCF3D3FD9">
42+
<Component Id="DesktopShortcut" Guid="4CA80893-F007-4E29-A3B5-530ACE94C7EB">
4343
<Shortcut Id="PromptDesktopShortcut"
44-
Name="TreeFrog Prompt 2.8.0"
44+
Name="TreeFrog Prompt 2.9.0"
4545
Description="TreeFrog Framework Prompt"
4646
Target="[SystemFolder]cmd.exe" Arguments="/K [VERSIONDIR]bin\\tfenv.bat"
4747
WorkingDirectory="PersonalFolder"/>
@@ -51,12 +51,12 @@
5151

5252
<!-- プログラムメニューショートカット -->
5353
<DirectoryRef Id="ApplicationProgramsFolder">
54-
<Component Id="ApplicationShortcut" Guid="ACD6162C-9E89-4753-9142-D1E6F4ADF8DA">
54+
<Component Id="ApplicationShortcut" Guid="BE257E94-EA18-477F-B585-49E9D1B0E0C5">
5555
<CreateFolder Directory="ApplicationProgramsFolder"/>
5656

5757
<!-- Shortcut to TF prompt-->
5858
<Shortcut Id="PromptProgramMenuShortcut"
59-
Name="TreeFrog Prompt 2.8.0"
59+
Name="TreeFrog Prompt 2.9.0"
6060
Description="TreeFrog Framework Prompt"
6161
Target="[SystemFolder]cmd.exe" Arguments="/K [VERSIONDIR]bin\\tfenv.bat"
6262
WorkingDirectory="PersonalFolder"/>

installer/treefrog-setup/treefrog-setup/AssemblyInfo.cpp

+7-7
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,29 @@ using namespace System::Runtime::InteropServices;
77
using namespace System::Security::Permissions;
88

99
//
10-
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
11-
// アセンブリに関連付けられている情報を変更するには、
12-
// これらの属性値を変更してください。
10+
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
11+
// アセンブリに関連付けられている情報を変更するには、
12+
// これらの属性値を変更してください。
1313
//
1414
[assembly:AssemblyTitleAttribute("treefrogsetup")];
1515
[assembly:AssemblyDescriptionAttribute("")];
1616
[assembly:AssemblyConfigurationAttribute("")];
1717
[assembly:AssemblyCompanyAttribute("")];
1818
[assembly:AssemblyProductAttribute("treefrogsetup")];
19-
[assembly:AssemblyCopyrightAttribute("Copyright (c) 2010-2023")];
19+
[assembly:AssemblyCopyrightAttribute("Copyright (c) 2010-2024")];
2020
[assembly:AssemblyTrademarkAttribute("")];
2121
[assembly:AssemblyCultureAttribute("")];
2222

2323
//
24-
// アセンブリのバージョン情報は、以下の 4 つの値で構成されています:
24+
// アセンブリのバージョン情報は、以下の 4 つの値で構成されています:
2525
//
2626
// Major Version
2727
// Minor Version
2828
// Build Number
2929
// Revision
3030
//
31-
// すべての値を指定するか、下のように '*' を使ってリビジョンおよびビルド番号を
32-
// 既定値にすることができます:
31+
// すべての値を指定するか、下のように '*' を使ってリビジョンおよびビルド番号を
32+
// 既定値にすることができます:
3333

3434
[assembly:AssemblyVersionAttribute("2.9.0")];
3535

installer/treefrog-setup/treefrog-setup/MainForm.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ namespace treefrogsetup {
4747
//
4848
// バージョン
4949
//
50-
static initonly String^ VERSION_STR6_NEW = L"6.6";
51-
static initonly String^ VERSION_STR6_PREV = L"6.5";
50+
static initonly String^ VERSION_STR6_NEW = L"6.7";
51+
static initonly String^ VERSION_STR6_PREV = L"6.6";
5252

53-
static initonly int RCID_NEW = IDR_TREEFROG_QT606_MSI;
54-
static initonly int RCID_PREV = IDR_TREEFROG_QT605_MSI;
53+
static initonly int RCID_NEW = IDR_TREEFROG_QT607_MSI;
54+
static initonly int RCID_PREV = IDR_TREEFROG_QT606_MSI;
5555

5656
public:
5757
MainForm(void)

installer/treefrog-setup/treefrog-setup/resource.h

+6
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,9 @@
1313
#define IDR_TREEFROG_QT605_MSI 10605
1414
#define IDR_TREEFROG_QT606_MSI 10606
1515
#define IDR_TREEFROG_QT607_MSI 10607
16+
#define IDR_TREEFROG_QT608_MSI 10608
17+
#define IDR_TREEFROG_QT609_MSI 10609
18+
#define IDR_TREEFROG_QT610_MSI 10610
19+
#define IDR_TREEFROG_QT611_MSI 10611
20+
#define IDR_TREEFROG_QT612_MSI 10612
21+
#define IDR_TREEFROG_QT613_MSI 10613

0 commit comments

Comments
 (0)