Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Calling another IS Setup from within InstallScript


1 reply to this topic

RED2000

RED2000
  • Members
  • 2 posts

Posted 01 February 2002 - 15:25

Hi,

I am fairly new to InstallShield and would apreciate any help with the following problem

I am trying to run a setup from within a setup.  
If I try using LanunchAppAndWait I get the following Error:
1607: Unable to install InstallShield Scripting Runtime.

I have also tried DoInstall( ) but not quite sure how it works.  I point it to the location of the Setup.inx file but it never actually runs.  

Both setups were created using InstallShield developer 7.02

Regards

Chris Redfern




mandrews

mandrews
  • Members
  • 44 posts

Posted 01 February 2002 - 18:00

I've never run another 7.02 from a 7.02, but I have launched other installs made from InstallShield 6 from 7.02.

Maybe the two engines are clashing (?)

Can you move the 2nd install to run after the first one completes by using LaunchApp( ) as the last thing in OnEnd( ) ?  

You'll can probably use a global BOOL to keep track of whether you need to run the other install at the end or not (unless you're always going to run it, no matter what)