从INNO工具创建设置,exe没有运行? [英] Creating setup from INNO tool, exe is not running?
问题描述
团队,
使用INNO工具创建安装文件并在Windows 10操作系统中执行安装文件,并发出显示,
无法使用执行文件:
c:\Program Files(X86)\ Setup1 \ Test.exe
createprocess failed;代码740.
请求的操作需要提升。
查看下图,
https://i.stack.imgur.com/mtgGK.png [ ^ ]
请提供如何解决此问题。
我在项目中使用了sqlite数据库。
谢谢。
我的尝试:
我尝试使用加密和无加密,使用IntelliLock工具进行装配安全。但无法纠正它。
阅读错误信息:
请求的操作需要提升。
您尝试从设置运行的应用程序需要管理员权限 - 而且它没有。修改应用程序以不需要管理员权限,或修改安装脚本以提供它们。
除了OriginalGriff的解决方案#1之外,我建议阅读: Inno Setup Help => [设置]:PrivilegesRequired [ ^ ]
您可以强制安装程序在管理模式下运行,但是......
Quote:如果安装程序是由非特权用户启动的,Windows将要求输入具有管理权限的帐户的密码,然后安装程序将在该帐户下运行。
Team,
Creating Setup file using INNO Tool and execute the setup file in windows 10 OS, and issue showing,
Unable to execute File:
c:\Program Files (X86)\Setup1\Test.exe
createprocess failed; code 740.
the requested operation requires elevation.
check below image,
https://i.stack.imgur.com/mtgGK.png[^]
Please provide how to resolve this issue.
I have used sqlite database in my project.
thanks.
What I have tried:
I have tried using with encryption and without encryption, using IntelliLock Tool for assembly security purpose. but not able to rectify it.
Read the error message:
the requested operation requires elevation.
The app you are trying to run from your setup needs admin access - and it doesn't have it. Either modify the app to not require admin privileges, or modify your install script to provide them.
In addition to solution #1 by OriginalGriff, i'd suggest to read this: Inno Setup Help => [Setup]: PrivilegesRequired[^]
You can force Setup to run in admin mode, but...
Quote:If Setup was started by an unprivileged user, Windows will ask for the password to an account that has administrative privileges, and Setup will then run under that account.
这篇关于从INNO工具创建设置,exe没有运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!