Page 1 of 1

Combining two executables into one

Posted: Wed Nov 29, 2006 9:01 pm
by swadeep
I have two installables:
1) An Exe file
2) An MSI file

Is there a way to combine these two files into a single installable using InstallAware, if yes, how can this be done?

And also, I would like to install .exe file before .msi file if these two can be combined into one installable.

Thanks in Advance,
Swadeep

Posted: Thu Nov 30, 2006 3:58 pm
by MichaelNesmith
1) Add both files to your setup as support files (using Project Manager).
2) Run the EXE using Run Program and run the MSI using (Un)Install MSI Setup. Both of these commands need to be inserted in the MSIcode view (ALT+C).

Combining two executables into one

Posted: Tue Dec 19, 2006 6:46 pm
by swadeep
Hi Michael,

Thanks for your reply.
What are the parameters I need to pass to Install/Remove MSI Package[]?

Please find attached the document containing the window I am getting when I click on the (Un)Install MSI Setup, under which tab do I need to provide my msi details.

And I am also looking for a single executable file as the output which can be distributed to the users so that they can install the application (which inturn install exe first and then the msi next).

Thanks in Advance,
Swadeep









MichaelNesmith wrote:1) Add both files to your setup as support files (using Project Manager).
2) Run the EXE using Run Program and run the MSI using (Un)Install MSI Setup. Both of these commands need to be inserted in the MSIcode view (ALT+C).
File Attached:

<a href="files/121920061546/InstallAware.doc">InstallAware.doc

Posted: Wed Dec 20, 2006 10:22 am
by MichaelNesmith
The parameters really depend on your MSI package. At a minimum you want to click the Install button and also set the path to your MSI file using the form $SUPPORTDIR$\\msifile.msi.

Combining two installables into one

Posted: Wed Dec 20, 2006 1:44 pm
by swadeep
Hi Michael,

I am using the below command, is it correct or am I doing a mistake?

Install/Remove MSI Package [$SUPPORTDIR$\\MSIFile.msi]

I am able to trigger the installation of the exe but I am unable to trigger the installation of this MSIFile.msi.

Thanks,
Swadeep

Posted: Wed Dec 20, 2006 6:54 pm
by MichaelNesmith
You forgot to click the Install button.

Posted: Wed Dec 20, 2006 9:02 pm
by swadeep
I didnt forget to click the install button.

I get the following command if I directly click the install button
Install/Remove MSI Package [ADDLOCAL=ALL]. After this step where do I need to provide details of my MSIFile.msi

If I provide $SUPPORTDIR$\\MSIFile.msi in the Install/Remove MSI Package dialog I get Install/Remove MSI Package [$SUPPORTDIR$\\MSIFile.msi] on click on Install button

Please correct me

Posted: Thu Dec 21, 2006 9:22 am
by MichaelNesmith
Um...I think you need to do both :wink: