Page 1 of 1

InstallAware generated MSI Package does not work

Posted: Fri Apr 15, 2011 2:58 pm
by claudiov
Hello,

I am having a lot of trouble creating a simple setup that includes another setup (both generated with InstallAware).

Here is what I am trying to do:

Setup one - test_setup.msi
This setup installs a web application in IIS and it works fine. I have build it as "Single" and "CD or DVD" and it works fine.

Setup two - MydotNETInstaller.exe
This setup includes the test_setup.msi (built from the "CD or DVD" mode) using "(Un)Install MSI Package" but it always fails.

Code: Select all

  [compiler else]
  if Variable ADVERTISE Equals TRUE
    Apply Advertised (get result into variable SUCCESS)
    else
    Set Variable INSTALLERROR to 
    Set Variable INSTALLRESULT to None
    Install/Remove MSI Package $NET_FILEBAG$\test_setup.msi[ADDLOCAL=ALL] (get result into variable INSTALLRESULT)
    if Variable INSTALLRESULT not Equals SUCCESS
      MessageBox: Installation Failed, could not install the web!$NEWLINE$$INSTALLERROR$
      Terminate Installation
    end
    Apply Install (get result into variable SUCCESS)
  end
  [compiler end]


However, if I use "Run Program" it works fine but it pops the window of the first installer which I don't want.

So, I would like to know if it is possible for me to include a InstallAware generated .MSI into a another InstallAware setup??

I have looked at:
http://www.installaware.com/forum/viewt ... f=2&t=6224
http://www.installaware.com/blog/?p=15


Thanks.

Re: InstallAware generated MSI Package does not work

Posted: Fri Apr 15, 2011 5:34 pm
by giaviv
Hello,

You are correct, it is not possible to install InstallAware generated MSI's with InstallAware. That is because the MSI is not actually the installation, the exe is.
What we would recommend in this case is simply to include the script of your second setup as an Included Script within your second setup - then, you can control the setup without having to run any 3rd party software.
Otherwise, you can call the InstallAware exe with the /s flag for a silent setup.

Re: InstallAware generated MSI Package does not work

Posted: Mon Apr 18, 2011 7:43 am
by claudiov
Thanks a lot giaviv!

The "/s" command works fine.

Regards,
Claudio

Re: InstallAware generated MSI Package does not work

Posted: Mon Apr 18, 2011 8:01 am
by giaviv
Sure!