Jump to content

Help needed


valter

Recommended Posts

Hi,

I'm kinda new to all this advanced Windows installation, and of course would like to learn as much as possible .... I'm already through unattended installation from MSFN, but I'm very interested in XPlode project ... download it already, looked into it, but can't really figure out what do I have to do ... anyway I would like for example to install few aplications (ie. Adobe Reader, MSN Messenger, Media Player, Java VM), post SP1 hotfixes (Q's ...) and add 1 user.

Can someone please help me or guide me through procedure how to make this installed through XPlode? Thanks in advance :)

Link to comment
Share on other sites


Here guy this should help. I use xpcreate for all my hotfixes and xplode for all my app installs. I start xplode using this command in my winnt.sif file

[GuiRunOnce]

"%systemdrive%\install\xplode\XPlode.exe /log:#SYSTEMDRIVE#\xplode.log"

Attached is my xml code.

Hope it helps.

XPlode.xml

Link to comment
Share on other sites

Hey hevnbnd,

thanks for fast reply ... I was looking into your code and here are some I believe simple questions ...

1. In the add user string

<adduser>Adding user #1#</adduser>
          <addusertogroup>Adding user #1# to group #2#</addusertogroup>
          <addgroup>Adding group #1#</addgroup>

is the user name to be added between # or it shluld be added somwhere else? Same for user group. How about password?

2. Can these strings be safely removed? Or is it just enough if they're left empty?

<copy>Copying #1# (#2#/#3# - #4#)</copy>
          <move>Moving #1# (#2#/#3# - #4#)</move>
          <delete>Deleting #1# (#3#)</delete>
          <shortcut>Adding shortcut: #1#</shortcut>

3. For installing hotfixes (like Q's ... and KB's) can I use same switches as in batch files?

4. If I want to copy i386 folder from CD as well as $OEM$ sould I use this string?

<copy source='%SOURCEPATH%\i386\*.*' target='%SYSTEMDRIVE%\Windows\Options\i386' />
<copy source='%SYSTEMDRIVE%\Install\*.*' target='%SYSTEMDRIVE%\Windows\Options\Install' />

5. If I run Sysprep (Mini Setup mode) will all extra post-installation procedures be intiated again, onace Windows is restarted?

I hope I don't ask too much :)

Link to comment
Share on other sites

1. I don't create my user account using xplode, but if i were to i would need this under items:

- <item display="Adding users and groups...">

- <!-- note the different use of quotes due to the data held in them

-->

<addgroup groupname="Cowboy Bebop" comment="It's them bounty hunters!" />

<adduser username="Spike" password="swordfish" groups="Administrators "Cowboy Bebop"" fullname="Spike Spiegel" comment="Don't mess with the best!" />

<adduser username="Jet" password="hammerhead" groups=""Cowboy Bebop"" fullname="Jet Black" comment="When the Black Dog bites, he don't let go!" />

</item>

2. I am not sure about that one.

3. YES. Just put the switches in the arguments lines

4. YES that should work however with the correct directory structure $OEM$ should copy over automaticly.

5. yes, unless you have xplode delete $winnt$.inf as in my xplode.xml.

Hope this helps.

Link to comment
Share on other sites

1. In the add user string

<adduser>Adding user #1#</adduser>
          <addusertogroup>Adding user #1# to group #2#</addusertogroup>
          <addgroup>Adding group #1#</addgroup>

is the user name to be added between # or it shluld be added somwhere else? Same for user group. How about password?

The #1# is where the username is "injected". There is no syntax for adding the password.

2. Can these strings be safely removed? Or is it just enough if they're left empty?

<copy>Copying #1# (#2#/#3# - #4#)</copy>
          <move>Moving #1# (#2#/#3# - #4#)</move>
          <delete>Deleting #1# (#3#)</delete>
          <shortcut>Adding shortcut: #1#</shortcut>

They can be removed if you aren't using those functions. You can remove them and still run them, it would just show up blank. *shrugs*

3. For installing hotfixes (like Q's ... and KB's) can I use same switches as in batch files?

Yes.

4. If I want to copy i386 folder from CD as well as $OEM$ sould I use this string?

<copy source='%SOURCEPATH%\i386\*.*' target='%SYSTEMDRIVE%\Windows\Options\i386' />
<copy source='%SYSTEMDRIVE%\Install\*.*' target='%SYSTEMDRIVE%\Windows\Options\Install' />

Seems ok to me - I think the example XML already has a "copy i386" item already.

EDIT: remove the *.* in each, and add mask="*.*" to the attributes of each tag.

5. If I run Sysprep (Mini Setup mode) will all extra post-installation procedures be intiated again, onace Windows is restarted?

That one I don't have an answer for.

I hope I don't ask too much  :)

Nah, it's not too much :rolleyes:

Link to comment
Share on other sites

use internet explorer to open the xml, it will point out errors in the xml syntax, this is what it said with yours.

The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

--------------------------------------------------------------------------------

End tag 'copy' does not match the start tag 'item'. Error processing resource 'http://www.msfn.org/board/index.php?act=Attach&type=post&id=142213'. Line 135, Position 89

<copy source='%SOURCEPATH%\i386\*.*' target='%SYSTEMDRIVE%\Windows\Options\i386' /></copy>

----------------------------------------------------------------------------------------^

it's either <copy blahblah /> or <copy blahblabh></copy> not sure wich, but it cant be both

i think it's the former.

Link to comment
Share on other sites

Yes you're right, there is few double tags, probably because I was thinking in HTML :) I'll give it a try tomorrow again :rolleyes: Excellent way of testing the string (IE), didn't even think about that ... Thanks m8 :D

Link to comment
Share on other sites

hi,

here is my code for the hotfixes installed @ T-13min via svcpack.inf

svcpack.inf:

[Version]
Signature="$Windows NT$"
MajorVersion=5
MinorVersion=1
BuildNumber=2600

[SetupData]
CatalogSubDir="\i386\Update"

[ProductCatalogsToInstall]
KB826939.cat

[SetupHotfixesToRun]
update.exe -q -n
XPlode.exe /xml:"#XPLODE#\xplode.xml" /log:"#SYSTEMDRIVE#\xpsvcp.log"

HOTFIXES:

<items>
 <item display='Copying'>
 <dircopy directory='#SOURCEPATH#\Install' target='#SYSTEMDRIVE#\' />
 <dircopy directory='#SOURCEPATH#\Drivers' target='#SYSTEMDRIVE#\' />
 </item>
 <item display='Installing Hotfixes'>
 <execute display='Applying MS Java VM update...' program='#XPLODE#\MSJAVWU.EXE' arguments='/Q:A /R:N'></execute>
 <execute display='Applying 322011...' program='#XPLODE#\322011.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 327979...' program='#XPLODE#\327979.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 810217...' program='#XPLODE#\810217.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 810243...' program='#XPLODE#\810243.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 811114...' program='#XPLODE#\811114.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 814995...' program='#XPLODE#\814995.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 820291...' program='#XPLODE#\820291.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 815021...' program='#XPLODE#\815021.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 329692...' program='#XPLODE#\329692.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 821253...' program='#XPLODE#\821253.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 822603...' program='#XPLODE#\822603.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 823182...' program='#XPLODE#\823182.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 824105...' program='#XPLODE#\824105.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 824141...' program='#XPLODE#\824141.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 825119...' program='#XPLODE#\825119.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 826942...' program='#XPLODE#\826942.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 828026...' program='#XPLODE#\828026.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 828035...' program='#XPLODE#\828035.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 829558...' program='#XPLODE#\829558.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying HU1002...' program='#XPLODE#\HU1002.EXE' arguments='/Q:A /R:N'></execute>
 <execute display='Applying JS56NEN...' program='#XPLODE#\JS56NEN.EXE' arguments='/Q:A /R:N'></execute>
 <execute display='Applying 330994...' program='#XPLODE#330994.EXE' arguments='/Q:A /R:N'></execute>
 <execute display='Applying 824145...' program='#XPLODE#824145.EXE' arguments='/Q:A /R:N'></execute>
 <execute display='Applying 832483...' program='#XPLODE#832483.EXE' arguments='/C:"dahotfix.exe /q /n" /q'></execute>
 <execute display='Applying 330512...' program='#XPLODE#330512.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 323183...' program='#XPLODE#323183.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 324230...' program='#XPLODE#324230.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 326119...' program='#XPLODE#326119.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 328070...' program='#XPLODE#328070.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 328237...' program='#XPLODE#\328237.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 330836...' program='#XPLODE#\330836.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 810032...' program='#XPLODE#\810032.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 810272...' program='#XPLODE#\810272.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 812415...' program='#XPLODE#\812415.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 815411...' program='#XPLODE#\815411.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 816736...' program='#XPLODE#\816736.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 817589...' program='#XPLODE#\817589.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 821588...' program='#XPLODE#\821588.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 823182...' program='#XPLODE#\823182.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 823291...' program='#XPLODE#\823291.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 826942...' program='#XPLODE#\826942.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 826959...' program='#XPLODE#\826959.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 828028...' program='#XPLODE#\828028.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 828741...' program='#XPLODE#\828741.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 828940...' program='#XPLODE#\828940.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 829637...' program='#XPLODE#\829637.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 830903...' program='#XPLODE#\830903.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 831651...' program='#XPLODE#\831651.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 833407...' program='#XPLODE#\833407.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 833998...' program='#XPLODE#\833998.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 834372...' program='#XPLODE#\834372.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 834709...' program='#XPLODE#\834709.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 835732...' program='#XPLODE#\835732.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 837001...' program='#XPLODE#\837001.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Installing DirectX 9.0b...' program='#XPLODE#\DX9NTopk.exe' arguments='/Q:A /R:N'></execute>
 <execute display='Applying 832894...' program='#XPLODE#\832894.EXE' arguments='/Q:A /R:N'></execute>
 <execute display='Applying 813503...' program='#XPLODE#\813503.EXE' arguments='/Q:A /R:N'></execute>
 <execute display='Applying 820369...' program='#XPLODE#\820369.EXE' arguments='/Q:A /R:N'></execute>
 <execute display='Applying 824463...' program='#XPLODE#\824463.EXE' arguments='/Q:A /R:N'></execute>
 <execute display='Applying 826940...' program='#XPLODE#\826940.EXE' arguments='/Q:A /R:N'></execute>
 <execute display='Applying 827057...' program='#XPLODE#\827057.EXE' arguments='/Q:A /R:N'></execute>
 <execute display='Applying 831167...' program='#XPLODE#\831167.EXE' arguments='/Q:A /R:N'></execute>
 <execute display='Applying 837009...' program='#XPLODE#\837009.EXE' arguments='/Q:A /R:N'></execute>
 <execute display='Applying 329909...' program='#XPLODE#\329909\update\update.exe' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 811789...' program='#XPLODE#\811789\update\update.exe' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 813862...' program='#XPLODE#\813862\update\update.exe' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 816979...' program='#XPLODE#\816979\update\update.exe' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 816982...' program='#XPLODE#\816982\update\update.exe' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 833407...'  program='#XPLODE#\833407.exe' arguments='/Q /U /O /N /Z'></execute>
 <execute display='Applying 828028...'  program='#XPLODE#\828028.exe' arguments='/Q /U /O /N /Z'></execute>
 <execute display='Applying 831937...'  program='#XPLODE#\831937.exe' arguments='/Q /U /O /N /Z'></execute>
 <execute display='Applying 831167...'  program='#XPLODE#\831167.exe' arguments='/Q:A /R:N'></execute>
 <execute display='Applying 817027...' program='#XPLODE#\817027.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 820128...' program='#XPLODE#\820128.EXE' arguments='/Q /O /U /N /Z'></execute>
 <execute display='Applying 832353...'  program='#XPLODE#\832353.exe' arguments='/Q /U /O /N /Z'></execute>
 <execute display='Applying 840374...'  program='#XPLODE#\840374.exe' arguments='/Q /U /O /N /Z'></execute>
 <execute display='Applying 837251...' program='#XPLODE#\837251.EXE' arguments='/Q:A /R:N'></execute>
 <execute display='Applying 835732...'  program='#XPLODE#\835732.exe' arguments='/Q /U /O /N /Z'></execute>
 <execute display='Applying 828741...'  program='#XPLODE#\828741.exe' arguments='/Q /U /O /N /Z'></execute>
 <execute display='Applying 810019...'  program='#XPLODE#\810019.exe' arguments='/Q /U /O /N /Z'></execute>
 <execute display='Applying 823980...'  program='#XPLODE#\823980.exe' arguments='/Q /U /O /N /Z'></execute>
 <execute display='Applying 831114...'  program='#XPLODE#\831114.exe' arguments='/Q /U /O /N /Z'></execute>
 <execute display='Applying 837633...'  program='#XPLODE#\837633.exe' arguments='/Q /U /O /N /Z'></execute>
 <execute display='Applying 838292...'  program='#XPLODE#\838292.exe' arguments='/Q /U /O /N /Z'></execute>
 <execute display='Applying 838884...'  program='#XPLODE#\838884.exe' arguments='/Q /U /O /N /Z'></execute>
 <execute display='Applying 839876...'  program='#XPLODE#\839876.exe' arguments='/Q /U /O /N /Z'></execute>
 <execute display='Running QCHAIN...' program='#XPLODE#\QCHAIN.EXE' arguments=''></execute>
 </item>
</items>

Link to comment
Share on other sites

Hey guys

now everything works just fine ... and just FYI password string works fine as well :rolleyes: ... now I have only one question left ... XPlode is called from winnt.sif (as I was instructed in the 2nd post)

[GuiRunOnce]
"%systemdrive%\install\xplode\XPlode.exe /log:#SYSTEMDRIVE#\xplode.log"

and this executes XPlode after Windows is installed and computer is once restarted ... is there any way of running this during Windows Installation? If there is, can someone please instruct me what command should be used, and where that command should be placed? Thanks :)

Link to comment
Share on other sites

hi,

you can call it via winnt.sif @ T-9 or after the Reboot while RunOnceEx like this

[SetupParams]
   UserExecute="%SystemDrive%\Install\XPlode.exe /xml:#SYSTEMDRIVE#\Install\Phase3.xml /log:#SYSTEMDRIVE#\Phase3.log"

[GUIRunOnce]       <-----  after reboot
   "%Systemdrive%\Install\XPlode.exe /xml:#XPLODE#\Phase4.xml /log:#SYSTEMDRIVE#\Phase4.log"

or via cmdlines.txt @ T-12min:

[COMMANDS]
".\xplode.cmd"

xplode.cmd:

cmdow @ /HID
%SYSTEMDRIVE%\Install\XPlode.exe /xml:"#XPLODE#\Phase2.xml" /log:"#SYSTEMDRIVE#\Phase2.log"
exit

or @ T-13 via svcpack.inf like i mentioned in my previous post.

hope this helps a bit

cya

Killer Bee

Link to comment
Share on other sites

I've made it @ T-9 ... there is just on issue ... when MS Windows Media Player starts with installation, I get warning that my System Restore is either turned off or on, and that I wount be able to uninstall it later .. I would like to silently click OK .. is there any switch for that? Here is my string for media player

<item display='Microsoft Windows Media Player 9' image="%SOURCEPATH%\PostInstall\images\">
 <execute display='Installing Microsoft Windows Media Player 9...' program='%SYSTEMDRIVE%\Install\WMP9\mpsetupXP.exe' arguments='/Q:A /R:N' />
 </item>

Link to comment
Share on other sites

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