FBA generic Command behaviour

P

Prakash437

Hello everyone,
I have 2 FBA generic commands, one executing an application installer, and
the later deleting the installer file. Their phases are 9000 and 9100
respectively.

Ofcourse, these commands are executed and i get the desired
result. And out of curiosity when i checked the FBA log i find that one of
the Generic command is executed, way too early (infact a few minutes into
the FBA) and exits with an exit code:0x641. The installer actually uses the
services of msiexec.exe. Here i provide that little part of FBA log, which i
feel is fishy??

FYI, the same command is again executed finally successfully and exits with
the code: 0x00.

Any ideas if there is anything wrong in it ?? Or is it some sort of
initializing ?? if yes why only this generic command, when i have other
commands aswell.

Monday, January 31, 2005

16:49:08 PM - [FBASetProgressText] Setting PNP Flag...
16:49:55 PM - [FBAApplySecurityStringToRegKey] RegSetKeySecurity Failed!
Error: 0x6
16:49:56 PM - [FBAReplaceSecurityInRegistry]
FBAApplySecurityStringToRegKey(009) #1 Failed!
16:50:07 PM - [FBASetProgressText] Initializing...
16:50:08 PM - [CallEntryPointThread] C:\WINDOWS\FBA\FBALIB.DLL,
FBAInitialize
16:50:08 PM - [FBASetProgressText] Setting SystemPrefix...
16:50:09 PM - [FBASetProductKey] Evaluation product key
16:50:10 PM - [FBASetProgressText] Initializing User Profiles...
16:50:22 PM - [CallEntryPointThread] C:\WINDOWS\FBA\FBALIB.DLL, FBAStep1
16:50:23 PM - [CallEntryPointThread] C:\WINDOWS\FBA\FBALIB.DLL,
FBASetSetupInfo
16:50:24 PM - [FBASetProgressText] Installing System Security...
16:51:43 PM - [FBAInstallSecurity] Successfully set security!
16:51:45 PM - [CallEntryPointThread] C:\WINDOWS\FBA\FBASEC.DLL,
FBAInstallSecurityPhase1
16:51:45 PM - [FBASetProgressText] Registering Components...
16:51:46 PM - [CallEntryPointThread] C:\WINDOWS\system32\atl.dll,
DllRegisterServer
16:51:48 PM - [CallEntryPointThread] C:\WINDOWS\system32\txflog.dll,
DllRegisterServer
16:51:49 PM - [CallEntryPointThread] C:\WINDOWS\system32\netcfgx.dll,
DllRegisterServer
16:51:51 PM - [CallEntryPointThread] C:\WINDOWS\system32\netman.dll,
DllRegisterServer
16:51:53 PM - [CallEntryPointThread] C:\WINDOWS\system32\netshell.dll,
DllRegisterServer
16:51:57 PM - [CallEntryPointThread] C:\WINDOWS\system32\odbcconf.dll,
DllRegisterServer

************************************** Note these lines
***********************************************************
16:52:03 PM - [FBALaunch] C:\WINDOWS\system32\msiexec.exe /regserver
(ExitCode: 0x0)
16:52:34 PM - [FBALaunch] C:\WINDOWS\system32\msiexec.exe /i
"C:\WINDOWS\system32\WMEncoder.msi" /qn (ExitCode: 0x641)
************************************** Note these lines
***********************************************************

16:52:41 PM - [FBALaunch] C:\WINDOWS\system32\lodctr.exe
/c:C:\WINDOWS\system32\perfd009.dat /h:C:\WINDOWS\system32\perfi009.dat
/l:009 (ExitCode: 0x0)
16:52:42 PM - [CallEntryPointThread] C:\WINDOWS\system32\MSCTF.dll,
DllRegisterServer
16:52:44 PM - [CallEntryPointThread] C:\WINDOWS\system32\rsaenh.dll,
DllRegisterServer
16:52:46 PM - [CallEntryPointThread] C:\WINDOWS\system32\dssenh.dll,
DllRegisterServer

Thanks,
prakash
 
K

KM

Prakash437,

Are you sure you set FBA phases to something > 9000?

From your FBA log it seems that the phases were set somewhere between 2100 and 4500:


******************** 2100 phase *****************************
16:51:57 PM - [CallEntryPointThread] C:\WINDOWS\system32\odbcconf.dll, DllRegisterServer


******************** Your FBA commands *****************************
16:52:03 PM - [FBALaunch] C:\WINDOWS\system32\msiexec.exe /regserver (ExitCode: 0x0)
16:52:34 PM - [FBALaunch] C:\WINDOWS\system32\msiexec.exe /i "C:\WINDOWS\system32\WMEncoder.msi" /qn (ExitCode: 0x641)

******************** 4500 phase *****************************
16:52:41 PM - [FBALaunch] C:\WINDOWS\system32\lodctr.exe /c:C:\WINDOWS\system32\perfd009.dat /h:C:\WINDOWS\system32\perfi009.dat
/l:009 (ExitCode: 0x0)



If acceptable, you may want to attach your SLD here so that we could take a look at it.

--
Regards,
KM, BSquare Corp.

Hello everyone,
I have 2 FBA generic commands, one executing an application installer, and
the later deleting the installer file. Their phases are 9000 and 9100
respectively.

Ofcourse, these commands are executed and i get the desired
result. And out of curiosity when i checked the FBA log i find that one of
the Generic command is executed, way too early (infact a few minutes into
the FBA) and exits with an exit code:0x641. The installer actually uses the
services of msiexec.exe. Here i provide that little part of FBA log, which i
feel is fishy??

FYI, the same command is again executed finally successfully and exits with
the code: 0x00.

Any ideas if there is anything wrong in it ?? Or is it some sort of
initializing ?? if yes why only this generic command, when i have other
commands aswell.

Monday, January 31, 2005

16:49:08 PM - [FBASetProgressText] Setting PNP Flag...
16:49:55 PM - [FBAApplySecurityStringToRegKey] RegSetKeySecurity Failed!
Error: 0x6
16:49:56 PM - [FBAReplaceSecurityInRegistry]
FBAApplySecurityStringToRegKey(009) #1 Failed!
16:50:07 PM - [FBASetProgressText] Initializing...
16:50:08 PM - [CallEntryPointThread] C:\WINDOWS\FBA\FBALIB.DLL,
FBAInitialize
16:50:08 PM - [FBASetProgressText] Setting SystemPrefix...
16:50:09 PM - [FBASetProductKey] Evaluation product key
16:50:10 PM - [FBASetProgressText] Initializing User Profiles...
16:50:22 PM - [CallEntryPointThread] C:\WINDOWS\FBA\FBALIB.DLL, FBAStep1
16:50:23 PM - [CallEntryPointThread] C:\WINDOWS\FBA\FBALIB.DLL,
FBASetSetupInfo
16:50:24 PM - [FBASetProgressText] Installing System Security...
16:51:43 PM - [FBAInstallSecurity] Successfully set security!
16:51:45 PM - [CallEntryPointThread] C:\WINDOWS\FBA\FBASEC.DLL,
FBAInstallSecurityPhase1
16:51:45 PM - [FBASetProgressText] Registering Components...
16:51:46 PM - [CallEntryPointThread] C:\WINDOWS\system32\atl.dll,
DllRegisterServer
16:51:48 PM - [CallEntryPointThread] C:\WINDOWS\system32\txflog.dll,
DllRegisterServer
16:51:49 PM - [CallEntryPointThread] C:\WINDOWS\system32\netcfgx.dll,
DllRegisterServer
16:51:51 PM - [CallEntryPointThread] C:\WINDOWS\system32\netman.dll,
DllRegisterServer
16:51:53 PM - [CallEntryPointThread] C:\WINDOWS\system32\netshell.dll,
DllRegisterServer
16:51:57 PM - [CallEntryPointThread] C:\WINDOWS\system32\odbcconf.dll,
DllRegisterServer

************************************** Note these lines
***********************************************************
16:52:03 PM - [FBALaunch] C:\WINDOWS\system32\msiexec.exe /regserver
(ExitCode: 0x0)
16:52:34 PM - [FBALaunch] C:\WINDOWS\system32\msiexec.exe /i
"C:\WINDOWS\system32\WMEncoder.msi" /qn (ExitCode: 0x641)
************************************** Note these lines
***********************************************************

16:52:41 PM - [FBALaunch] C:\WINDOWS\system32\lodctr.exe
/c:C:\WINDOWS\system32\perfd009.dat /h:C:\WINDOWS\system32\perfi009.dat
/l:009 (ExitCode: 0x0)
16:52:42 PM - [CallEntryPointThread] C:\WINDOWS\system32\MSCTF.dll,
DllRegisterServer
16:52:44 PM - [CallEntryPointThread] C:\WINDOWS\system32\rsaenh.dll,
DllRegisterServer
16:52:46 PM - [CallEntryPointThread] C:\WINDOWS\system32\dssenh.dll,
DllRegisterServer

Thanks,
prakash
 
P

prakash437

I replied to your response yesterday. Today i am surprised to see that
the message is not yet posted on the group ..

Anyway here is my reply once again..
Prakash437,

Are you sure you set FBA phases to something > 9000?

Yes, the phases are infact 9000 and 9100!!
From your FBA log it seems that the phases were set somewhere between
2100
and 4500:

Well, that's what is my question ?? why does it execute it at this
phase,
when it is supposed to do it only after 9000 (which anyway it does.)
******************** 2100 phase *****************************
16:51:57 PM - [CallEntryPointThread] C:\WINDOWS\system32\odbcconf.dll,
DllRegisterServer


******************** Your FBA commands *****************************
16:52:03 PM - [FBALaunch] C:\WINDOWS\system32\msiexec.exe /regserver
(ExitCode: 0x0)

This is a system related FBA command. Its not my FBA command !! I
highlighted it here to relate it to the one that follows, which is of
our
interest.
16:52:34 PM - [FBALaunch] C:\WINDOWS\system32\msiexec.exe /i
"C:\WINDOWS\system32\WMEncoder.msi" /qn (ExitCode: 0x641)

This is my Command. It is being executed now (and fails) and again
after all
system specific FBA commands are done (and succeeds). (Note: i have not
shown that part of the FBA Log file).
******************** 4500 phase *****************************
16:52:41 PM - [FBALaunch] C:\WINDOWS\system32\lodctr.exe
/c:C:\WINDOWS\system32\perfd009.dat /h:C:\WINDOWS\system32\perfi009.dat
/l:009 (ExitCode: 0x0)
If acceptable, you may want to attach your SLD here so that we could
take
a look at it.

I uploaded the SLD at this location, please check it.

http://www.geocities.com/prakash437/installer.zip

Thanks for your reply,
Prakash
Prakash437,

Are you sure you set FBA phases to something > 9000?

From your FBA log it seems that the phases were set somewhere between 2100 and 4500:


******************** 2100 phase *****************************
16:51:57 PM - [CallEntryPointThread]
C:\WINDOWS\system32\odbcconf.dll, DllRegisterServer
******************** Your FBA commands *****************************
16:52:03 PM - [FBALaunch] C:\WINDOWS\system32\msiexec.exe /regserver (ExitCode: 0x0)
16:52:34 PM - [FBALaunch] C:\WINDOWS\system32\msiexec.exe /i
"C:\WINDOWS\system32\WMEncoder.msi" /qn (ExitCode: 0x641)
******************** 4500 phase *****************************
16:52:41 PM - [FBALaunch] C:\WINDOWS\system32\lodctr.exe
/c:C:\WINDOWS\system32\perfd009.dat /h:C:\WINDOWS\system32\perfi009.dat
/l:009 (ExitCode: 0x0)



If acceptable, you may want to attach your SLD here so that we could take a look at it.

--
Regards,
KM, BSquare Corp.

Hello everyone,
I have 2 FBA generic commands, one executing an application installer, and
the later deleting the installer file. Their phases are 9000 and 9100
respectively.

Ofcourse, these commands are executed and i get the desired
result. And out of curiosity when i checked the FBA log i find that one of
the Generic command is executed, way too early (infact a few minutes into
the FBA) and exits with an exit code:0x641. The installer actually uses the
services of msiexec.exe. Here i provide that little part of FBA log, which i
feel is fishy??

FYI, the same command is again executed finally successfully and exits with
the code: 0x00.

Any ideas if there is anything wrong in it ?? Or is it some sort of
initializing ?? if yes why only this generic command, when i have other
commands aswell.

Monday, January 31, 2005

16:49:08 PM - [FBASetProgressText] Setting PNP Flag...
16:49:55 PM - [FBAApplySecurityStringToRegKey] RegSetKeySecurity Failed!
Error: 0x6
16:49:56 PM - [FBAReplaceSecurityInRegistry]
FBAApplySecurityStringToRegKey(009) #1 Failed!
16:50:07 PM - [FBASetProgressText] Initializing...
16:50:08 PM - [CallEntryPointThread] C:\WINDOWS\FBA\FBALIB.DLL,
FBAInitialize
16:50:08 PM - [FBASetProgressText] Setting SystemPrefix...
16:50:09 PM - [FBASetProductKey] Evaluation product key
16:50:10 PM - [FBASetProgressText] Initializing User Profiles...
16:50:22 PM - [CallEntryPointThread] C:\WINDOWS\FBA\FBALIB.DLL, FBAStep1
16:50:23 PM - [CallEntryPointThread] C:\WINDOWS\FBA\FBALIB.DLL,
FBASetSetupInfo
16:50:24 PM - [FBASetProgressText] Installing System Security...
16:51:43 PM - [FBAInstallSecurity] Successfully set security!
16:51:45 PM - [CallEntryPointThread] C:\WINDOWS\FBA\FBASEC.DLL,
FBAInstallSecurityPhase1
16:51:45 PM - [FBASetProgressText] Registering Components...
16:51:46 PM - [CallEntryPointThread] C:\WINDOWS\system32\atl.dll,
DllRegisterServer
16:51:48 PM - [CallEntryPointThread] C:\WINDOWS\system32\txflog.dll,
DllRegisterServer
16:51:49 PM - [CallEntryPointThread] C:\WINDOWS\system32\netcfgx.dll,
DllRegisterServer
16:51:51 PM - [CallEntryPointThread] C:\WINDOWS\system32\netman.dll,
DllRegisterServer
16:51:53 PM - [CallEntryPointThread] C:\WINDOWS\system32\netshell.dll,
DllRegisterServer
16:51:57 PM - [CallEntryPointThread] C:\WINDOWS\system32\odbcconf.dll,
DllRegisterServer

************************************** Note these lines
***********************************************************
16:52:03 PM - [FBALaunch] C:\WINDOWS\system32\msiexec.exe /regserver
(ExitCode: 0x0)
16:52:34 PM - [FBALaunch] C:\WINDOWS\system32\msiexec.exe /i
"C:\WINDOWS\system32\WMEncoder.msi" /qn (ExitCode: 0x641)
************************************** Note these lines
***********************************************************

16:52:41 PM - [FBALaunch] C:\WINDOWS\system32\lodctr.exe
/c:C:\WINDOWS\system32\perfd009.dat /h:C:\WINDOWS\system32\perfi009.dat
/l:009 (ExitCode: 0x0)
16:52:42 PM - [CallEntryPointThread] C:\WINDOWS\system32\MSCTF.dll,
DllRegisterServer
16:52:44 PM - [CallEntryPointThread] C:\WINDOWS\system32\rsaenh.dll,
DllRegisterServer
16:52:46 PM - [CallEntryPointThread] C:\WINDOWS\system32\dssenh.dll,
DllRegisterServer

Thanks,
prakash
 
K

KM

Prakash437,
I replied to your response yesterday. Today i am surprised to see that
the message is not yet posted on the group ..

Nope, did not see you reply here.
Sometimes public newsgroup servers behave wierd :-(
Yes, the phases are infact 9000 and 9100!!

I just saw your component. The phase are indeed the ones you set.
Well, that's what is my question ?? why does it execute it at this
phase, when it is supposed to do it only after 9000 (which anyway it does.)

Seems that your component's FBA generic command(s) phases get reset to 4500.
My very rough guess would be that this may happen because you have the "Windows Installer Service" specified in the dependency list.
The "Windows Installer Service" installs the msiexec service at the 4500 FBA system phase (that is the FBA command just before your
own FBA command you saw in the log file).

Why your phases are getting reset - I don't have a clue.

I can't build your component here as I don't have your repository.

Would you mind send us (through the website) the "system" hive of the built (pre-FBA) image? I want to take a look at the FBA
commands set up there.

--

KM,
BSquare Corp.

PS. A while ago we have created the componentized version of the WMEcoder. If you are interested, contact BSquare for more details.

KM said:
Prakash437,

Are you sure you set FBA phases to something > 9000?

From your FBA log it seems that the phases were set somewhere between 2100 and 4500:


******************** 2100 phase *****************************
16:51:57 PM - [CallEntryPointThread]
C:\WINDOWS\system32\odbcconf.dll, DllRegisterServer
******************** Your FBA commands *****************************
16:52:03 PM - [FBALaunch] C:\WINDOWS\system32\msiexec.exe /regserver (ExitCode: 0x0)
16:52:34 PM - [FBALaunch] C:\WINDOWS\system32\msiexec.exe /i
"C:\WINDOWS\system32\WMEncoder.msi" /qn (ExitCode: 0x641)
******************** 4500 phase *****************************
16:52:41 PM - [FBALaunch] C:\WINDOWS\system32\lodctr.exe
/c:C:\WINDOWS\system32\perfd009.dat /h:C:\WINDOWS\system32\perfi009.dat
/l:009 (ExitCode: 0x0)



If acceptable, you may want to attach your SLD here so that we could take a look at it.

--
Regards,
KM, BSquare Corp.

Hello everyone,
I have 2 FBA generic commands, one executing an application installer, and
the later deleting the installer file. Their phases are 9000 and 9100
respectively.

Ofcourse, these commands are executed and i get the desired
result. And out of curiosity when i checked the FBA log i find that one of
the Generic command is executed, way too early (infact a few minutes into
the FBA) and exits with an exit code:0x641. The installer actually uses the
services of msiexec.exe. Here i provide that little part of FBA log, which i
feel is fishy??

FYI, the same command is again executed finally successfully and exits with
the code: 0x00.

Any ideas if there is anything wrong in it ?? Or is it some sort of
initializing ?? if yes why only this generic command, when i have other
commands aswell.

Monday, January 31, 2005

16:49:08 PM - [FBASetProgressText] Setting PNP Flag...
16:49:55 PM - [FBAApplySecurityStringToRegKey] RegSetKeySecurity Failed!
Error: 0x6
16:49:56 PM - [FBAReplaceSecurityInRegistry]
FBAApplySecurityStringToRegKey(009) #1 Failed!
16:50:07 PM - [FBASetProgressText] Initializing...
16:50:08 PM - [CallEntryPointThread] C:\WINDOWS\FBA\FBALIB.DLL,
FBAInitialize
16:50:08 PM - [FBASetProgressText] Setting SystemPrefix...
16:50:09 PM - [FBASetProductKey] Evaluation product key
16:50:10 PM - [FBASetProgressText] Initializing User Profiles...
16:50:22 PM - [CallEntryPointThread] C:\WINDOWS\FBA\FBALIB.DLL, FBAStep1
16:50:23 PM - [CallEntryPointThread] C:\WINDOWS\FBA\FBALIB.DLL,
FBASetSetupInfo
16:50:24 PM - [FBASetProgressText] Installing System Security...
16:51:43 PM - [FBAInstallSecurity] Successfully set security!
16:51:45 PM - [CallEntryPointThread] C:\WINDOWS\FBA\FBASEC.DLL,
FBAInstallSecurityPhase1
16:51:45 PM - [FBASetProgressText] Registering Components...
16:51:46 PM - [CallEntryPointThread] C:\WINDOWS\system32\atl.dll,
DllRegisterServer
16:51:48 PM - [CallEntryPointThread] C:\WINDOWS\system32\txflog.dll,
DllRegisterServer
16:51:49 PM - [CallEntryPointThread] C:\WINDOWS\system32\netcfgx.dll,
DllRegisterServer
16:51:51 PM - [CallEntryPointThread] C:\WINDOWS\system32\netman.dll,
DllRegisterServer
16:51:53 PM - [CallEntryPointThread] C:\WINDOWS\system32\netshell.dll,
DllRegisterServer
16:51:57 PM - [CallEntryPointThread] C:\WINDOWS\system32\odbcconf.dll,
DllRegisterServer

************************************** Note these lines
***********************************************************
16:52:03 PM - [FBALaunch] C:\WINDOWS\system32\msiexec.exe /regserver
(ExitCode: 0x0)
16:52:34 PM - [FBALaunch] C:\WINDOWS\system32\msiexec.exe /i
"C:\WINDOWS\system32\WMEncoder.msi" /qn (ExitCode: 0x641)
************************************** Note these lines
***********************************************************

16:52:41 PM - [FBALaunch] C:\WINDOWS\system32\lodctr.exe
/c:C:\WINDOWS\system32\perfd009.dat /h:C:\WINDOWS\system32\perfi009.dat
/l:009 (ExitCode: 0x0)
16:52:42 PM - [CallEntryPointThread] C:\WINDOWS\system32\MSCTF.dll,
DllRegisterServer
16:52:44 PM - [CallEntryPointThread] C:\WINDOWS\system32\rsaenh.dll,
DllRegisterServer
16:52:46 PM - [CallEntryPointThread] C:\WINDOWS\system32\dssenh.dll,
DllRegisterServer

Thanks,
prakash
 

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