windows pv driver源碼編譯安裝手冊

來源:互聯網
上載者:User

資源準備

windows pv-driver源碼:

http://xenbits.xensource.com/ext/win-pvdrivers.hg 

WDK:

http://msdn.microsoft.com/en-us/windows/hardware/gg487463.aspx

 Mercurial:(用於下載windows pv-driver源碼)

http://mercurial.selenic.com/downloads/

 7-zip:

http://sparanoid.com/lab/7z/

或者

http://www.skycn.com/down.php?uri=http://118.72.254.219:82/down/7z920.exe

 Windows Installer XML (WiX):

http://wix.sourceforge.net/

 

Windows Server 2003 HVM Guest PV Driver編譯

 安裝WDK

 安裝7-zip

 安裝wix

 安裝Mercurial

 下載windows pv-driver源碼(啟動命令提示字元CMD)

# mkdir WindowsPVDriver

# cd WindowsPVDriver

# hg clone http://xenbits.xensource.com/ext/ win-pvdrivers.hg

Note:目前windows pv driver在閉關完善,上述hg地址已經取消,僅僅存在

http://xenbits.xensource.com/ext/win-pvdrivers地址,無法通過hg clone直接下載

  編輯指令碼

用記事本開啟makedist.bat,修改如下位置:

IF NOT EXIST set_ddk_path.bat ECHO >set_ddk_path.bat SET DDK_PATH       \

=C:\WinDDK\7600.16385.0   

修改為DDK安裝路徑,同時修改為對應版本號碼

 

IF NOT EXIST gplpv.cer "%DDK_PATH%"\bin\selfsign\MakeCert.exe -r -pe –ss    \

 PrivateCertStore -n "CN=GPLPV_Test_Cert" gplpv.cer  

修改為MakeCert.exe所在路徑,一般為\bin\x86\MakeCert.exe

 

用記事本開啟sign.bat,用替換功能將所有的”/v /s”替換為”/v /a /s”,同時刪除所有” /t http://timestamp.verisign.com/scripts/timestamp.dll”項

 

用記事本開啟wix.bat,將”/v /s”替換為”/v /a /s”,同時刪除所有” /t http://timestamp.verisign.com/scripts/timestamp.dll”項

 

用記事本開啟archive.bat,確認7-Zip的安裝路徑是否為"%PROGRAMFILES%\7-Zip\7z.exe" 

編譯

雙擊運行makedist.bat

如果一切成功,將會在makedist.bat所在目錄下產生各個版本的gplpv(比如2003的為gplpv_2003x32_0.11.0.1.msi)。

 

Windows Server 2003 HVM Guest PV Driver安裝

1)       安裝過程中會有警告框提示“軟體沒有windows徽標測試,無法驗證相容性”,所有類似框都選擇“仍然繼續”

2)       安裝過程中會有安全警告,提示“沒有正確使用Authenticode(TM)技術簽名”,所有類似框選擇是

3)       安裝過程中會出現“歡迎使用找到新硬體嚮導”提示框,選擇選項“否,暫時不(T)”選項,然後單擊下一步,下一步中選擇“自動安裝軟體(推薦)(I)”選項,單擊下一步

4)       安裝完成之後重啟系統,查看裝置管理可以看到對應的裝置和驅動

 

 

20110916 最新的一份編譯的msi

http://wiki.univention.de/index.php?title=Installing-signed-GPLPV-drivers

轉自:http://hi.baidu.com/%B0%B5%D4%C2%C1%F7%B9%E2/blog/item/222247b20d9fa9b0d8335a23.html

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.