Loading
The MSI installer project is not generating single setup.exe file

The MSI installer project needs to be built as a single setup.exe. Currently despite setting the build output to setup.exe in the releases, the project outputs a single setup.exe with MSI and cabinet files. Is there any way to force it to build a single exe. Any help would be appreciated it. The final build output is close to 3GB.


  • shunt (Flexera Software)

    Hi,

    There is a Windows size limitation that a .cab file can not be bigger than 2GB

     

    The Maximum size of all files in one folder (compressed) is 2GB, this means that a compressed single .msi is also unable to be any larger than 2GB

     

    Please understand that this is a Windows limitation, and not an Installshield limitation.

     

    It would be possible to create a compressed setup.exe, however there is also a Windows limitation of 4GB on a portable executable file.

    Whilst you could apply different compression levels to reduce the overall size of the package, this will ultimately impact the installation speed as the installer will then need to uncompress and write the files to a temporary location to install them. As the size increases, so will the compression - and so will the installation time.

     

     

    Expand Post
    • Hi Shunt,

       

      Thanks for the quick response. We did understand the 2GB Windows limitation and used the compression option, but inspite of the total size being less than 4GB, Installshield does not generate the single setup.exe as expected. I have provided below the screen shots of the configuration we have selected. Could you please review it and advice if we have missed anything?

       

      Output files generated by the Installer

      Expand Post
      • ProjectAssistantConfiguration
    • Hi Shunt,

      Could you please check further questions and screenshots and suggest a way forward?

      Thank you,

  • Additional screen shots (as I was not allowed to upload multiple screenshots at once)ReleaseConfiguration

  • Is this issue got resolved.? am also facing the same issue need to know the solution. Kindly respond.

Loading
The MSI installer project is not generating single setup.exe file