Installer is slow? - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

bmt22033
Posts: 21
Joined: Tue Jun 26, 2012 2:14 pm

Installer is slow?

I've got an application that targets the .NET 4.0 client profile. My app consists of a .exe and three .dlls for a total size of ~650k. I can't be sure that my users will have an Internet connection so I need to bundle the .NET 4.0 client profile redistributable with my installer. I've selected this as a prerequisite and on the "Setup Files" tab under Location, I've chosen "Use files from disk" and set the file path to point to dotNetFx40_Client_x86_x64.exe (which I downloaded from Microsoft). As you probably know, this file is approximately 42 MB which makes the total size of my installer ~ 42.5 MB. Lastly, my installer package type is a single .exe setup.

My QA team has been testing the application and they've told me that when they run the installer (on Windows Vista or Windows 7), the Welcome dialog appears right away. Clicking Next brings up the Installation folder dialog (also instantaneous). At this point, when they click Next, it takes just over 10 seconds before the UAC prompt appears and during that time, the installer appears to be idle (still responsive, just not doing anything based on the UI). Once they accept the UAC prompt, the installation completes in about 3 - 4 seconds. My question is, what's happening during this 10 second period of time? Is dotNetFx40_Client_x86_x64.exe being unpacked from the installer? It seems to take the same amount of time regardless of whether the .NET 4.0 client profile is already installed or not. The machines have 7200 RPM mechanical hard drives, so I wouldn't expect it to be super fast like an SSD but 10 seconds seems like a long time for a 42 MB file (if that's what it is). For what it's worth, there's no anti-virus/anti-malware software running on these particular machines (including Windows Defender which is turned off). Thanks for any info.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installer is slow?

Hello,

The fastest method to install your package is to enable the "Place files unpacked next to the MSI database" option from "Media -> Configuration" tab. Also, please take a look on "Why does the UAC dialog take a long time to be displayed?" article where my colleague Cosmin debates this issue.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”