DimasSup
Posts: 31
Joined: Fri Aug 17, 2012 3:12 pm

App Setup Wizard ended prematurely

Hi, one our user has problem with installation, the problem with MSI. There is screenshot of error.
Also, I have attached а verbose log

Best regards, DimasSup
Attachments
install.log
log
(270 KiB) Downloaded 508 times
screenshot of error
screenshot of error
saraa_aza - BK.png (152.83 KiB) Viewed 8182 times
Jimmy
Posts: 36
Joined: Thu Apr 12, 2012 1:13 pm

Re: App Setup Wizard ended prematurely

hi DimasSup

The custom Action RemoveUsersShortCuts seems to fire an error.
Take a look at line 1276 and following.

Hint: To find, what an installer can force to end prematurally, search for "Doing action: FatalError"
In the near of this line mostly you find the point.

Regards
Jimmy
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: App Setup Wizard ended prematurely

Hello DimasSup,

Indeed, as Jimmy mentioned, the "RemoveUsersShortcuts" custom action has a return value of 3 which means the custom action fails. If the "RemoveUsersShortcuts" action is a custom action developed and added by you to your installation project, then you should try to debug the related custom action on target machine in order to find the root cause of this failure.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
DimasSup
Posts: 31
Joined: Fri Aug 17, 2012 3:12 pm

Re: App Setup Wizard ended prematurely

Hi Jimmy and Daniel

Thank you for your feedback.

Problem is that entire "RemoveUsersShortcuts" wrapped into Try catch.

Also we have in install.log following lines(exactly after FatalError):
SFXCA: Binding to CLR version v4.0.30319
SFXCA: Failed to start the CLR. Error code 0x80004005

So, probably issue is with Net.Framework(custom action is written on C# 2.0), but we've tried to repair and install Net framework on user machine.
Maybe you have similar CLR problems in your knowledge db and have solution to solve it.

Best regards, Dima.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: App Setup Wizard ended prematurely

Hello Dima,

I'm not sure what is the root cause of the failure. However, if your custom action is built using .Net Framework 2.0, then you should add .Net Framework 2.0 as a prerequisite to your installation package.

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

Return to “Common Problems”