Shahram Posted February 25, 2006 Share Posted February 25, 2006 (edited) I have been searching the forum for this problem, but I didn't find a direct answer,When Two MSI files are after eachother, eg, Adobe Acrobat & NetFrameWorks ,the 2nd one returns :"Another installation is already in progress. Complete that installation before proceeding with this install."how can I make it to wait for the previous one to finish before starting the next? Edited February 26, 2006 by Shahram Link to comment Share on other sites More sharing options...
wixfigura Posted February 27, 2006 Share Posted February 27, 2006 One msi must ended before an other starts. this happens if you start an installer packed msi or on in an rar.exe. Then this happens:WPI starts maybe Prog1.exe which is an rar archive with msi insideProg1.exe is decompressed to temp directory and start msi insideProg1.exe finishes while msi startsCause Prog1.exe is finished WPI starts the next step, Prog2.msimsi of prog1 is still running, so you get your error message.what you can do to solve your Problem:Set rar sfx-archives to temp mode Unpack packed installer to temp directory and copy the extracted msi to wpi/install instead of the original installer, to start it directly.Hope it helps. Link to comment Share on other sites More sharing options...
lawrenca Posted March 11, 2006 Share Posted March 11, 2006 Shahram,You could also call a .bat/.cmd file like the one below after your MSI that will loop until the process (in this case, IKernel.exe) has ended. You will need the files TLIST.exe, SLEEP.exe, and cmdow.exe in order for this to work. I put those files in C:\Windows\System32 directory but you can place them anywhere...just add the paths to the executables adjusting the code for the batch file below.cmdow @ /HID@echo off:DEBTLIST -P IKernel.exe |FIND "-1"IF %ERRORLEVEL% == 0 GOTO FINSLEEP 5GOTO DEB:FINExtra files are in the attachment.Tools.zip Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now