RunOnceEx and Silient Install with setup.iss - reboot fails.

D

David Pryce

Hi Group,

I have created a custom component to install my video card drivers.
In the component I created a RunOnce Request to run %xxx\setup.exe and
set the flag to 2 to create a RunOnceEx. I set argument to "/s" so
the drivers are installed silently.

I created a setup.iss using setup /r. I check that running the setup /
s works okay and reboots correctly be executing the command from a dos
shell after booting without the drivers installed in my image.

However when I install the driver using the custom component the
reboot never occurs.

The drivers are install - but I cannot use them until I manually
reboot. Not all my video cards have monitors installed.

Is there any reason why this won't work? Anyone encountered such an
issue previously?

Or do I need to do it using cmd.exe to run setup in this case instead
of just setup.exe?
eg c:\windows\system32\cmd.exe running %xxx\setup.exe /s as it
argument.

Is there any way to force a reboot after my driver is installed - say
another runonceex command?

I am not using system cloning so there are no reboot after the one I
require for the video in my image development process.

Thanks

David
 
H

Henning

David Pryce said:
Hi Group,

I have created a custom component to install my video card drivers.
In the component I created a RunOnce Request to run %xxx\setup.exe and
set the flag to 2 to create a RunOnceEx. I set argument to "/s" so
the drivers are installed silently.

I created a setup.iss using setup /r. I check that running the setup /
s works okay and reboots correctly be executing the command from a dos
shell after booting without the drivers installed in my image.

However when I install the driver using the custom component the
reboot never occurs.

The drivers are install - but I cannot use them until I manually
reboot. Not all my video cards have monitors installed.

Is there any reason why this won't work? Anyone encountered such an
issue previously?

Or do I need to do it using cmd.exe to run setup in this case instead
of just setup.exe?
eg c:\windows\system32\cmd.exe running %xxx\setup.exe /s as it
argument.

Is there any way to force a reboot after my driver is installed - say
another runonceex command?

I am not using system cloning so there are no reboot after the one I
require for the video in my image development process.

Thanks

David

http://www.aumha.org/win5/a/shutcut.php

/Henning
 

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