Prerequistes dosen't run on "Single EXE setup" - Advanced Installer Community
kelle
Posts: 3
Joined: Mon Aug 25, 2014 1:25 pm

Prerequistes dosen't run on "Single EXE setup"

Hi

I am using Advanced Installer 11.4.1 build 58484

I would like to make a Single EXE setup file and run some prerequistes before the main program is installed (Pre-install). When I run the single exe file the program starts up and tell that it need to install the missing sw (in my case Silverlight 5.0), when I push continue the program shuts down :-(


If I change the setup to "EXE setup with resources next to it", everything works fine, but I want just one file where everything is embeddede in the file.

The prerequistes is downloaded using Advanced Installer and embedded with the installation files.

I don't think the prerequistes gets embedded in the single exe file!!!!

Hope you can help me with this problem

Cheers

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

Re: Prerequistes dosen't run on "Single EXE setup"

Hello Kelle and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

I'm not sure why this happens. Can you please send us the .aip (project file) to support at advancedinstaller dot com so we can investigate your settings? Also, can you please specify if it is the prerequisite setup or the main EXE setup who is closing when you click on [Next>] button from pre-install prerequisites wizard?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kelle
Posts: 3
Joined: Mon Aug 25, 2014 1:25 pm

Re: Prerequistes dosen't run on "Single EXE setup"

Daniel,

It is the main exe file that closes (when I run the installer). I will send the .aip file to you ASAP

Cheers

Kelle
kelle
Posts: 3
Joined: Mon Aug 25, 2014 1:25 pm

Re: Prerequistes dosen't run on "Single EXE setup"

I solved the problem.

It turns out that the company name under [Product Information][Product Details][Company Name] may not contain the caracter "/"

So the text "My Company A/S" is a no go...

What happens (I think) is when the installer run as a single exe file, it has to unpack the files at a temporary location and uses the company name as a folder name, when the "/" is present, the installer throws an exception and the program shuts down.

I changed the company name to "My Company" and everything run fine, if I change it back to "My Company A/S" it crashes....

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

Re: Prerequistes dosen't run on "Single EXE setup"

Hello Kelle,

Indeed, your presumption is right. At install time the prerequisite setups are downloaded/extracted on target machine in the location specified in the "Prerequisites page -> Packages-> Download/extraction folder" field. If one of those formatted references referred in this field are be resolved at install time to a path containing an invalid character (e.g. "/") then the prerequisites download/extraction will fail. In order to avoid this issue you should make sure that the path set in the "Download/extraction folder" field will be resolved to a valid path at install time.

We'll try to add an improvement regarding this scenario in a future version of Advanced Installer. Maybe we'll add a prerequisite extract path validation. Thank you for bringing this to our attention. We'll notify you when this improvement is out.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Prerequistes dosen't run on "Single EXE setup"

Hello,

This improvement has been added in version 17.5 of Advanced Installer, released on September 22nd, 2020.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”