Please wait while Windows configures [my app] error - 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!

Alastair
Posts: 42
Joined: Tue Jul 14, 2009 9:54 am
Location: UK

Please wait while Windows configures [my app] error

Hi

When I run a newly upgraded application I get the error "Please wait while Windows configures [my app]". No actions are taken between the successful completion of the upgrade and runnng the app so in theory there should be no missing resources.

I get the error in the following scenario :-
Install v1 of the app (no error)
upgrade to v2 of the app (no error)
Upgrade to v3 of the app (the above error happens)

I do not get the error with the following sequence
Install v1 of the app (no error)
upgrade to v3 of the app (no error)
So something happens because of v2 to cause the problem with v3.

The installation is per-machine and, so far as I can tell, there are no user specific resources.

The v3 installer is very similar to v2 (some new files and a new custom action) and I can't see what is causing the problem.

I'd appreciate any assistance you can offer.

Kind regards,
Alastair
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Please wait while Windows configures [my app] error

Hello,

- Is v2 of your product uninstalling resources through a custom action?
- What kind of upgrade are you doing?
- Are you using patches?

Sample projects (or your intact projects if acceptable) that replicate this behavior sent to support at advancedinstaller dot com would greatly help us further assist you with the issue.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Alastair
Posts: 42
Joined: Tue Jul 14, 2009 9:54 am
Location: UK

Re: Please wait while Windows configures [my app] error

Hi Gabriel,

V1 is uninstalled by specifying the upgrade code in the Upgrades section of Advanced Installer (v1 was built using Wise, not Advanced installer)
V2 is uninstalled "automatically" via the UpgradeCode (v2's upgrade code is the same as v3's
V2 was created using Advanced Installer 7.1.3 and v3 was created with Advanced installer v7.2 from a copy of the v2 aip file.
No patches are involved.
I will shortly send the aip files to you... much appreciated.

Kind regards,
Alastair
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Please wait while Windows configures [my app] error

Hi,

In the installation log I noticed multiple lines which look like this:

Code: Select all

Disallowing installation of component: {436D7A23-36BE-11D2-ACBB-0080C7FCBB84} since the same component with higher versioned keyfile exists
This means that files in the new package will not be installed because they already exist on the target machine. However, the uninstall process will completely uninstall the old version, removing the files, so the files are absent after the upgrade.

I also noticed this line:

Code: Select all

Disallowing installation of component: {DDC00F38-773A-4BBD-A407-ABFAD4657D72} since the keyfile exists and the component is marked to never overwrite existing installations
The component of the file you mentioned is not installed because it's already present and it uses the "Never Overwrite" flag.

A solution would be to use the "Install new version first and then uninstall old version" option in the Upgrades page. This way only the files which shouldn't be installed will be removed at the end of the upgrade.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Alastair
Posts: 42
Joined: Tue Jul 14, 2009 9:54 am
Location: UK

Re: Please wait while Windows configures [my app] error

Hi,

You are quite right: it turns out that a file was being removed during the uninstall of the previous version, but was then not installed by the upgrade because it was flagged as never overwrite. Removing the never overwrite fixed the problem.

This seems like extreme "logic" by Windows installer; the file did not exist as it had been removed, and so placing it on the filesystem would not cause an overwrite, surely ? (Rhetorical question, needs answered by Microsoft)

Many thanks for assising with this.

Kind regards,
Alastair

Return to “Common Problems”