豚吐露@wiki

InstallShield

最終更新:

Bot(ページ名リンク)

- view
管理者のみ編集可

InstallShield

InstallShield Limited Edition 2013
InstallShield 2015 Express Edition

Visual Studio 2013
Windows 7-32bit Professional





  • InstallShield以外のインストーラ作成プログラム

r.f.) Inno Setup
フリーのインストーラ作成プログラム
InstallShieldより良いかも?
http://www.jrsoftware.org/isinfo.php

r.f.) Visual Studio 2013 Installer Projects
VisualStudio2012で消えたVisualStudio付属のインストーラ作成プロジェクトが復活したらしい。
今までのが使い易いって人は、こっちを使うほうが良いかもしれません。ORCAも使えるだろうしね。
https://visualstudiogallery.msdn.microsoft.com/9abe329c-9bba-44a1-be59-0fbf6151054d


【LE】が付いている情報は、Visual Studio付属のLimited Editionにのみ関係すると思われる情報。

■ 導入【LE】
インストール方法は...正規の方法でできんかったので、ココ参考にしてなんとなく進めて下さい。(´・ω・`)

導入時にユーザ登録せにゃぁいけんのですが、登録すると定期的にメルマガが送られてきます。
解除したかったら、
http://learn.flexerasoftware.com/managepreferences
へ行って、登録メアドを『Email Address』欄に入力して、『Unsubscribe from All』にチェック入れて、『Update Preferences』押下。
下記のように表示されたら解除ok。

■ 使い方【LE】
Setup.exeの中身はmsiだが、中のmsi fileをORCAで直接編集すると壊れることがあるみたい。
Visual Studio2012より前のmsi Projectのようにはいかないので注意ね。



~tips~
【LE】msiプロジェクトのimport
【LE】初回のプロジェクトの作成に失敗する
インストール先のディレクトリを任意に変更可能にしたい
buildするとWarning:-7235が出る
アップデートを管理させる手順
version違いの同一アプリケーションをinstallさせると、install情報が重複する
【LE】画面デザインの変更方法
【LE】出力ファイル名の変更方法
新versionのinstaller作成手順
サイレントインストールの方法
warningの表示条件について
アドバタイズド ショートカットについて
InstallShieldの構成管理
【LE】インストール対象を全てのユーザかカレントユーザか選択したい
ファイルが絶対pathで設定される
InstallShieldで使えるショートカットタグ一覧
ファイルのコピー先がCドライブになったり、Dドライブになったりする



ローカライズされたリソース

XMLシリアル化アセンブリ

コンテンツ ファイル

プライマリ出力
ビルドで生成されたファイル
exe、config、必要な外部dll
ソース ファイル
Project配下のsource全て
デバッグ シンボル
デバッグ用ファイル
ドキュメント ファイル
Projectプロパティのビルド選択して、出力の『XMLドキュメントファイル』にチェック入れて生成したもの。


■ Install Settings

Use the Install Settings area to specify information such as the display name and description of your service, as well as when the service should be started.

サービスが開始されるべきである場合には、このような表示名とあなたのサービスの説明などの情報を指定するだけでなく、ためにインストール設定]領域を使用してください。

Target
This setting indicates the executable file that contains the service.
To modify this, click the ellipsis button (...) in this setting.

この設定は、サービスを含む実行可能ファイルを示している。
これを変更するには、この設定で省略記号ボタン(...)をクリックします。

Display Name
Enter the name that you want to be displayed in the service control manager for this service.
If you leave this setting blank, the service's name (that is, the text that is used for the name of your service's subnode under the Advanced Settings node) is used.

あなたはこのサービスのサービスコントロールマネージャに表示する名前を入力します。
この設定空白、サービスの名前のままにした場合(つまり、[詳細設定]ノードの下に、あなたのサービスのサブノードの名前に使用されるテキスト)が使用されます。

Description
Enter a description of the service.
This description is registered on the target system when the service is installed, and it is displayed in the service control manager's Description column.
It is also displayed in the Description box on the General tab of the service's Properties dialog box.

サービスの説明を入力します。
サービスがインストールされている場合、この説明は、ターゲット·システム上に登録され、それは、サービスコントロールマネージャの説明の欄に表示されている。
また、サービスのプロパティ]ダイアログボックスの[全般]タブで[説明]ボックスに表示されます。

Service Type
Select the type of service that you are installing.
Available options are:
	* Win32 that runs in its own process
	* Win32 that shares a process
The WIN32_OWN_PROCESS type of service contains the code for only one service.
The WIN32_SHARE_PROCESS type of service contains code for more than one service, enabling them to share code.

インストールしているサービスの種類を選択します。
利用可能なオプションは次のとおりです。
	独自のプロセスで実行* Win32の
	プロセスを共有* Win32の
サービスのWIN32_OWN_PROCESSタイプは、唯一つのサービスのためのコードが含まれています。
サービスのWIN32_SHARE_PROCESSタイプがコードを共有できるようにすること、複数のサービスのためのコードが含まれています。

Interact with Desktop
Specify whether the service interacts with the desktop.
If your service has a user interface, select Yes.
If you select Yes, the User Name setting must be left blank, since the service will be installed to run in the built-in LocalSystem account.

サービスがデスクトップと対話するかどうかを指定します。
あなたのサービスは、ユーザーインターフェイスを持っている場合、[はい]を選択します。
[はい]を選択すると、サービスがビルトインのLocalSystemアカウントで実行するようにインストールされるので、ユーザー名の設定は、空白のままにする必要があります。

Start Type
Specify when to start the service.
Available options are:
	Automatic: The service starts automatically when the system starts.
	On Demand: The service starts when the service is requested through the Service Control Manager.
	Disabled: The service cannot be started.
Note that some services may support other start types (that is, during operating system initialization or by the operating system loader).
However, these options are not available for the Start Type setting because the Windows Installer does not include support for them.

サービスを開始するかを指定。
利用可能なオプションは次のとおりです。
	自動:			システムの起動時にサービスが自動的に開始されます。
	オンデマンド:	サービスがサービスコントロールマネージャを介して要求されたときにサービスが開始されます。
	無効:			サービスを開始することはできません。
(つまり、オペレーティングシステムの初期化中またはオペレーティングシステムローダである)いくつかのサービスは、他の開始タイプをサポートすることができることに留意されたい。
Windowsインストーラがそれらのためのサポートが含まれていないので、これらのオプションはスタートタイプの設定では使用できません。

Error Control
Select the appropriate action that the Service Control Manager should perform if the service fails to start.
Available options are:
	* Log the error and continue
	* Log the error, display a message, and continue
	* Log the error and restart

サービスの起動に失敗した場合に、サービスコントロールマネージャが実行すべき適切なアクションを選択します。
利用可能なオプションは次のとおりです。
	*エラーをログに記録して続行
	*メッセージを表示し、エラーをログに記録し、かつ継続
	*エラーと再起動をログに記録

Abort Install on Failure
Specify whether the entire installation should fail if the service cannot be installed on the target system.
The default value is No.
Note: If you select Yes for this setting and end users run the installation in silent or basic UI mode, Windows Installer 3 or later must be present on the target system.

サービスがターゲットシステムにインストールすることができない場合、インストール全体が失敗するかどうかを指定します。
デフォルト値はNoです。
注:後でこの設定で[はい]を選択し、エンドユーザーがサイレントまたは基本的なUIモードでインストール、Windowsインストーラ3を実行する場合や、ターゲットシステム上に存在している必要があります。

Load Order Group
Enter the name of the load-ordering group, if any, of which this service is a member.

もしあれば、このサービスがメンバーであるそのうちのロード順序グループの名前を入力します。

Dependencies
Enter any service or load-ordering groups that this service requires.
The system attempts to start the dependent service or at least one member of the load-ordering group before starting this service.
Separate multiple dependencies with a comma (,).
You must precede the name of each load-ordering group with the SC_GROUP_IDENTIFIER—which is typically the plus sign (+)—so that the Service Control Manager can distinguish it from a service.

このサービスが必要とする任意のサービスまたはロード順序付けグループを入力します。
システムは、このサービスを開始する前に、ロード順序グループの依存サービスまたは少なくとも一つのメンバーを起動しようとします。
カンマで区切り複数の依存(、)。
サービスコントロールマネージャは、サービスからそれを区別できるように - あなたはSC_GROUP_IDENTIFIER-一般的にプラス記号(+)であると、各負荷順序グループの名前を付ける必要があります。

User Name
Enter the account under which the service will be logged on.
To install the service under the local system account, leave this setting blank.
(Microsoft does not recommend installing services that impersonate the privileges of a single user.)
If the service type is Win32 that runs in its own process, the value that you enter should use the following format:
	DomainName\UserName
If the service will be logged on under the built-in domain, you can use the following format:
	.\UserName

サービスがログオンするアカウントを入力します。
ローカルシステムアカウントの下でサービスをインストールするには、この設定を空白のままにします。
(Microsoftは、単一のユーザーの権限を偽装サービスをインストールすることはお勧めしません。)
サービスタイプが独自のプロセスで実行Win32の、あなたは次の形式を使用する必要が入力した値である場合:
	DomainName\UserName
サービスがビルトインドメインの下に記録されます場合は、次の形式を使用することができます。
	.\UserName

Password
Enter a password for this service.
Leave this setting blank if the User Name setting is empty—that is, when the service is logged on under the local system account.
The password is not used if you have not specified a user name.

このサービスのパスワードを入力します。
ユーザー名の設定がある場合は、ブランクは、この設定のままにしておき、空、つまり、サービスがローカルシステムアカウントでログオンしているとき。
ユーザー名を指定していない場合、パスワードは使用されません。

Start parameters
Enter any command-line parameters or properties that are required to run the service.

サービスを実行するのに必要なコマンドラインパラメータまたはプロパティを入力します。

Start on Install
Specify whether you want to start the service during installation.
If you select Yes, use the Arguments setting to specify the arguments that you want to be passed to the service.

インストール時にサービスを開始するかどうかを指定します。
[Yes]を選択した場合、あなたがサービスに渡されるようにする引数を指定する設定の引数を使用しています。

Arguments
	Specify the arguments that you want to be passed to the service.
	Separate multiple arguments with a comma (,).

	あなたがサービスに渡されるようにする引数を指定します。
	カンマで区切り複数の引数(,)。



更新日: 2018年01月31日 (水) 16時42分14秒

名前:
コメント:

すべてのコメントを見る
記事メニュー
ウィキ募集バナー