Tech Note 16: e-PocketSetupを使ってインストールパッケージの作成

February 17, 2003

© NSB Corporation. All rights reserved.

Go to English page.

Contributed by Russ Dodge.

e-PocketSetupは、恐らく、現在手に入るWindows CE用のインストーラを作成するための最も良いツールでしょう。とてもパワフルでNS Basicユーザのための特別な機能を持ち、現在まだ性能が向上し続けています。さらに、デスクトップアプリケーションようにも使えます:NS Basic/CEインストーラは、これを使ってビルドされています。e-PocketSetupはコマーシャルソフトです。e-PocketSetupから直接入手できます。-- NS Basic Support

e-PocketSetupプロジェクトを保存すると.epsファイルが作られます。インストーラを作成する時、exeファイルとcabファイルが作られます。必要なのはexeファイルを配付するだけです。

他の多くのオプションが可能ですが、これはインストーラを作る基本的なステップ毎のガイドです。このサンプルはe-PocketSetup 3.3.0.2を使っています。

PROJECT PROPERTIES...
	Info Tab:
	   on Device : %ProgramFilesDir%\%SoftwareName%
	   on Desktop: %ActiveSyncDir%\%SoftwareName%

	Build Tab:
	   Ck "Delete desktop files after installation"
	   Ck "Compress Setup Loader"
	   Ck "Enable ePocket Script on Device"
	   Ck "Include Uninstaller"
	   Ck "Show Installer Background"

	Output Tab:
	   Output directory: where you want eps file to go
	   ... Check: "Use default setup and CAB output names"
	   Output setup: the exe file name you create
	

DEVICE FILES...
      %InstallDir% Folder
	   Rt click Rh pane | add your .nsb files
	     ... Rt click each of these files | Properties
	     ... Device tab | select device and processor


      Program File Folder
	    Rt click | New Folder | name to NSBasic
	      ... Rt click Rh pane and add files
		  - Basic.exe
		  (see Processor Files section below)
	      ... Rt click each file | Properies
	      ... Device tab | select device and processor
	    

      Window Folder
	    Rt click Rh pane and add .dll files
		- MSCPicure.Dll
		(see Processor Files section below)
	      ... Rt click each file | Properies
	      ... Device tab | select device and processor
	    Options Tab: for dll's ck the ActiveX (self register) box


      Add your Custom Icon (see "icon" below)
		Device Files...
		Rt click on file in Rh pane | Properties |
		Custom Icon Tab
		Ck Use User Defined icon 
		Select file


DEVICE SHORTCUTS...
	Click Programs Folder
	  ... Rt click Rh pane | Add Shortcut
	  ... Device tab: select device and processor
	Info tab 
	  ... Tile:          SoftwareName
	  ... File/Folder:   Select file in drop box


DEVICE REGISTRY...
	Rt click Rh pane | File Association Wizard
	... File Extension:  .nsb
	... Identifier:      NSBasic
	... Description:     NSBasic Application
	... Open with:       %ProgramFilesDir%\NSBasic\basic.exe
		OR,
	... Open with:       %InstallDir%\NSBasic\basic.exe
	... Next ...
	... Icon number:     0
	... Select device and processor


SETUP DIALOGS...
	Rt click middle pane | Add Setup Dialog
	  ... can use Default (new modern) Tab and add dialogs
	Rt click middle pane | Wizard order
	(this should be the order of minimum dialogs)
	   ... Ck Components
	   ... Welcome
	   ... Directory
	   ... Program
	   ... Ready
	   ... Finish


BACKGROUND WINDOW...
	Do this step (pretty self explanatory)
	

SETUP CREATION WIZARD...
	Select Device and Processors


ICONS...
	to include your custom icon above it must be 
	a multi resolution icon, 16 x 16 and 32 x 32


--------------- Processsor Files -----------------


1. Download and Double click...
	Runtime.hpc.exe
	Runtime.ppc.exe	 (Palm size PC)
	... files from NSBasic download website
	... this will install the cab files on your desktop

2. Extract files from the CAB...
	Double click Cab file
	... Window CE Viewer will open it up
	... click Files
	... click on desired files - RH side
	... Click File | Extract File

   Now you can import (add file) to ePocketSetup

3. Other .dll's and files such as Finance.dll
   you will have to get from MS VBCERedistKit10.exe
   ... see NSBasic Tech Notes or CD.


StrongArm processor for Pocket PC is also known as:
... SA1100
... Intel PXA250
... XScale
compatible files found in Runtime.hpc.exe