Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

HOW TO CALL ANOTHER SETUP.EXE


5 replies to this topic

sanjoygr

sanjoygr
  • Full Members
  • 76 posts

Posted 29 July 2006 - 16:15

I AM HAVING A BASIC MSI APLICATION.
HERE I WANT TO CALL ANOTHER 3RD PARTY SET UP KIT REQUIRED TO BE INSTALLED IN ORDER TO RUN MY APPLICATION.
I PUT THEM IN THE SETUP FOLDER OF MY APPLICATION.
CREATED A COMPONENT FOR THIS 3RD PARTY SETUP.EXE.
CREATED A CUSTOM ACTION AND CALLED THIS SETUP.EXE USING THE COMCOMPONENT.
I AM GETTING INTERNAL ERROR 2714.HOWEVER I CALLED THIS CUSTOM ACTION FROM DIALOG BOX ONSUCCESSFUL COMPLETION.

HOW TO SOLVE THE PROBLEM?

I ALSO REQUIRE AN MSI TO BE LAUNCHED BEFORE ENDING MY SETUP SO THAT IT CAN INSTALLED IEWebControl.

I USED CUSTOM ACTION. "INCLUDED WITHIN YOUR MAIN SETUP".
I ADDED THE .MSI FILE IN SUPPORT FILES.
HOWEVER IT IS NOT WORKING.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 31 July 2006 - 15:52

There seems to be a problem with your CAPS LOCK key.

2714 indicates a path problem. Can you post the full text of the error message and/or the relevant part of the log?

You cannot feasibly run one msi file from another msi file. Nested install custom action are deprecated.

sanjoygr

sanjoygr
  • Full Members
  • 76 posts

Posted 31 July 2006 - 16:22

Hi Stefan,

Sorry for CAPS LOCK on.

1. I have inserted the IeWebControls.msi file in Support files.
2. I have created an Custom action CA_InstallWebControl.
Type: Launch another msi package
Location:Included within your main setup

However the other two options availble are
1. Stored on the source media
2.An application that is advertised or already installed

Source: <ISProjectFolder>\nnaprereq\iewebcontrols.msi
Target: ALLUSERS=[ALLUSERS] ADDLOCAL=ALL
Execution Schedule: Execute Only once
InstallExecute Sequence: After Cost Finalize
Install Execution Condition: REMOVE~<>"ALL"

QUOTE
My Application setup created is in compressed mode.


Q1. Is there any steps I am missing?
Q2. What should be the path folder if I place the file in support files.
Q3. Is there any option to make silient mode installation of MSI called by custom action?
Q4. Do I Require to call the ustom action on "DoAction" of some push button of any dialog box or the Custom Action will be executed by itself?

Q5.In support files can I place multiple files with folders & sub folders?
As I have to call another setup.exe as a 3rd party pre-requisite from my Application setup.exe, after install files, that requires many other files to run.

I request you suggestion.

Thanks
Sanjoy

Edited by sanjoygr, 31 July 2006 - 16:31.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 01 August 2006 - 16:56

I don't see anything obviously wrong, but I'm not using nested install custom actions myself and I'm trying to forget about them as much as I can wink.gif

Please read this:
QUOTE
Concurrent Installations, also called Nested Installations, is a deprecated feature of the Windows Installer. Applications installed with concurrent installations can eventually fail because they are difficult for customers to service correctly. Do not use concurrent installations to install products that are intended to be released to the public.

and also
QUOTE
Rule 20: Avoid Nested Installs
at http://blogs.msdn.co.../12/595950.aspx

And note that documentation about this type of custom action has been pulled from the SDK documentation

fredrik.strom

fredrik.strom
  • Full Members
  • 39 posts

Posted 03 August 2006 - 10:29

Stefan what do you recommend to do instaid of nested installs?

Regards F

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 03 August 2006 - 16:48

QUOTE
The recommended method is to use an executable ("chainer exe") that will run the msi files sequentially.