Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4111214

Browse files
committed
Renamed installers to 32bit and 64bit (without X)
1 parent8c60e36 commit4111214

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

‎build/helpers/postgres_nsis_installer.cmd

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ SET DEFAULT_USER=postgres
1111
SETPRODUCT_PUBLISHER="Postgres Professional Russia"
1212
SETCOMPANY_NAME=PostgresPro
1313
SETPRODUCT_WEB_SITE="http://postgrespro.ru"
14+
15+
IF%ARCH%== X86 (
16+
SETBITS=32bit
17+
)else (
18+
SETBITS=64bit
19+
)
1420

1521
IF"%PRODUCT_NAME%"==""SETPRODUCT_NAME=PostgresPro
1622

@@ -26,18 +32,18 @@ IF "%PRODUCT_NAME%" == "PostgresProEnterprise" SET PG_DEF_SERVICEID="postgrespro
2632
IF%ONE_C%== YES (
2733
SETPRODUCT_NAME=PostgresPro 1C
2834
SETPG_DEF_SERVICEID="postgrespro-1C-${PRODUCT_VERSION}"
29-
SETPG_INS_SUFFIX="%ARCH%bit_1C_Setup.exe"
35+
SETPG_INS_SUFFIX="%BITS%_1C_Setup.exe"
3036
SETPG_REG_KEY="Software\Postgres Professional\${PRODUCT_NAME}\Installations\postgresql-${PRODUCT_VERSION}"
3137
SETPG_REG_SERVICE_KEY="Software\Postgres Professional\${PRODUCT_NAME}\Services\postgresql-${PRODUCT_VERSION}"
3238
SETPRODUCT_DIR_REGKEY="Software\Postgres Professional\${PRODUCT_NAME}\${PRODUCT_VERSION}"
33-
SETPRODUCT_VERSION="%PG_MAJOR_VERSION%"
39+
SETPRODUCT_VERSION="%PG_MAJOR_VERSION% (%BITS%)"
3440
)ELSE (
35-
SETPG_INS_SUFFIX="%ARCH%bit_Setup.exe"
41+
SETPG_INS_SUFFIX="%BITS%_Setup.exe"
3642
SETPG_REG_KEY="%PRODUCT_DIR_REGKEY%\Installations\postgresql-%PG_MAJOR_VERSION%"
3743
SETPG_REG_SERVICE_KEY="%PRODUCT_DIR_REGKEY%\Services\postgresql-%PG_MAJOR_VERSION%"
3844
SETPG_OLD_REG_KEY="%OLD_PRODUCT_DIR_REGKEY%\Installations\postgresql-%PG_MAJOR_VERSION%"
3945
SETPG_OLD_REG_SERVICE_KEY="%OLD_PRODUCT_DIR_REGKEY%\Services\postgresql-%PG_MAJOR_VERSION%"
40-
SETPRODUCT_VERSION="%PG_MAJOR_VERSION% (%ARCH%)"
46+
SETPRODUCT_VERSION="%PG_MAJOR_VERSION% (%BITS%)"
4147
)
4248

4349
SETPG_DEF_PORT="%DEFAULT_PORT%"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp