FBA - First cmd after end Install

M

Michel REYDET

I would like execute a cmd file after the end of my
installation. My shell is launched.
BUT this cmd file is launched ONLY ONE. The second boot
not launch this cmd file.

How to ?

Thank.
 
D

David Reed

You can create a FBA OnceOnce resource for your CMD file.
You can either create a component for this in Component
Designer, or you can add one as an Extra Resource in
Target Designer.

Here is what you can do:
In the Extended Properties of the RunOnce Request, fill
out the following fields:

File Path: express as DIRID, not hard coded path:
Example: %11%\MyCMDFile.CMD = \System32\

Flags:

0 = Run Every time the system starts
1 = RunOnce Runs only once, each time a user
logs in for the first time
2 = RunOnceEx Same a RunOnce, but launches
after the Explorer shell is loaded (not used much)

ValueName: MyCMDFile.cmd

Do not enter anything in the Arguments field unless your
CMD file requires Arguments to be passed to it.

David
 

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