The aim is to create a single file offline (No internet is required) installer. For this reason, the following things are done.
- Created a C++ installer executable which will perform the installation (Basically extract the archived binaries to the specified location)
- Created an archive of all the required binary components which should be extracted/installed.
- Embedded the archive as a binary resource file within the executable
The installer satisfied the purpose and is able to the perform installation, however since the embedded resource is large (100 MB) the starting of the application is taking a lot of time.
Is there any way to specify to the image loader to delay the loading of this embedded resource so that the application startup will be instantaneous? And the resource will be loaded on demand when appropriate UI is setup (like progress bar)?
The created installer is win32 application compiled using Microsoft build toolchains.
Any help is appreciated, thanks in advance.