The initialization value of the CriWareInitalizer component is not used.
The maximum number of simultaneous installation requests is adjusted in CriFsWebInstaller.ModuleConfig.numInstallers.
Transition from CriFsInstaller
If you are currently using the CriWare.CriFsInstaller class, please replace it with the CriWare.CriFsWebInstaller class.
The basic API specifications are almost the same, but please note the following points.
If CriFsInstaller connects to the server once, it performs infinite retries internally and does not time out.
On the other hand, CriFsWebInstaller times out (at the time specified during initialization).
Replace CriFsInstaller.GetStatus() and CriFsInstaller.GetProgress() with CriFsWebInstaller.GetStatusInfo().
CriFsWebInstaller cannot use CriFsBinder when copying.
CriFsInstaller overwrites files that are already installed. CriFsWebInstaller will not overwrite and an error will result.
Please delete the file with the application beforehand if necessary.
The ways to make an HTTP request differ between CriFsInstaller and CriFsWebInstaller.
Additional specification:
Error information can be retrieved by CriFsWebInstaller::GetStatusInfo function.
The progress status of CriFsInstaller has changed with the CriWareIntializer component's installBufferSize, but CriFsWebInstaller does not depend on it and the progress status in bytes can be obtained.
If CriFsUtility.Install() connects to the server once, it performs infinite retries internally and does not time out.
On the other hand, CriWare.CriFsUtility.WebInstall() times out (at the time specified during initialization).
CriFsUtility.WebInstall() cannot use CriFsBinder when copying.
The ways to make an HTTP request differ between CriFsUtility.Install() and CriFsUtility.WebInstall().
Additional specification:
The progress status of CriFsUtility.Install() has changed with the CriWareIntializer component's installBufferSize, but CriFsUtility.WebInstall() does not depend on it and the progress status in bytes can be obtained.
Note:
To maintain compatibility with CriFsUtility.Install() functions, CriFsUtility.WebInstall() automatically deletes files if they already exist.
CriFsUtility.Install() cannot copy files between local storages. Please useCriFsUtility.Install().
About internal error retry
In the following cases, a retry is performed internally.
The network connection has ended prematurely
The Internet connection has expired
If the connection cannot be restarted even after the timeout period specified during initialization, a timeout error occurs.
Like with CriFsInstaller and CriFsUtility.Install(), if you cannot connect to the Internet at the start of the installation, you will get an error immediately without retrying.
In the same way, in case of HTTP errors such as 404 or 504, a retry is not performed internally.
As the CriFsWebInstaller class can now acquire the error cause and HTTP status code, please perform the error handling according to your application requirements.
However, CriFsUtility.WebInstall() cannot acquire such detailed information. Therefore, please use the CriFsWebInstaller class if you want to provide more detailed error handling.