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

Nested silent installation is not working.


1 reply to this topic

ibm

ibm
  • Members
  • 1 posts

Posted 13 May 2005 - 20:04

I have created two projects in InstallScript 10.5 on the same
machine, using the same compiles and environment.
One of them sould be part of another to be called silently.

From the command line the silent install runs prefectly as: setup.exe /s
It does all requiered job, but as soon as I'm trying to call it from
another project, it produces the message:
Another instance of this setup is already running.
Please wait for the other instance to finish and then try again.

I'm calling the setup.exe with LaunchAppAndWait function.
What ever I tried, i.e. calling ChangeDirectory before, create custom
_LaunchAppEx, played with all parameters of LaunchAppAndWait,
nothing seems to work.

Also I have tried DoInstall function in InstallScript 10.5,
it seems to call the regular installation
with UI (all UI custom skins corrupted though), but it does't work for
the silent installation as well.

I have tried to call silent install created with InstallScript 10.5 from
InstallShield for Windows Installer 2.0 using the same LaunchAppAndWait,
but the error is more strange:
Please go to control pannel and check your System Configuration.

Only InstallShield 6.2 project has called silent InstallScript 10.5
correctly without any problem using LaunchAppAndWait function.

Is it actially possible to run silent install for InstallScript 10.5 from
within another InstallScript 10.5?

Any idea will be greatly appretiated.


Silverlay

Silverlay
  • Members
  • 68 posts

Posted 14 May 2005 - 06:11

Try to change your setup GUID ... i think it's because of this
if two installers have one GUID, OS thinks that it's same installer
Bonum initium est dimidium facti