I am developing an Inno Setup Installer, In which I am facing the below issue while installing the setup.
Defaulting to Abort for suppressed message box (Abort/Retry/Ignore):
C:\Program Files (x86)\{MyApplicationPath}\Microsoft.SqlServer.SqlEnum.dll
InstallAssembly failed; code 0x80070020.
The process cannot access the file because it is being used by another process.
Click Retry to try again, Ignore to skip this file (not recommended), or Abort to cancel installation.
The mentioned dll has to be installed in GAC as well. My code looks like below
Source: "{#OtherDlls}Microsoft.SqlServer.SqlEnum.dll"; DestDir: "{app}\"; Flags: gacinstall sharedfile uninsnosharedfileprompt; StrongAssemblyName: "Microsoft.SqlServer.SqlEnum, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL, ProcessorArchitecture=MSIL"
I can ignore the error in manual installation. But how can I ignore this error in the silent install? Are there any arguments or flags available to ignore this error silently?
I tried these arguments '/VERYSILENT /SUPPRESSMSGBOXES /FORCECLOSEAPPLICATIONS /NOCANCEL'. but still, I am facing the same error.
User contributions licensed under CC BY-SA 3.0