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 Installshield program....


7 replies to this topic

loorie

loorie
  • Members
  • 10 posts

Posted 22 August 2002 - 10:10

Hi,

 I'm making an InstallShieldProgram that

 launches another InstallShieldProgram which was made by

 another person(it's a driver installing program..).

 So I can't use DoInstall(Setup.inx,...) cause I only have the

 packaged one.

 Consequently I should use LaunchAppAndWait() but if I use

 this function, the nested InstallShieldProgram generates

 an error which says

 "iKernel.exe can't be copied to c:\....\6\Intel32 "

 Does anyone have some idea how this error can be solved?

 thanks for replies...

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 22 August 2002 - 13:09

Hmm, I've called other packaged installs successfully for both IS5 and IS6.

I'm assuming this other install works fine if ran separately.  Is that correct?  Also the account which is running these has Adminstrator privleges, right?
user posted image

Ray Gonzales

Ray Gonzales
  • Members
  • 7 posts

Posted 22 August 2002 - 18:49

ikernel.exe isn't read-only in that particular path is it?  I can't imagine why it would be but that would be a reason as to why it won't copy.

I regularly call other installations from a parent installation with no problem using IS 6.31.
Ray Gonzales[br]ray.gonzales@motorola.com[br]http://www.motorola.com

loorie

loorie
  • Members
  • 10 posts

Posted 23 August 2002 - 04:35

Thanks for replies...
 
 Both of them works fine if I launch them separately.
 And i have checked that iKernel.exe isn't read-only file
 in that folder.

 Nesting Program is made at IS 6.3 and the nested one is
 ,I suppose, made at older version...
 To specify, the nested program is "Detonator", as you know
 the all-in-one driver of NVidia Graphic Cards.  

 I'll tell you in detail.
 When the nested Program(Detonator) is lauched,
 it works fine until extracting packages,
 but after that, at the preparing dialog it generates
 error:

 Error:
 iKernel.exe cannot be copied to C:\...\engines\6\Intel32.
 Check if you have the proper right to copy there.(0x20)

 But as you know, there is already an iKernel.exe in that
 directory... I think that is why it generates this error...
 But why is Detonator trying to copy iKernel.exe
 to that folder?...

 Everything is mysterious...=_=

 Any replies will help me a lot... thanks..



Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 23 August 2002 - 05:33

Ah yes, Detonator.  I would suggest doing this.  Instead of launching the packaged one click install through your setup, use the unpackaged/raw version.

To do so, you'll need to separately run that install and then make a copy of the extracted files from the temp. directory.

Just in case, could you also post a copy of the actual line(s) of code which you're using to try and issue the launch.
user posted image

loorie

loorie
  • Members
  • 10 posts

Posted 23 August 2002 - 05:59

Thanks for taking care of my problem...^^
 
 I used the code :
 
 LaunchAppAndWait(SRCDIR^"DRIVERS\\2942xp.exe", "", WAIT);

 2942xp.exe : the Detonator packaged file.
 DRIVERS : the folder which contains several drivers...

 I tried the way you told me.
 I got the raw files from the temp directory
 and tried to launch the Setup.exe which was in that dir,
 but same error occurs at the same time... T.T

 I'll try it by using DoInstall()...^^

 Thanks for your attention.....



loorie

loorie
  • Members
  • 10 posts

Posted 23 August 2002 - 06:25

Oh~ Yes~~
 It worked!!~^^
 Thank you very much!^^

 I used:
 
 DoInstall("Setup.inx", "", WAIT);

 Now i'll try it at silent mode..^^  
 Thanks again~..

 It took whole month to do this...=_=;;



tycoates

tycoates
  • Members
  • 8 posts

Posted 24 August 2002 - 05:20

I have used 6.x launching another successfully using LaunchAppAndWait(), but I needed to Launch the child install from the onBegin function, any later in the parent install and I would get the same error you got when it tried to copy in a new iKernal and the parent had it locked.