Setup Ended Prematurely - 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!

Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Setup Ended Prematurely

Hello,

I use Advanced Installer 8.3. When I try to install an application built using Enterprise edition of Advanced Installer in Windows 7, I get the following message,

Image

However, it installs on Windows XP and few Windows 7 computers. But it is not working on other Window 7 computers

:?:

Regards
K
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Setup Ended Prematurely

Hi,

This fatal error may occur as a result of some custom behavior attached to your installer.

Can you please send us the .AIP (project) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Re: Setup Ended Prematurely

Hello Mihai,

I have sent an email with the files you requested.

Regards

:)
K
Pratapshukla
Posts: 3
Joined: Wed Feb 15, 2012 11:36 am

Re: Setup Ended Prematurely

Hi,
I am using Advance installer for Java. I use this info <http://www.advancedinstaller.com/user-g ... -java.html> to create the installer.
This installer works on some machine and fails on some machines. I have tried using it on XP and Win-7 so far. The message is "..installer end prematurely due to some error..."
Log is attached.

Please help since my customer release is near...
Regards
PR
Attachments
log.log
(39.6 KiB) Downloaded 441 times
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Re: Setup Ended Prematurely

Hello PR,

For me it was due to the mixed 32/64bit installer I set up. My installer included the files install the hardware drivers. But the driver files had its own settings which allows the driver settings to detect and install the correct driver to the correct platform (32 or 64 bit). So the installer only needs to execute the driver files and the driver settings will take care the rest. So I created the mixed 32bit and 64bit package. The installer worked fine in 32bit machines but showed the Setup Ended Prematurely message on 64bit computers.

It was difficult to figure out how this issue occurred as the install files nor the main app. files including driver files did not have any problems. Finally it was solved.

When copying files on 64bit machines the installer detects the files as 32bit files (unless the files are specific for 64bit or the user specifically set the files to be 64bit in the installer settings). Copying 32bit files to 64bit machines are not an issue. However, driver installation is not like that. The 32bit driver files must not be executed on 64bit and vice-versa. So the installer will not execute the driver files on 64bit machines when the Advanced Installer detects these files as 32bits. But, the driver files (my driver files) actually included both the platform files. The driver files, when executed it will install the correct version to the correct platform. So because of that I just included the driver files (I though the installer will just execute the driver settings). However, since the driver files (when I added them) are detected as 32bit files even though it included for both platforms, the installer did not execute the driver files on 64bit computers as it thought there 32bit driver files.

So what I had to do to come across is: I had to include (copy) the same driver files twice in different folders. Later I set the settings, one for 32bit version and the second for 64bit. But both files in the folder are the same. Now, the second folder's content (driver setting files) are detected as for 64bit machine by the installer. This time it perfectly executed the driver files without premature error.

Regards

:idea:
K
Pratapshukla
Posts: 3
Joined: Wed Feb 15, 2012 11:36 am

Re: Setup Ended Prematurely

Hi K,
I am no expert of installer. I can just follow steps. So can you tell me what exactly I need to do to resolve my problem?
Regards
Codename K wrote:Hello PR,

For me it was due to the mixed 32/64bit installer I set up. My installer included the files install the hardware drivers. But the driver files had its own settings which allows the driver settings to detect and install the correct driver to the correct platform (32 or 64 bit). So the installer only needs to execute the driver files and the driver settings will take care the rest. So I created the mixed 32bit and 64bit package. The installer worked fine in 32bit machines but showed the Setup Ended Prematurely message on 64bit computers.

It was difficult to figure out how this issue occurred as the install files nor the main app. files including driver files did not have any problems. Finally it was solved.

When copying files on 64bit machines the installer detects the files as 32bit files (unless the files are specific for 64bit or the user specifically set the files to be 64bit in the installer settings). Copying 32bit files to 64bit machines are not an issue. However, driver installation is not like that. The 32bit driver files must not be executed on 64bit and vice-versa. So the installer will not execute the driver files on 64bit machines when the Advanced Installer detects these files as 32bits. But, the driver files (my driver files) actually included both the platform files. The driver files, when executed it will install the correct version to the correct platform. So because of that I just included the driver files (I though the installer will just execute the driver settings). However, since the driver files (when I added them) are detected as 32bit files even though it included for both platforms, the installer did not execute the driver files on 64bit computers as it thought there 32bit driver files.

So what I had to do to come across is: I had to include (copy) the same driver files twice in different folders. Later I set the settings, one for 32bit version and the second for 64bit. But both files in the folder are the same. Now, the second folder's content (driver setting files) are detected as for 64bit machine by the installer. This time it perfectly executed the driver files without premature error.

Regards

:idea:
Pratapshukla
Posts: 3
Joined: Wed Feb 15, 2012 11:36 am

Re: Setup Ended Prematurely

Hi K,

Any thing for me?

Regards
Pratap
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Setup Ended Prematurely

Hi Pratap,

Looking over your log I can see a custom action that Advanced Installer inserts in the package is failing on XP. This custom action had indeed a bug we fixed a couple of months ago for XP machines.

What version of Advanced Installer are you using? If it is not the latest can you please upgrade it, rebuild the package and try again.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”