narsingani
Posts: 23
Joined: Thu Sep 12, 2013 4:59 am

Need Help building installer

Hi All,

Its been a while I have been using Advanced Installer and still difficult for me building another project. Any help will be appreciated.

There are various problems building this project. It is web site installer project which contains prerequisite of PHP 5.3(Minimum version) and IIS 7.0(Minimum version). Used them under Pre-install and Feature-based, none of them work.

Firstly, the software compiles both exe and MSI. I only need MSI for the installation but it does not work. EXE works only when I have MSI within the same directory. (I already have separate project building MSI only but not sure why not this time?)

Second thing is I am trying to install IIS and PHP during the installation but it fails.( However when I try Run the installer F5 on advanced installer, it exactly steps me through what I want but doesn't work once its compiled and use it on another machine.)

There is also an issue with both PHP and IIS have separate MSI for 32 bit and 64 bit so not sure how to check the existing platform and install the appropriate version accordingly.

Thanks in advance!

Upendra
Irina
Posts: 113
Joined: Mon Apr 27, 2015 11:42 am

Re: Need Help building installer

Hi Upendra,
It is web site installer project
Please see our article about deploying a website for hints and guidance.
contains prerequisite of PHP 5.3(Minimum version) and IIS 7.0(Minimum version). Used them under Pre-install and Feature-based, none of them work.
Can you please tell me which version of Advanced Installer are you using and on which operating system?
Also, if you can create a more step-by-step case of your actions so that we can have a use case for reproducing the problems you encounter?
Having a use case is very useful in order to identify if any necessary step is forgotten in order to achieve the expected outcome.
Firstly, the software compiles both exe and MSI. I only need MSI for the installation but it does not work. EXE works only when I have MSI within the same directory.
Yes, this is the default behavior of Advanced Installer. There is an error message displayed by a launch condition that is automatically added at build-time in the EXE packages that are created with Advanced Installer 11.3 and later. It was added in order to prevent the incorrectly drawn User Interface that could be displayed when an MSI package was launched outside its related EXE setup file.

An improvement was added on our TODO list to have an option to disable the launch condition.Thank you pointing this problem out.
Until then, you can set the SETUPEXEDIR property with any value in the InstallParameters page and there will be no launch condition prompt when running the MSI.
Second thing is I am trying to install IIS and PHP during the installation but it fails.( However when I try Run the installer F5 on advanced installer, it exactly steps me through what I want but doesn't work once its compiled and use it on another machine.)
Can you please send us the .aip file at support at advancedinstaller dot com so that we can investigate more?
There is also an issue with both PHP and IIS have separate MSI for 32 bit and 64 bit so not sure how to check the existing platform and install the appropriate version accordingly.
In order for a prerequisite to be installed accordingly to the existing platform, once you have added it under the "Prerequisites" page, click on the prerequisite and go to the "Install Conditions" tab where you have to check both options (32- bit and 64 - bit) under "Supported Windows Versions" section.

Please let me now if I can be of any assistance.

Kind regards,
Irina
Last edited by Irina on Wed May 13, 2015 7:48 am, edited 1 time in total.
Ecaterina Irina Grosu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
narsingani
Posts: 23
Joined: Thu Sep 12, 2013 4:59 am

Re: Need Help building installer

Thanks Irina!

I have already gone through deploying a website help and no issue with that it deploys correctly on the destination machine.


We are using version 11.4.1 and the OS is Windows Server 2008 R2 Enterprise. I will be sending you the .aip file to have a look for the detailed information

I am doing exactly what you have suggested for 32bit and 64bit version but it produces an error during the installation that the file cannot be found so not sure what to do? I believe the path for Source from disk is local path and installation is trying to find that path but could not find it. I would like to suggest you to have a path which is within the same installer so can get the installation source.

Please see the attached images for your reference.

Thanks for your assistance!

Upendra
Attachments
Prerequisite installer path
Prerequisite installer path
Installer path.JPG (95.01 KiB) Viewed 3920 times
Condition for 64bit
Condition for 64bit
Condition64.JPG (48.32 KiB) Viewed 3920 times
Condition for 32bit
Condition for 32bit
Condition32.JPG (48.06 KiB) Viewed 3920 times
Irina
Posts: 113
Joined: Mon Apr 27, 2015 11:42 am

Re: Need Help building installer

Hello,

I hope you managed to solve all your problems by email.

Do not hesitate to contact us for any further help.

Kind regards,
Irina
Ecaterina Irina Grosu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”