首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >编译错误:进程无法访问该文件,因为它正被其他进程使用。

编译错误:进程无法访问该文件,因为它正被其他进程使用。
EN

Stack Overflow用户
提问于 2016-04-04 11:38:25
回答 1查看 1.5K关注 0票数 1

我想要创建一个php站点到exe文件。因此,thatI正在使用Innoscript软件创建exe文件。编译inno脚本时会发生错误。

编译错误:进程无法访问该文件,因为它正被其他进程使用。

代码语言:javascript
复制
#define MyAppName "indexapp"
#define MyAppVersion "0.0.1"
#define MyAppPublisher "My Company, Inc."
#define MyAppURL "http://www.example.com/"
#define MyAppExeName "phpdesktop-chrome.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={{890F1243-E039-4AE5-8407-A5D227471A18}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DisableProgramGroupPage=yes
OutputDir=C:\Users\VEPL-PHP\Desktop\setup
OutputBaseFilename=setupindex
Compression=lzma
SolidCompression=yes

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

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

[Files]
Source: "F:\xampp\htdocs\phpdesktop old - Copy\phpdesktop-chrome.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\xampp\htdocs\phpdesktop old - Copy\cef.pak"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\xampp\htdocs\phpdesktop old - Copy\d3dcompiler_43.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\xampp\htdocs\phpdesktop old - Copy\d3dcompiler_46.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\xampp\htdocs\phpdesktop old - Copy\debug.log"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\xampp\htdocs\phpdesktop old - Copy\devtools_resources.pak"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\xampp\htdocs\phpdesktop old - Copy\ffmpegsumo.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\xampp\htdocs\phpdesktop old - Copy\icudt.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\xampp\htdocs\phpdesktop old - Copy\libcef.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\xampp\htdocs\phpdesktop old - Copy\libEGL.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\xampp\htdocs\phpdesktop old - Copy\libGLESv2.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\xampp\htdocs\phpdesktop old - Copy\license.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\xampp\htdocs\phpdesktop old - Copy\settings.json"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\xampp\htdocs\phpdesktop old - Copy\locales\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "F:\xampp\htdocs\phpdesktop old - Copy\php\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "F:\xampp\htdocs\phpdesktop old - Copy\webcache\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "F:\xampp\htdocs\phpdesktop old - Copy\www\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{commonprograms}\{#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

请帮我解决这个错误。

EN

回答 1

Stack Overflow用户

发布于 2016-04-14 06:38:03

这可能是您正在计算机上运行的其他软件的问题。尝试关闭所有程序,包括在后台运行的程序。发现由同步程序引起的类似问题:

将Innosetup与Sync结合使用的唯一方法是:关闭Sync、运行Innosetup、重新启动Sync以同步新文件。

https://forum.getsync.com/topic/32041-sync-14-file-replacement-issue-can-cause-file-loss/

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

https://stackoverflow.com/questions/36401574

复制
相关文章

相似问题

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