2011年12月9日 星期五

體驗不同的Microsoft Embedded Compact 7

Microsoft Embedded Compact 7 從2010年7月發表至今已有一年多了,在這版作業系統比較起WinCE 6.0 算是有很大的改善,下表為其差異:
CE 6.0 vs Compact 7 差異表

其中最特別的是支援Silverlight 3.0 UI支援,今天我們就來看看內建在Windows Embedded Compact 7內建的 Silverlight來看看,開發工具中我們修改Standard Shell 成下列元件

Silverlight UI 長的如下圖:


Compact 7 內建DNLA 1.5 ,我們建立了Microsoft Windows Homer Server 2011 來測試了DNLA 功能.

照片瀏覽

內建IE7的瀏覽器




2011年10月4日 星期二

WES 7 Tablet PC package (Handwriting part)

最近發現WES7 P SKU 中的Tablet PC套用在Non-English語系中手寫辨識功能無法使用.

1.下面為英文手寫辨識部份,在英文版下都可正常開啟使用.

2.但如果使用中文辨識功能手寫板都會被Diable ,只剩下Virtual Keyboard 可使用. 


3.透過Microsoft TAM support services,得知此為WES 7 的bug只要安裝好 QFE就可以正常使用.
建議利用WEDU工具上更新你的DS 比較方便.


4.在安裝時請確定有勾選 TabletPC Handwriting Recognition for KB2521845元件.


5.安裝完成後,實際測試一下.....看起來安裝之後功能就正常了. 


POSReady 7 Multi-Lanuage issue

不知道大家有沒有發現當POSReady7 安裝多國語系,在安裝第五個語系時在控制台無法被套用.
目前在ECE 網站上已有QFE可下載:

KB2607560    Only 4 installed languages are selectable through Control Panel instead of 5

https://ece.partners.extranet.microsoft.com/ece/Embedded/Products/ProductSupplements/Embedded/POSReady7/OEMDownloads/DISTOEM-Sep11OptUpdWEPOSRdy7-ProdDownld.htm

2011年8月5日 星期五

利用應答文件來自動化sysprep設定

在使用sysprep封裝後,在每次開機總是會詢問一系列的系統設定,
今日要介紹一個利用應答文件來自動化這個部份,
可利用sysprep.inf來製作自動應答文件,sysprep.inf 你可自行修改來用.
可利用記事本工具將下列copy 並儲存成sysprep.inf檔,存放於sysprep.exe 工具相同目錄之中.

 

[Unattended]
OemSkipEula=Yes

[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=No
OEMSkipRegional=1
OEMSkipWelcome=1

[UserData]
ProductKey="" //請輸入貴公司的序號
FullName=
OrgName=
ComputerName=*

[Networking]
InstallDefaultComponents=Yes

[Identification]
JoinWorkgroup=WORKGROUP

   

透析POSReay 2009 安裝內容

在安裝POSReady 2009 常常會有人詢問, Typical and Custom install
1.   Typical Install ,下列元件都有自動安裝至POSReady 2009之中.

安裝好Windows 目錄的Size 817MB.
 


System total size = 2.32GB
 


2.       Custom Install ,當安裝時全選安裝以下元件都會被安裝至POSReady2009.
    Windows 目錄Size1GB .
 


System total size = 2.55GB
 

  
結論:如希望提供客戶一個完整的作業系統,請選擇Custom install 並全選所有元件.

PS: 另外Page File 會根據 公司所使用的RAM大小建立1.5倍的檔案於系統根目錄.
所以在比較時請注意二台設備RAM 是否相同大小.
 

2011年6月16日 星期四

Install MUI in WES 7 SP1

When you using Non-English language MUI in WES7 SP1 , you will get the error message as figure.

please according this method to modify your project file.
For example: Install Japan Language MUI in WES7 SP1, You must to setting a default language in ICE.



1.      Insert Japan Language Pack

2.      Setting International-Core_x86

l   InputLocal = ja-JP

l   System Locale = ja-JP

l   UILanguage = ja-JP

l   UserLocale= ja-JP

3.      Setting International-Core-WINPE_x86

l   InputLocal = ja-JP

l   SetupUILanguage->UILanguage= ja-JP

l   SystemLocal=ja-JP

l   UILanguage => ja-JP

l   UserLocale=> ja-JP

2011年5月29日 星期日

How to install webcam on WES7?

常常有客戶反無法安裝WebCam 在WES7 作業系統,現在以logitech webcam 為例.
詳細步驟如下:
1.請先安裝ICE工具於你的開發平台上(請勿使用IBW直接於Target Device上安裝)

2.利用ICEBuild Image,並下入下列必要元件
n   Still Image Acquisition Driver
n   USB Video

    3.利用ICE 工具產生WES Image 並利用USB Storage 至 Target Device 進行安裝.

4.完成圖如下:

Windows CE Boot sequence



Introduce the windows ce boot sequence can help you to reduce the image boot time. Because in wince have some process for debug need,but in ship version can to disable.
Following list summarizes the BIOS boot loader boot process:
  1. At start or reset, the x86 CPU jumps to the CPU reset vector address and then executes the BIOS code.

    Typically, the BIOS will configure the hardware. This includes configuring the DRAM controller, configuring the host bridge, enumerating PCI devices, and then locating a boot drive.
  2. If the boot drive is a hard disk, for example, a CompactFlash card, or Disk-on-Chip, the first disk sector will be the master boot sector (MBR).

    If the boot drive is a floppy disk, it does not contain an MBR. Instead, the first sector on the disk is a boot sector.

    The MBR neatly fits in one disk sector and consists of code, 16-bit real mode code, and data. A partitioning tool, such as the MS-DOS fdisk command, writes the MBR to the disk.

    The BIOS loads the MBR from the disk into RAM. Then, the BIOS executes the MBR code. The BIOS looks for a two-byte signature at the end of the sector to locate the MBR on the boot drive. If the BIOS cannot locate the MBR on the boot drive, it displays an error message and stops.
  3. Primarily, the MBR code searches through the partition table to look for the active partition on the boot disk. The partition table is data that resides in the MBR. If the MBR code cannot locate an active partition, it displays an error message and stops. If the MBR code finds an active partition, it determines the disk address of that partition.

    The first sector in the partition is the boot sector. However, on a floppy disk, this is the first sector on the disk because there is no MBR on a floppy disk.

    The MBR code loads the boot sector into RAM and jumps to it.
  4. The boot sector, similar to the MBR, contains code and data and fits neatly within a single disk sector. The boot sector is the first piece of operating system-specific code.

    The boot sector finds and loads the BIOS boot loader. It does this by using the disk-resident properties of the native file system, together with BIOS services, to find and load the boot loader into RAM and then jump to it.
  5. After the BIOS loader starts, it performs many functions, such as loading the Windows Embedded CE runtime image. For more information about the recommended functionality of a BIOS boot loader, see Recommended Boot Loader Functionality.

2011年5月10日 星期二

POSReady 7 CPT2 can download


We are excited to announce that the Windows Embedded POSReady 7 Community Technology Preview 2 (CTP2) build is available for download today! Please be sure to download the latest version of the Quick Start Guide  here.  The POSReady 7 CTP2 enhancements include:

·         Increased componentization

·         Language packs (in 36 languages)

·         Native VHD boot support

·         Write filter management UI

·         Write filter WMI provider


2011年4月7日 星期四

可以下載WES 7 SP1 MUI

Microsoft ECE 已開放WES 7 SP1 MUI 下載了,如果已經升級到WES SP1 的人記得要使用 SP1 的MUI喔.
Download :
https://ece.partners.extranet.microsoft.com/ece/Embedded/Products/ProductSupplements/Embedded/EmbeddedStandard7/WES7MonthlyUpdates/EmbDistOEM-MultlnglUsrIntrfceMUIPk1forWinEmbStand7SP132bit.htm


另外懶的自已下的人可以使用WEDU,工具會自動裝你尋找到SP1 支援的語系有那些.

How to implement RAID on POSReady2009

在高階機種的POS常常會使用到RAID 功能,但作業系統內常常都沒有內建這麼Driver,那麼就需要從外部將Driver 在安裝前匯入安裝過程式,我們擷取MSDN上的文章給大家參考一下: 

F6 Backup Plan for WEPOS\POSReady 2009

 

A problem was discovered that causes the “Add Additional Drivers” page to not install a specific set of RAID drivers. Through some investigation we determined that the logic behind this wizard screen wasn’t copying all the necessary files needed to properly install the RAID drivers. This caused the Setup to fail.
Luckily we were able to help using a Setup feature used to install 3rd party drivers. Here’s how it worked.

InfImporter
This little tool is used by both WEPOS and POSReady 2009 to convert a driver INF file to XML, a format readable by Setup. To create this XML:

1. Download and install InfImporter at: http://www.microsoft.com/downloads/details.aspx?familyid=3BE48D23-BA90-4D5A-9AB0-93D9311ED520&displaylang=en. This can be run at any computer, as long as it has .NET 1.1 or greater installed. A floppy drive will also come in handy, external USB is okay.

2. Insert the RAID/SATA driver’s floppy disk in the drive. If you don’t have a driver disk, look to the manufacturer’s download page for the download matching the hardware.

3. From the command prompt (As Administrator is not necessary) do these commands:
   a. Go to the floppy drive and change to the directory where the driver’s INF files are. These are probably in the root, but could be in a sub directory. (A: )
   b. Run the InfImporter (C:\Program Files\WEPOS\InfImporter\InfImporter.exe raiddriver.inf raiddriver.xml). Substitute names to match the driver’s files.
   c. Check to see if the XML file was created.

Setup
With the driver floppy and XML made, Setup is ready to try installation one more time.
1. The target system must have a floppy drive installed, so install a temporary floppy or plug in a USB floppy drive before booting. Also, be sure the POSReady 2009 DVD is inserted in the DVD drive.

2. When the system boots and shows the message to “Press F6 to install SCSI/RAID drivers”, do this and install them through the menu that appears.

3. Setup should continue to boot, but before the Wizard loads, a small popup window should appear that says “Press any key for the Command Prompt”. Press the Any key right away because this message won’t be there long.

4. From the command prompt that appears enter the command:
a. Setup /devicefile:a:\raiddriver.xml
Typing “Setup /?” will reveal more options. The most common are /unattended and /guionly, used to automate installs through XML data files.

5. Run Setup normally, except on the Add Additional Drivers page, use the default option to say there are no additional drivers required. The next page should show the RAID drive because of the drivers loaded in step 2 above.

Installation
Setup should run through formatting the RAID drive, coping files, and the most important phase, Plug-n-Play.
Optionally, installing from USB thumb drives is also possible, just not through the usual method. Creating the USB Setup drive is the same, however pressing F6 will still be necessary. Watch out, the F6 message will only be there for less than a second so be prepared to hit that key. Same as above, you’ll need to use the command line instead of the wizard to install the drivers.
We would like to hear about your experiences installing POSReady. Regardless this helps or you encounter problems, feel free to send us your comments below.



Disable User logon windows (POReady2009)

 在使用POReady 2009 登入時常常需要登入密碼才能使用,但對於POS產業常常是不方便的,所以可以利用自動登入的方式來提高系統使用的方便性。

1.      執行control userpasswords2 指令

2.      取消勾選Users must enter a user name and password to use this computer
           


           3.      系統會要求你輸入Administrator的密碼.




4.完成後重新開機.

2011年2月17日 星期四

製作WES7 Image 自動化OOBE應答文件檔

目的:
利用ICE工具來建立一個Answer File來製作OOBE全自動化的設定.

時間:120 分鐘

工具:
l   Virtual PC 2007
l   Image Configuration Editor(ICE)
實作:
一、利用ICE工具來設定Windows Embedded Standard 7 映像檔
1.按下【開始】->【所有程式】->Windows mbedded Standard 7->Image
Configuration Editor
PS:如果出現提示訊息,請選擇繼續執行程式. 

2.ICE工具之中選擇File->New Answer File ,建立一個新的專案檔.

3.選擇File->Import-> Import PMQ. 請選擇路徑至C:\WES7_TTT\PMQ\Devices.pmq

4.匯入後請察看Message 視窗內的訊息,將會列出目前平台所需元件內容.

5.請在Distribution Share 視窗中加入下列Package加入至Answer File視窗.
a.Packages->Feature
Pack->Browsers->Internet Explorer 8->Internet Explorer 8 Browser
b.Packages->Feature Pack->User
Interface->Windows Shell->Windows Explorer Shell
c. Packages->Feature Pack->Font->Traditional chinese Fonts
d. Packages-> Feature Pack->Font->Traditional
Chinese Supplemental Fonts

6.在表單上選擇Validate-> Add Required Packages

7.Message 視窗中的Validate 頁籤中會顯示出所有相依性元件.
a.開啟”Dependencies of the source package are not satisfied”加入其他相依元件.
b.依序選擇下列項目後按下ok結束設定.
l   Windows Boot Environment
l   Windows Embedded Standard Startup Screens
l   Standard Windows USB Stack
l   English(US)Language Pack

8. 選擇Validate-> Add Required Packages
9. Answer File 視窗,展開Production->Operating
System->Foundation Core-> Windows Embedded Edition
,選擇Core-Setting_x86元件,修改右邊的SettingFilter View by項目為”7 OOBE System”修改後將HideEvaluationWarning的值改為”1”.

10. Answer File 視窗,展開Production->Operating
System->Foundation Core-> Windows Embedded Edition
,選擇Setup_X86元件,設定右邊的SettingFilter View by項目為”1 Windows PE”, 並將下列元件屬性改為:
a.UserData -> AcceptEula = True
b.UseConfigurationSet = True
c.DiskConfiguration -> WillShowUI = Never
d.DiskConfiguration 上右鍵選擇 Insert New Disk.
展開Disk 項目設定
l   DiskID = 0
l   WillWipeDisk = true
按右鍵CreatePartitions 選擇Insert New Partition ,展開Create Partition項目後設定:
l   Order=1
l   Type=Primary
l   Extend = true
e.ModifyPartitions項目右鍵,選擇Insert New
ModifyPartition
,展開ModifyPartition項目作下列設定:
l   Order = 1
l   PartitionID = 1
l   Label = OS
l   Letter = C
l   Format = NTFS
l   Active = true
f.選擇ImageInstall項目作下列修改
l   OSImage ->WillShowUI = never
l   OSImage ->InstallToAvailablePartition = true
11. Answer File 視窗,展開Production->Operating
System->Foundation Core-> Windows Embedded Edition
,選擇Shell-Setup_x86元件,設定右邊的SettingFilter View by項目為”4 Specialize”, 並將下列元件屬性改為:

l  CompuaterName-> ChanderPC  (ps:不可有空白)
l  ProductKey-> 34VFJ-QQ7G4-47K84-74BHY-WQGQ2 ps:For 180 test key

接下來將Filter view by項目改為”7 OOBE System”,展開OOBE項目作下列設定:
a.OOBE->NetworkLocation =Work
b.OOBE->ProtectYourPC =3
c.OOBE->HideEULAPage = true
d.TimeZone=”Pacific Standard Time”
e.展開UserAccounts,在LocalAccounts上按右鍵選擇Insert New LocalAccount作下列設定:
l   Name = MyUser
l   DisplayNmae = MyUser
l   Description = Demo account
l   Password->Value= password
l   Group = Users
l   AdministratorPassword->value = password
12. Filter view by項目改為”4 Specialize”後作下列設定:
l   Autologon->Username = Administrator
l   Autologon->Enable = true
l   Autologon->Password->Value = password
13. Answer File 視窗,展開Production->Operating
System->Foundation Core-> Windows Embedded Edition
,選擇International-Core_x86元件,設定右邊的SettingFilter View by項目為”4 Specialize”, 並將下列元件屬性改為:
l   InputLocale = en-US
l   SystemLocal = en-US
l   UILanguage = en-US
l   UserLocal = en-US
14.選擇File->Save Answer File As 將路徑選擇c:\WES7_TTT\LAB1並將檔名改為LAB1.xml
15.ICE工具上選擇Tool->Create Media -> Create
IBW Image from Answer File…
將映像檔路徑設定為C:\WES7_TTT\LAB1\LAB1_Image(請建立一個LAB1_Image目錄).

16.完成時會詢問是否開啟此目錄,請選擇”NO”.
二、建立一個可開機的WES7安裝光碟
1.  按下【開始】->【所有程式】->Windows Embedded Standard 7->Windows PE Tools Command Prompt

2.  DOS視窗中輸入下列指令:
oscdimg –n –h –m –b..\PETools\x86\boot\etfsboot.com c:\WES7_TTT\LAB1\LAB1_Image
c:\WES7_TTT\LAB1\LAB1_Image.iso
按下Enter執行命令

3.  Oscdimg工具完成ISO製作時請關閉DOS視窗.
三、Virtual PC 2007 安裝製作好WES7 ISO
1.  按下【開始】->【所有程式】->Windows Virtual PC-> 執行Windows Virtual PC
2.  請先建立一個新的虛擬機器
a.按下虛擬機器項目
b.指定虛擬機器與位置:
名稱:LAB1
位置:c:\WES7_TTT\LAB1

c.設定記憶體大小:修改為768MB,按下一步
d.確定無誤後按下建立按鈕.

3.  設定虛擬機器參數
a.  將游標指向剛建立的LAB1 虛擬機器上,並按下設定”.
b.  Windows Virtual PC視窗中選擇DVD光碟機,選擇開啟ISO映像並將之前製作整的路徑設定好.(C:\WES7_TTT\LAB1\LAB_Image.iso). 
d.  安裝程式將會套用先前設定的OOBE參數直到作業系統安裝完畢.