次の方法で共有


Tip: Automatically deploying P2P (PNRP) components on XPSP2

Scenario: Setting up PNRP/P2P Networking components on XPSP2

Tip:

There is a command line option of installing windows components that we sometimes use (Please note that this is a general way of installing windows components by command line and is not exclusive to the P2P components- I would strongly advise you to test this first before using the solution in a commercial application deployment solution- it works fine for some of our automated tests so as far as I know it works well):

1. Save the following text as a .txt file locally to %SystemDrive%

[Components]
Netoc=on
[NetOptionalComponents]
P2P=1

2. Run the following command to install IPv6 on the machine (required for P2P):

netsh int ipv6 install

3. Now execute the following command to install the P2P Networking Pack:

%systemroot%\system32\Sysocmgr.exe /i:%systemroot%\inf\sysoc.inf /u:%SystemDrive%\EnablePnrpOnXPSP2.txt /q /w

This is the best I have so far as automated deployment of the Advanced Networking pack (aka P2P pack) is concerned on Windows XP.  

I haven't tried it myself, but I am guessing this could be integrated into the Setup package as well.

Note: Feel free to share your feedback and whether you are able to get this to work for your application deployment.  

-Shalini

Comments