Jump to content

Recommended Posts

Posted

hi, i know i can reboot or shutdown the pc typing a command in a batch file (see "shutdown /?" in dos) at the final stage of an unattended installation. Can I use that command in winnt.sif too or exists an equivalent?

Thanks :)


Posted

Why would you want to???

The winnt.sif file is an asnwer file for what you want xp to install (i.e. options)...

you can put a shutdown command after the desktop apears... mine will shutdown after 2 min just as the desktop is first time appearing... it helped activeate my Symantec cop edition server link...

Posted

I call shutdown.exe from my cleanup.cmd file that executes at the end of my RunOnceEx installations. Works like a champ.

Posted

thanks for the answers but i need to shutdown under winnt.sif because i have a multiboot cd and i don't want to copy many files (programs, tweaks..) on hd (included a .cmd) just to turn off the pc after i' ve choosen a simple unattended installation.

@BrandonS_Mil

Yes, i could shutdown just after the first logon. I want to shutdown just when all operations are done.

@Incroyable HULK

i can type "shutdown [parameters]" directly under [GuiRunOnce] ? Is it tested or not?

Bye

Posted

If i am understanding you correctly----

Unattended Install (XP) -> programs -> desktop ----- current

XP load -> programs -> Power OFF (Shutdown) -> destop (never loads??)

Why????

Maybe it would be easier to adjust you unattended install rather than ballance killing windows just to stop certain programs/teaks/others from loading.

Posted

I'm going to be clearer...

On my cd there are two type of unattended xp installation. One install also programs, regtweaks, customizations, etc..., instead the other is a simple one. I mean it installs just a "clean" xp ( no programs or other, just xp). Now, in the first case, when all jobs are done i can turn off the pc by a .cmd (which is copied over the HD togheter with programs). To do this i have write OemPreinstall = Yes in winnt.sif to copy $OEM$ (which contain programs, tweaks and the .cmd file) on the Hd.

Now when i want to do the second kind of unattended (without appz) i have to write OemPreinstall = No to avoid to copy $OEM$ over the hd. So on the hd i haven't the .cmd which allow me to turn off the pc. Therefore i have to find a way to do this without copy tons of programs but just a .cmd or insert a command directly in winnt.sif.

I hope i've been clear. :whistle:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...