Windows XP Community - XPHeads



Troubleshooting FBA Generic Cmd error code

microsoft.public.windowsxp.embedded


Reply
  #1 (permalink)  
Old 04-02-2008, 09:19 PM
BillM
 
Posts: n/a
Troubleshooting FBA Generic Cmd error code
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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-02-2008, 09:52 PM
KM
 
Posts: n/a
Re: Troubleshooting FBA Generic Cmd error code
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!


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-03-2008, 04:02 PM
BillM
 
Posts: n/a
Re: Troubleshooting FBA Generic Cmd error code
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" wrote:

> 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!

>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:21 AM.


Registry Mechanic - Free Scan Now
Driver Scanner 2009 - Free Scan Now




Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74