![]() |
#1 |
Junior Member
Join Date: Mar 2011
Posts: 24
|
some execwait issues
heya guy, me again.
is it me or why does the ExecWait function wont work after burning/imaging my installer? if i start straight from hdd and install it, all would be fine. but after burning the package on bluray/DVD, ExecWait wouldnt work anymore. all subinstallations pops out simultanously. whats going wrong in here? my installer calls some other (3rd-party) installer, depending on whats the users choice. what i want is that it install one package at time. from hdd all works fine. from blu-ray/DVD it wouldnt |
![]() |
![]() |
![]() |
#2 |
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
Possibly this has something to do with the fact that a DVD is read-only. Perhaps those installers copy themselves to the HDD before they execute, because they want writable storage for some reason or other. You could try execwaiting including child processes.
|
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Mar 2011
Posts: 24
|
that wont work. for testing purposes i've copied (via a small loader) the setup executable to defined $TEMP directory and start the installation from there.
content is still on dvd/br. even if the installer is on hdd only, every childprocess is loaded instant, without waiting for finished the first process |
![]() |
![]() |
![]() |
#4 |
Junior Member
Join Date: Mar 2011
Posts: 24
|
it wont work.
i moved the installer (via small loader) to defined $TEMP folder and start setup from there. content is still on dvd/br. only the installer is on that temporarily folder. its still the same, childprocesses wont wait until first is finished. |
![]() |
![]() |
![]() |
#5 |
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
That's why I said, execwait the installer AND wait for its childprocesses.
http://lmgtfy.com/?q=nsis+execwait+child+processes&l=1 |
![]() |
![]() |
![]() |
#6 | |
Junior Member
Join Date: Mar 2011
Posts: 24
|
i'd try it, but it wont response with anything.
Quote:
did i get the wrong idea? after first installer it hangs, it seems that it wait till forever, after finishing first job. |
|
![]() |
![]() |
![]() |
#7 |
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
No idea. Try to find out what it's waiting for. Start by using a different exe.
|
![]() |
![]() |
![]() |
#8 |
Junior Member
Join Date: Mar 2011
Posts: 24
|
i tried, but still the same. even if i call calc and close it, the installer still hangs after closing the program
|
![]() |
![]() |
![]() |
#9 |
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
Hm, guess that's a bug in the macro, then. What OS?
|
![]() |
![]() |
![]() |
#10 |
Junior Member
Join Date: Mar 2011
Posts: 24
|
finally i got it
adding "/runfromtemp /clone_wait" switches will do it, even from dvd/br waiting time is annoying, but is works. it takes some time to end installers and step forward, but i'm happy that i got it finally working thanks for help EDIT: OS: Win7 x64 (also tried with Win7 x86, same issues) |
![]() |
![]() |
![]() |
#11 |
Junior Member
Join Date: Mar 2011
Posts: 24
|
it seems that only "/clone_wait" is needed. dont know if it works with older installshield-versions
|
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|