mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-03 22:27:41 +00:00
fix(windows): insthelp trustinfo and add manifest
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
Change the manifest trustinfo to asInvoker from requireAdminstrator. This was causing the preuninstaller to fail as it couldn't elevate. This also adds the manifest back into the build as it was previously removed. fixes: 15187
This commit is contained in:
parent
cb77aa14ea
commit
3597a555e7
3 changed files with 11 additions and 13 deletions
|
|
@ -27,7 +27,7 @@ function do_build() {
|
|||
create-windows-output-folders
|
||||
build_version.res
|
||||
# TODO: why no manifest?
|
||||
# build_manifest.res
|
||||
build_manifest.res
|
||||
delphi_msbuild insthelp.dproj "//p:Platform=Win32"
|
||||
sentrytool_delphiprep "$WIN32_TARGET" insthelp.dpr
|
||||
tds2dbg "$WIN32_TARGET"
|
||||
|
|
@ -39,7 +39,7 @@ function do_build() {
|
|||
function do_publish() {
|
||||
# test that (a) linked manifest exists and correct
|
||||
# TODO: no manifest included?
|
||||
# wrap-mt -nologo -inputresource:"$WINDOWS_PROGRAM_APP/insthelp.exe" -validate_manifest
|
||||
wrap-mt -nologo -inputresource:"$WINDOWS_PROGRAM_APP/insthelp.exe" -validate_manifest
|
||||
|
||||
wrap-signcode //d "Keyman for Windows Install Helper" "$WINDOWS_PROGRAM_APP/insthelp.exe"
|
||||
wrap-symstore "$WINDOWS_PROGRAM_APP/insthelp.exe" //t keyman-windows
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ uses
|
|||
UserMessages in '..\..\..\..\common\windows\delphi\general\UserMessages.pas';
|
||||
|
||||
{$R version.res}
|
||||
{-R manifest.res}
|
||||
{$R manifest.res}
|
||||
|
||||
begin
|
||||
CoInitializeEx(nil, COINIT_APARTMENTTHREADED);
|
||||
|
|
|
|||
|
|
@ -6,15 +6,13 @@
|
|||
version="$VersionWin"
|
||||
processorArchitecture="x86"/>
|
||||
<description>Keyman Installation Assistant</description>
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel
|
||||
level="requireAdministrator"
|
||||
uiAccess="false"/>
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
|
||||
<!-- Switch on various compatibility values -->
|
||||
|
||||
|
|
@ -27,4 +25,4 @@
|
|||
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/><!-- Windows 10 -->
|
||||
</application>
|
||||
</compatibility>
|
||||
</assembly>
|
||||
</assembly>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue