Salaros
Posts: 2
Joined: Wed Jun 12, 2013 9:48 am

Prerequisites are not installed from DVD

I'm trying to migrate our Wise Package Studio project to Advance Installer, but I've just encountered an odd behavior in prerequisite management:
My main application (MyAppMain) is a bootstrapper EXE file with msi file + content 7-zipped.
It depends on another application via pre-intsall prerequisites - MyAppTiny (via UpgradeCode + version condition).
As I told before all the resources/prerequisites are next to the main exe.

So basically if I try to install MyAppMain from my hard drive, everything is OK. The bootstrapper detects that MyAppTiny is missing and triggers its (silent) installation.
If I try to burn all those setup file on a DVD and run start MyAppMain exe from there - the installation fails, because as soon as the bootstrapper detects the missing prerequisites it tries to trigger its installation.. the MyAppTiny installer actually starts but in the background the prerequisite state switches instantly to "Failed" as the sub-installation was already finished and bootstrapper has to double-check the dependency install conditions.

Please see the attached log files.

P.S. Excuse me for my bad English
Attachments
exe_dvd.log
/exelog output of the installer started from the DVD/mounted ISO
(5.36 KiB) Downloaded 682 times
exe_local.log
/exelog output of the installer started from my local folder
(3.06 KiB) Downloaded 690 times
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Prerequisites are not installed from DVD

Hi and welcome to Advanced Installer forums.

Thank you for your interest in Advanced Installer.

Sorry for the delayed reply. I've tested your scenario, but I cannot reproduce the behavior.

When a prerequisite package is added in the Prerequisite page it is automatically embedded in the main package at the build time (if in the "Setup Files" tab the "Use files from disk" option is selected), so the prerequisite will not be needed on the DVD anymore (because it is already included in the main package).

Can you please send us the .AIP (project file) to support at advancedinstaller dot com so we can investigate it?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Salaros
Posts: 2
Joined: Wed Jun 12, 2013 9:48 am

Re: Prerequisites are not installed from DVD

I'm sorry, but I think I haven't described the problem very well.
In Media tab I chose "Package Type"=>"EXE setup with resources next to it" and in "Output" section "Msi Subfolder" field - "MSI".

So the final layout is the following:

DVD/setup root
|
⌊_ MyAppMain.exe
⌊_ MyAppTiny.exe
⌊_ MSI
⌊_ MyAppMain.7z
⌊_ MyAppMain-FILES.7z

So I can confirm you that the prerequisite is outside. Please keep in mind if you run tests locally everything works well. In order to reproduce the issue you have to burn a CD/ISO and run the installer from there.
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Prerequisites are not installed from DVD

Hi,

I've tested this scenario too, but I still can't to reproduce the behavior. Can you please send us the .AIP (project file) to support at advancedinstaller dot com and a link to download your ISO image, so we can investigate them and try to locate the problem?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
wyzerd
Posts: 75
Joined: Tue Mar 27, 2007 3:54 am
Location: St. Louis, MO
Contact: Website

Re: Prerequisites are not installed from DVD

I have also found this behavior in 10.3. Creating a package and running from the network location works fine, however, installing from DVD fails and does so so early, it does not even produce a log file.

It seems single file prereqs work but multi-file do not.

Tonight I am going to try converting the prereqs to single exe type and see if it behaves. It is not a viable solution as it creates other problems, but I suspect it will work.
Attachments
DirectoryStructure.jpg
DirectoryStructure.jpg (55.87 KiB) Viewed 8285 times
MonacoSetup.aip
(203.54 KiB) Downloaded 575 times
wyzerd
Posts: 75
Joined: Tue Mar 27, 2007 3:54 am
Location: St. Louis, MO
Contact: Website

Re: Prerequisites are not installed from DVD

I found that my guess was correct. By making the prerequisites single EXE types the DVD started working again. Please have the developer who changed this function fix it.
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Prerequisites are not installed from DVD

Hi,

Indeed, this seems to be an Advanced Installer issue. A fix will be available in a future version of Advanced Installer, thank you for bringing it to our attention.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Prerequisites are not installed from DVD

Hello,

This was fixed in version 10.7 of Advanced Installer released on November 11, 2013.

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

Return to “Building Installers”