By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,448 Members | 1,378 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,448 IT Pros & Developers. It's quick & easy.

Application Setup causing errror

P: n/a
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.
Nov 15 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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
<di********@discussion.microsoft.com> wrote in message
news:uN****************@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.

Nov 15 '05 #2

P: n/a
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]
----
<di********@discussion.microsoft.com> wrote in message
news:uN****************@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.

Nov 15 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.