MSFN Forum: apply reg during installation - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

apply reg during installation

#1 User is offline   s7even 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 29-October 09

Posted 19 November 2009 - 08:53 AM

hi all

i saw somewhere that i can apply a reg file when installing seven
i remember i need to create a cmd file with the patch of my reg file inside and put it in a special directory but i can't find this information again
i totally forgot to mark this page and now i need your help to find it again :s

thanks for any help


NVM i'm a retard and i saved the page ....

create a .bat script "SetupComplete.cmd" in <your root dvd/image path>\$OEM$\$$\SETUP\SCRIPTS\

This post has been edited by s7even: 19 November 2009 - 08:59 AM



#2 User is online   ajua 

  • Custom Installer Maker
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,260
  • Joined: 16-April 05

Posted 19 November 2009 - 11:19 AM

You could avoid OEM folders (for the sake of saving installation time) and place SetupComple.cmd inside a Scripts folder (make one) inside your WIM image in Windows directory.

#3 User is offline   s7even 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 29-October 09

Posted 19 November 2009 - 11:53 AM

so if i understood well i can just put my setupcomplete.cmd in Windows directory and it will work ?

#4 User is offline   MrJinje 

  • Tool™ Developer
  • Group: Developers
  • Posts: 862
  • Joined: 14-October 09
  • OS:none specified
  • Country: Country Flag

  Posted 19 November 2009 - 12:17 PM

View Posts7even, on Nov 19 2009, 11:53 AM, said:

so if i understood well i can just put my setupcomplete.cmd in Windows directory and it will work ?
No, setupcomplete.cmd will only work from two locations

C:\Mount\Windows\Setup\Scripts (inside mounted install.wim)

or

DVD\Sources\$OEM$\$$\Setup\Scripts

To do it the way Ajua is suggest, you would need to mount your WIM using DISM (see my SIG) or imagex and manually create the files/folders. This way the files are integrated inside the WIM, but if you want to make changes, you would have to re-mount the WIM. Really good for one-time jobs, but if you are gonna constantly make small changes, this can get tiresome.

This post has been edited by MrJinje: 19 November 2009 - 12:37 PM


#5 User is offline   s7even 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 29-October 09

Posted 21 November 2009 - 07:41 AM

thanks for your help

i'm working using batch files and i'll manage by my own to make all this stuff not so time consuming
i just needed the right place to put this file :)

thanks a lot

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy