Troubleshooting FBA Generic Cmd error code

B

BillM

I'm trying to use the FBA Generic Command to automatically install two
applications.
If I use batch files, they both install properly.
If I try to call the *.msi files directly, then one (NetMon3.1) installs
fine but our home grown app fails with exitcode: 0x652.
I can install both (calling the msi files directly) from a DOS prompt.

Can anyone tell me what error code 0x652 is telling me? And/or shed any
light on what might be the problem? Thanks

The gory details for anyone who might be interested:

These are the relevant values for the two FBA Generic cmds:

FBA Generic command values for installing network monitor 3.1:
FilePath %11%\cmd.exe
Arguments /C %24%\extras\Apps\MSNetMon31\nm31_release_x86.msi /q
Phase 8500
Timeout 120

FBA Generic command values for installing Block Rate Tester App:
FilePath %11%\cmd.exe
Arguments /C %24%\extras\Apps\BlockRateDebug2_1\block_rate.msi /q
Phase 8501
Timeout 120

When I used batch files and it worked properly, all I did was replace
'block_rate.msi /q' with 'block_rate_install.bat' and similarly for the
NetMon installation.

The Network Monitor Install Batch File:
echo
c:
cd \extras\apps\MSNetMon31\
nm31_release_x86.msi /q


The Block Rate Install Batch File:
echo
c:
cd \extras\apps\blockratedebug2_1\
block_rate.msi /q

The FBA Results from FBALOG.txt that I get when it fails:

21:39:27 PM - [FBASetProgressText] Installing Components...
21:41:27 PM - [FBALaunch] C:\WINDOWS\system32\cmd.exe /C
C:\extras\Apps\MSNetMon31\nm31_release_x86.msi /q (Timeout: 120)
21:41:50 PM - [FBALaunch] C:\WINDOWS\system32\cmd.exe /C
C:\extras\Apps\BlockRateDebug2_1\block_rate.msi /q (ExitCode: 0x652)
22:02:42 PM - [FBALaunch] C:\WINDOWS\dotnetfx3.exe /q (ExitCode: 0x0)


Thanks for any help!
 
K

KM

Bill,

IIRC, the 0x652 error is ERROR_INSTALL_ALREADY_RUNNING. You probably have
both msiexec's running the same time.
You should probably set it up the way that FBA waits until the first msiexec
command is done. (set the comand extended properties Flags and Timeout to
0).
 
B

BillM

Thanks KM!!!
My mistake was strictly the timeout being too short.
I thought that I needed something less than the infinite timeout so that the
DOS cmd window would close automatically and not require manual interaction
and it appears that the NetMon installation took more than the 2 mintues that
I allocated and so msiexec was still running when the second attempted to
start. Evidently it didn't take the two minutes to install when I used the
batch files and that's what caused me the confusion.
Many thanks for your quick response with the correct solution!
Bill

KM said:
Bill,

IIRC, the 0x652 error is ERROR_INSTALL_ALREADY_RUNNING. You probably have
both msiexec's running the same time.
You should probably set it up the way that FBA waits until the first msiexec
command is done. (set the comand extended properties Flags and Timeout to
0).

--
=========
Regards,
KM

I'm trying to use the FBA Generic Command to automatically install two
applications.
If I use batch files, they both install properly.
If I try to call the *.msi files directly, then one (NetMon3.1) installs
fine but our home grown app fails with exitcode: 0x652.
I can install both (calling the msi files directly) from a DOS prompt.

Can anyone tell me what error code 0x652 is telling me? And/or shed any
light on what might be the problem? Thanks

The gory details for anyone who might be interested:

These are the relevant values for the two FBA Generic cmds:

FBA Generic command values for installing network monitor 3.1:
FilePath %11%\cmd.exe
Arguments /C %24%\extras\Apps\MSNetMon31\nm31_release_x86.msi /q
Phase 8500
Timeout 120

FBA Generic command values for installing Block Rate Tester App:
FilePath %11%\cmd.exe
Arguments /C %24%\extras\Apps\BlockRateDebug2_1\block_rate.msi /q
Phase 8501
Timeout 120

When I used batch files and it worked properly, all I did was replace
'block_rate.msi /q' with 'block_rate_install.bat' and similarly for the
NetMon installation.

The Network Monitor Install Batch File:
echo
c:
cd \extras\apps\MSNetMon31\
nm31_release_x86.msi /q


The Block Rate Install Batch File:
echo
c:
cd \extras\apps\blockratedebug2_1\
block_rate.msi /q

The FBA Results from FBALOG.txt that I get when it fails:

21:39:27 PM - [FBASetProgressText] Installing Components...
21:41:27 PM - [FBALaunch] C:\WINDOWS\system32\cmd.exe /C
C:\extras\Apps\MSNetMon31\nm31_release_x86.msi /q (Timeout: 120)
21:41:50 PM - [FBALaunch] C:\WINDOWS\system32\cmd.exe /C
C:\extras\Apps\BlockRateDebug2_1\block_rate.msi /q (ExitCode: 0x652)
22:02:42 PM - [FBALaunch] C:\WINDOWS\dotnetfx3.exe /q (ExitCode: 0x0)


Thanks for any help!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top