all groups > dotnet setup > august 2005 >
You're in the

dotnet setup

group:

Nested setup of exe via custom action type 34


Nested setup of exe via custom action type 34 Sebastian
8/5/2005 2:52:54 AM
dotnet setup:
Hi,

I've created a Setup-File for my application with Visual Studio 2003.
My application needs some other software to run, so it is necessary to
install these required software together with my application.

Maybe it is a good idea to use a custom action of type 34 in my
msi-file to start the other setup-programs.

My directory structure on a CD/DVD is:

\setup.exe
\testapp.msi
\MP\setup2.exe
\MP\setup2.ini

setup.exe runs testapp.msi, but how can I tell testapp.msi to run
..\MP\setup2.msi and to use the ini-file?

For custom action type 34 I have to create a row in the Directory-Table
for the setup2.exe. But how? I don't know the values for Directory
Parent and DefaultDir.

If somebody knows the correct rows for the Directory and
CustomAction-Tables it would be great!

Maybe there is also a better solution for my problem.

Best Regards,

Sebastian
Re: Nested setup of exe via custom action type 34 Bugbear.1973
8/8/2005 12:37:54 AM
Short of using a nested install (CustomAction type 7, 23 or 39, which
rumour has it is going to lose supprt), the only real option you have
is to have your setup.exe behave as a bootstrapper program which will
control the installation of each msi in turn
AddThis Social Bookmark Button