Jump to content

MSI installation


Recommended Posts

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 by Shahram
Link to comment
Share on other sites


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 inside

Prog1.exe is decompressed to temp directory and start msi inside

Prog1.exe finishes while msi starts

Cause Prog1.exe is finished WPI starts the next step, Prog2.msi

msi 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

  • 2 weeks later...

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

:DEB
TLIST -P IKernel.exe |FIND "-1"
IF %ERRORLEVEL% == 0 GOTO FIN
SLEEP 5
GOTO DEB
:FIN

Extra files are in the attachment.

Tools.zip

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...