Install and uninstall very slow - Advanced Installer Community
Kratzer
Posts: 66
Joined: Wed Apr 10, 2013 5:36 pm

Install and uninstall very slow

Hello,

I have a question regarding speed during install and uninstall (also upgrade).

Our setup is about 1 GB, there are over 30 merge modules with a lot of files...
Installation speed is very poor, unstallation too.

Do you have an idea what the reason could be?

- What could cause the speed slow down? Amount of merge moduls, files, assemblies?
- Is using ngen for assembly image generation the cause?
- What are the best options using ngen?
- The progress bar always shows start or end state nothing between.

For using ngen...can you provide multiselect and changing ngen options for assemblies in one of the next versions, currently I must click assembly by assembly and set the options, using hundres of them...
Or is there another way to do this?

Thank you and best regards,
Bernd
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Install and uninstall very slow

Hello Bernd,

The installation process is a set of actions entirely handled by Windows Installer. The install time is indeed in direct proportion with the project's complexity - the number and size of the resources, merge modules, assemblies etc. All these factors will influence the installation time.

You could also try our feature "Fast installation - optimized file costing and copy, indeterminate progress" feature from "Install Parameters" page.

As regarding selecting "generate native image for private assembly" option and changing "ngen" options for multiple assemblies at once, unfortunately this is not currently possible.
Maybe we will consider this improvement in a future version. Thank you for your suggestion!
The progress bar always shows start or end state nothing between.
You could try to change the progress bar behaviour by going into "Dialogs" page, "ProgressDlg" click on the progress bar, double click on the "Display installation progress" from "Subscribed Events" tab and select "Display overall installation progress (EXE package type only)"

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”