首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >启动Inno安装程序创建的安装程序时ShellExecuteEx错误299

启动Inno安装程序创建的安装程序时ShellExecuteEx错误299
EN

Stack Overflow用户
提问于 2016-02-01 12:27:07
回答 1查看 5.3K关注 0票数 8

我使用Inno安装程序来创建我的第一个安装程序。

但是,当启动安装程序时,在windows屏幕请求执行该文件的权限之前,我会得到一个包含以下错误的窗口:

ShellExecuteEx aéchoué:代码299 Seule une partie d'une requete ou WriteProcessMemory aétéeffectuée。

英文(来自WinError.h):

ERROR_PARTIAL_COPY -只完成了ReadProcessMemory或WriteProcessMemory请求的一部分。

然后启动安装程序。但是,大约10秒后,它又自行发射了。

这是我的iss文件:

代码语言:javascript
复制
; Script generated by the Inno Script Studio Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "Facturation"
#define MyAppVersion "1.0"
#define MyAppPublisher "JoWe"
#define MyAppURL "http://www.jowe.fr/"
#define MyAppExeName "facturation.exe"

[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{B8DF3E83-4622-48AB-9DD5-C75D4951BEDE}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\Facturation
DefaultGroupName=Facturation
OutputDir=E:\Téléchargements
OutputBaseFilename=setup
SetupIconFile=D:\apps\vivemus\vivemus.com\resources\img\favicon.ico
Compression=lzma
SolidCompression=yes

[Languages]
Name: "french"; MessagesFile: "compiler:Languages\French.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "D:\Logiciels\phpdesktop-chrome-31.8-php-5.6.1\phpdesktop-chrome.exe"; DestDir: "{app}"; Flags: ignoreversion

[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon

[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent

即使我用向导创建了一个新的安装程序,我也有这个问题。我已经向Inno Studio添加了一个日志,但是它只有编译的日志,没有错误。

有人知道这个问题是从哪里来的吗?

EN

回答 1

Stack Overflow用户

发布于 2016-10-03 18:24:49

一位同事遇到了同样的问题。事实证明,病毒扫描是造成这一疾病的原因。禁用病毒扫描,然后安装程序运行,没有任何问题。

票数 11
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/35130522

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档