Application Setup causing errror

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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
 
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.
 
Back
Top