Jump to content

Recommended Posts

Posted

I'm not using the entire iso content, just the vim file.

Say I have the win8.wim file inside WinNTSetup folder. Where do I create the $OEM$ folder?


Posted (edited)

And is there a way to specify the OEM folder manually? By command line or .ini file?

 

By the way, this little program is extremely useful and well written. Thanks on behalf of myself and all who uses it.

Edited by AlexCeed
Posted

There is no ini option for that. but yes it possible with command line.

 

WinNTSetup_x64.exe NT6 -oem:"C:\$OEM$"

Posted (edited)

AlexCeed, nice to see you like WinNTSetup. I agree with you, it's GREAT!!

 

Just wanted to share with you how I normally use $oem$ folder stuff:

I use the WinNTSetup "-runafter" command line option, to run a WinRAR SFX file, which in turn expands the "Setup" folder to c:\windows after the apply phase. Inside the setup folder is the usual "Scripts\Setupcomplete.cmd" file, and other folders needed for things like activation, etc.

This is a very convenient method for me, because after starting WinNTSetup with this command line, I can even select other SFX files in the GUI, if I need to test other (sfx) $oem$ folder structures. All this without changing the .wim, like you already mentioned.

 

So maybe this is a bit like the "manual OEM folder selection" you were asking about.

As you see, WinNTSetup has multiple solutions to pretty much anything!

Edited by Atari800XL
Posted (edited)
WinNTSetup_x64.exe NT6 -oem:"OEM\8-abc\$OEM$" -source:Images\8.1-x64-install-abc.wim -WimIndex:1 -syspart:D: -tempdrive:E: -unattend:"Unattend\8-autounattend-abc.xml" -Sysletter:C -setup -reboot

I used the command exactly like above and it doesn't work. It doesn't copy any files to the install location. 

All the paths above are relative to WinNTSetup_x64.exe.

Edited by AlexCeed
Posted

The oem switch had indeed a problem with relative paths, should work now with version 3.8.5.1.

Posted (edited)

Thanks, will try it today.

 

Also, would you please consider adding the parameter to format the drives? Something like 

-format -syspart: -temppart:

An even better idea is to make this automatic by getting the device id from the drive from which winNtSetup is currently ran. With the device id you exclude that device from your boot and destination drive location.

Then automatically add the boot drive automatically by searching for the bootable flag within the drive.

Then do a search for windows dir and when it is found, add the device as the destination drive

Edited by AlexCeed
Posted (edited)

An even better idea is to make this automatic by getting the device id from the drive from which winNtSetup is currently ran. With the device id you exclude that device from your boot and destination drive location. Then automatically add the boot drive automatically by searching for the bootable flag within the drive.

Sure :ph34r:, what could possibly go wrong on a multi-disk and/or multi-partitioned system?  :unsure:

 

jaclaz

Edited by jaclaz
Posted

Yes, I know, but on simple setups like windows-only setup, you can easily do this.

Yep :), but on simple setup (and as well on extremely complex one) you can well simply format the volume before or however MANUALLY select it.

More or less it is a generic point about "responsability", if you manually select a "wrong" disk or volume, it's your fault, while if - for any reason, even in an extremely rare or "queer" setup - the program automatically chooses a "wrong" disk or volume everyone will be after JFX. :ph34r:

 

jaclaz

Posted

Fine, the skip the automatic selection and instead add the format parameter. 

Only knowledgeable people use the command line, so it should be there.

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