Create Windows installer #53
This commit is contained in:
@@ -33,7 +33,7 @@ DisableProgramGroupPage=yes
|
|||||||
LicenseFile=repertory\LICENSE.md
|
LicenseFile=repertory\LICENSE.md
|
||||||
; Uncomment the following line to run in non administrative install mode (install for current user only).
|
; Uncomment the following line to run in non administrative install mode (install for current user only).
|
||||||
;PrivilegesRequired=lowest
|
;PrivilegesRequired=lowest
|
||||||
OutputBaseFilename=repertory_{#MyAppVersion}_setup
|
OutputBaseFilename=repertory_{#MyAppVersion}_windows_@PROJECT_MARCH@_setup
|
||||||
SolidCompression=yes
|
SolidCompression=yes
|
||||||
WizardStyle=modern
|
WizardStyle=modern
|
||||||
|
|
||||||
@@ -41,7 +41,7 @@ WizardStyle=modern
|
|||||||
Name: "english"; MessagesFile: "compiler:Default.isl"
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||||
|
|
||||||
[Files]
|
[Files]
|
||||||
Source: "repertory\"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs uninsneveruninstall
|
Source: "repertory\*.*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs uninsneveruninstall
|
||||||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||||||
|
|
||||||
[Icons]
|
[Icons]
|
||||||
|
@@ -64,14 +64,20 @@ create_file_validations "${PROJECT_OUT_FILE}"
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
if [ "${PROJECT_IS_MINGW}" == "1" ] && [ -f "${PROJECT_DIST_DIR}/../${PROJECT_NAME}.iss" ]; then
|
if [ "${PROJECT_IS_MINGW}" == "1" ] && [ -f "${PROJECT_DIST_DIR}/../${PROJECT_NAME}.iss" ]; then
|
||||||
pushd "${PROJECT_DIST_DIR}/../"
|
cp -f "${PROJECT_DIST_DIR}/../${PROJECT_NAME}.iss" "${TEMP_DIR}/${PROJECT_NAME}.iss"
|
||||||
|
|
||||||
|
pushd "${TEMP_DIR}"
|
||||||
if [ "${PROJECT_IS_MINGW_UNIX}" == "1" ]; then
|
if [ "${PROJECT_IS_MINGW_UNIX}" == "1" ]; then
|
||||||
wine64 "c:/Program Files (x86)/Inno Setup 6/iscc.exe" "${PROJECT_NAME}.iss" || exit 1
|
wine64 "c:/Program Files (x86)/Inno Setup 6/iscc.exe" "${PROJECT_NAME}.iss" || exit 1
|
||||||
else
|
else
|
||||||
iscc "${PROJECT_NAME}.iss" || exit 1
|
iscc "${PROJECT_NAME}.iss" || exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
create_file_validations "Output/${PROJECT_NAME}_${PROJECT_MAJOR_VERSION}.${PROJECT_MINOR_VERSION}.${PROJECT_REVISION_VERSION}-${PROJECT_RELEASE_ITER}_${PROJECT_GIT_REV}_setup.exe"
|
pushd "Output"
|
||||||
|
create_file_validations "${PROJECT_FILE_PART}_setup.exe"
|
||||||
|
cp -f * "${PROJECT_DIST_DIR}/"
|
||||||
|
popd
|
||||||
|
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user