I turned off REBOOT (set it to FALSE). I added flags and set it to 5 seconds.
I checked the FBA.log file, there is not error code. It looks like the
command was successful, but when I checked the program files, I don't see the
application. I don't know what is going on now. My next try is to use Runonce
command. Any suggestions ?.
One more question about Hyperterm. I added Shell Hyper...and TAPI 2.2 , I
made a build, the Shell component and TAPI component are getting built. It is
being skipped. Do you know why ?. The image size increased by 20 Meg. But I
when I installed the application, I Can't find hyperterminal.
Thanks
Siva
:
I just double checked. I have %11%\cmd.exe ,I have included the slash.
thanks
Siva
:
SC,
First of all, you don't necessarily have to run the command with the batch file.
You can simply launch your setup.exe with the proper command line specified. Use the same FBA Generic command.
Did you set the execution path to %11%cmd.exe or to %11%\cmd.exe (please note the slash character) It would be important
to
have
the right string there.
--
=========
Regards,
KM
I tried it. Same results. I set the filepath to %11%cmd.exe
arguments to /C %24%\Gunze\install.bat
FBA log file, shows that the command had been executed and returned
error code 0x1.
Now I changed the flag settings to 5, I wanna wait 5 seconds see what happens.
Is there any other way I could install my application ?.
The bat script has only one line "setup.exe -s -eng -usb". May be I should
provide this as the argument instead of the bat script. What do you think ?
Thanks
SC
:
Siva,
You will only need to reboot the machine if the app installation requires it so it doesn't affect other apps/system
components
installs. It is a rare case for FBA type of installs, though.
Also, you mentioned there was an undesirable reboot in your previous setup so the REBOOT option was the first idea that
came
up
to
my mind.
--
=========
Regards,
KM
KM,
I am going to try it tomorrow. My application needs a reboot after the
installation. Is there any other reason why you want me to set the REBOOT to
false.
Thanks
Siva
:
Siva,
You are doing FBA Generic Command, right?
You will have to launch cmd.exe and pass the path to the batch file as the argument with /C switch added.
Also, please set the Reboot option of the command to False.
--
=========
Regards,
KM
Same thing 12500 didn't make a difference. I noticed that FBA reboot right
after the installation and continues with the FBA process, then reboots again
and loads Win XPE. But it didn't install the application.
I am going to try RunOnce command, see if that works. The other option is to
create a custom component. I don't know how to create one using the setup
file. I have done it by importing INFs. Does it mean I have to create my own
INF file ?.
thanks
Siva
:
KM,
I tried using FBA Generic Command. I am getting the following error message:
4:06:31 AM -[FBASetProgressText] Installing Components...
4:06:31 AM -[FBACallEntryPoint] LoadLibrary(C:\GunzeApp\Install.bat) (Error:
0xc1)
4:06:31 AM -[FBASetProgressText] Resetting Setup Flag...
Do you know what is Error 0xc1 ?. My phase order is 8503 and build order is
1000. I just changed my phase order to 12500. I am going to test it now.
The Install.bat has a line setup.exe with some arguments. I tried the BAT at
command line and it works fine.
Thanks
SC
:
It doesn't matter how you install the app - via component (preferable) or directly.
As long as the changes are persistent (EWF/FBWF are off which is often the case while FBA is running) the app
will
be
installed.
Along with the system component install, FBA and custom FBA resources just allow you to simplify (automate and
disable
the
GUI)
an
app and driver installation process.
--
=========
Regards,
KM
Thanks KM. Let me read it and get back to you. I cannot believe how fast I
get replies on this forum. Thanks for your help.
I have one more question. If I include it as part of FBA.exe, the
application gets installed once and thats it right (like Windows XP pro). If
I include it as a component, does it get installed everytime you reboot ?. I
am trying to understand the way install works.
Thanks
SC
:
Siva,
The best approach would be componentizing your application. Learn how to componentize an app:
http://msdn2.microsoft.com/en-us/library/ms932876.aspx
If you don't want to mess wit hit now, you can simply install at run time during or after FBA. Just set up a
FBA
Generic
Command
to
launch the batch file (as an argument to cmd.exe) or the setup.exe with the silent install options passed in.
Here is
how
you
can
setup the command :
http://msdn2.microsoft.com/en-us/library/ms912924.aspx
--
=========
Regards,
KM
Hi There,
I had problems installing the driver using INF import method. I solved the
problem today. I was able to install the driver successfully. Now I have to
install an application. I have the install.bat (silent install) or setup.exe,
I can use either one of them to install my application. Is there any way I
could automate it. Can I edit the startup script to include my setup.exe or
install.bat ? Or Is there any way I could create a component that
automatically installs my application using setup.exe or install.bat. Please
let me know.
Thanks
Siva