Jump to content











Photo
- - - - -

How to run a program in mini-setup?

mini-setup sysprep windows xp reseal

  • Please log in to reply
2 replies to this topic

#1 ndog37

ndog37

    Member

  • Members
  • 88 posts
  •  
    New Zealand

Posted 02 April 2012 - 12:30 PM

Hello forum,

I'm interested in running a program in mini-setup (windows XP reseal). I know it is possible as a lot of 3rd party sysprep tools, for example mysysprep do it.

How could I do something like this in mini-setup?
  • c:\driverforge\driverforge.exe
  • continue sysprep
Thanks

Edited by ndog37, 02 April 2012 - 12:32 PM.


#2 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 02 April 2012 - 03:09 PM

Well, if you could give some details on the mini-setup and provide a link to mysysprep, it would help.
Are we talking of this, right?:
http://sites.google....mtsay/mysysprep
http://www.tsaysoft.com/mysysprep/

Would OfflineSysprep be of use to you? :unsure::
http://www.911cd.net...hp?showforum=43
http://www.911cd.net...showtopic=22064

:cheers:
Wonko
  • Brito likes this

#3 ndog37

ndog37

    Member

  • Members
  • 88 posts
  •  
    New Zealand

Posted 02 April 2012 - 08:50 PM

Hi wonko

Thanks for the link to mysysprep page. It states the following

To solve this problem, we have to look at how a Sysprep'ed image set up. During setup, Preinstallation Environment (PE) is loaded first, and then PE runs the command line at the Registry HKLM\SYSTEM\Setup\CmdLine to start the setup process. The command line for Mini-Setup is "setup.exe -newsetup -mini". What we can do is to change the command line to execute our own setup and then our own setup executes the original Setup.exe.

I guess what that means is
  • run sysprep with the exit option selected (not reboot)
  • update the registry with the path of your executable in HKLM\SYSTEM\Setup\CmdLine
I will test it later. Hopefully it is that simple.





Also tagged with one or more of these keywords: mini-setup, sysprep, windows xp, reseal

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users