How do I install an application using a custom component

S

Schockal

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
 
K

KM

S

Schockal

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
 
K

KM

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.
 
S

Schockal

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
 
S

Schockal

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

Schockal said:
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




KM said:
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.
 
K

KM

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


Schockal said:
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

Schockal said:
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




KM said:
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
 
S

Schockal

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

KM said:
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


Schockal said:
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

Schockal said:
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
 
K

KM

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


Schockal said:
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

KM said:
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


Schockal said:
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
 
S

Schockal

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

KM said:
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


Schockal said:
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

KM said:
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
 
K

KM

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

KM said:
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


Schockal said:
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
 
S

Schockal

I just double checked. I have %11%\cmd.exe ,I have included the slash.

thanks
Siva


KM said:
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

KM said:
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
 
S

Schockal

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


Schockal said:
I just double checked. I have %11%\cmd.exe ,I have included the slash.

thanks
Siva


KM said:
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
 
K

KM

Siva,

If your command is still set up to launch cmd.exe with the path to batch file you can add "pause" command there to catch the CMD
window and see what's going on with the install. Also, there is a flag (Install Shiled supported) that you can add to the setup.exe
launch that will allow you to log the install info in to a file that you can analyze afterwards.

IIRC, the hyperterm.exe belongs to "Accessories/Communications Programs" component.
Also, make sure to add TAPI 2.2 Client component.

--
=========
Regards,
KM
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


Schockal said:
I just double checked. I have %11%\cmd.exe ,I have included the slash.

thanks
Siva


KM said:
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
 
S

Schockal

I tried RunOnce command and I got a pop up saying Remote Server not
available. I didn't understand why it is trying to access the remote server.
I didn't spend debugging, I then tried the RunOnceEx command (command
executes the first time before login). A command line opened up and it didn't
close automatically, I do have the /C after the setup.exe, I had to hit the
enter key in order for the command to be executed. It is kind of frustrating,
so I have decided to install this particular application manually. I have to
make this work for my production release. If you think of anything I could
try please let me know. Why would the command window open up and stay until I
hit a hey ?.

Also I have a question about Windows Logo testing. I am getting a message
that the application I am trying to install did not pass the Windows logo
testing ?. What is that all about ?. Please let me know.

Thanks
SC

KM said:
Siva,

If your command is still set up to launch cmd.exe with the path to batch file you can add "pause" command there to catch the CMD
window and see what's going on with the install. Also, there is a flag (Install Shiled supported) that you can add to the setup.exe
launch that will allow you to log the install info in to a file that you can analyze afterwards.

IIRC, the hyperterm.exe belongs to "Accessories/Communications Programs" component.
Also, make sure to add TAPI 2.2 Client component.

--
=========
Regards,
KM
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


Schockal said:
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
 
K

KM

SC,

The /C has to parameter of CMD.EXE, not setup.exe.
What exactly did you set up as the RunOnce(Ex) command?

Windows Logo? Are you installing a driver?
Does the installer show the same message under XP Pro?

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


Schockal said:
I tried RunOnce command and I got a pop up saying Remote Server not
available. I didn't understand why it is trying to access the remote server.
I didn't spend debugging, I then tried the RunOnceEx command (command
executes the first time before login). A command line opened up and it didn't
close automatically, I do have the /C after the setup.exe, I had to hit the
enter key in order for the command to be executed. It is kind of frustrating,
so I have decided to install this particular application manually. I have to
make this work for my production release. If you think of anything I could
try please let me know. Why would the command window open up and stay until I
hit a hey ?.

Also I have a question about Windows Logo testing. I am getting a message
that the application I am trying to install did not pass the Windows logo
testing ?. What is that all about ?. Please let me know.

Thanks
SC

KM said:
Siva,

If your command is still set up to launch cmd.exe with the path to batch file you can add "pause" command there to catch the CMD
window and see what's going on with the install. Also, there is a flag (Install Shiled supported) that you can add to the
setup.exe
launch that will allow you to log the install info in to a file that you can analyze afterwards.

IIRC, the hyperterm.exe belongs to "Accessories/Communications Programs" component.
Also, make sure to add TAPI 2.2 Client component.

--
=========
Regards,
KM
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
 

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