Hi,

I am packaging up my applicaiton with a Setup build and added under custom
actions-Install an exe containing a component that must be preinstalled.
When I install this it says..

1607: Unable to install InstallShield Scripting Runtime.

How can I call another setup package from the dotnet setup?

Also, is it not possible to run a .bat file from the installer?


Thanks.

Re: Application Setup causing errror by Helene

Helene
Fri Feb 06 11:16:54 CST 2004

This is the way I do it:

My custom action invoke my component which includes an Installer class.
In the Install event I use shell or Process.Start to invoke that other setup
application.

You can use a shell statement for an exe or bat file, and use Process.Start
for an msi file.
such as

Dim p as System.Diagnostics.Process
p = System.Diagnostics.Process.Start("....")
p.WaitForExit () ' not required...depends what you want.

Helene


<discussion@discussion.microsoft.com> wrote in message
news:uNks%23OJ7DHA.2748@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> I am packaging up my applicaiton with a Setup build and added under
custom
> actions-Install an exe containing a component that must be preinstalled.
> When I install this it says..
>
> 1607: Unable to install InstallShield Scripting Runtime.
>
> How can I call another setup package from the dotnet setup?
>
> Also, is it not possible to run a .bat file from the installer?
>
>
> Thanks.
>
>



Re: Application Setup causing errror by Phil

Phil
Fri Feb 06 16:18:51 CST 2004

You can't run two MSI setups simultaneously, which is what looks like is
happening, yours plus the other scripting runtime. Whether you do it with a bat
file or not, if the end result is two MSI setups running then it won't work. You
probably need a launching program to install the first one, then yours.
--
Phil Wilson [MVP Windows Installer]
----
<discussion@discussion.microsoft.com> wrote in message
news:uNks%23OJ7DHA.2748@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> I am packaging up my applicaiton with a Setup build and added under custom
> actions-Install an exe containing a component that must be preinstalled.
> When I install this it says..
>
> 1607: Unable to install InstallShield Scripting Runtime.
>
> How can I call another setup package from the dotnet setup?
>
> Also, is it not possible to run a .bat file from the installer?
>
>
> Thanks.
>
>