LoginSignup
1
0

More than 3 years have passed since last update.

Inno Setup で作ったインストーラーの再起動(Restart)設定

Last updated at Posted at 2018-09-19

はじめに

こんにちは、のんびりエンジニアのたっつーです。
ブログを運営しているのでよろしければ見てください。

Inno Setup を用いて Setup.exe などを作る事は多いかと思いますが、再起動を促す設定がよくわからなかったので調べた結果をここに残しておきます。

インストール時に再起動

  • スクリプト設定
[Setup]
AlwaysRestart=Yes
  • 実行結果(インストール完了後に表示)

image.png

アンインストール時に再起動

  • スクリプト設定
[Setup]
UninstallRestartComputer=Yes
  • 実行結果(アンインストール完了後に表示)

image.png

感想

Windows Installer / InstallSheild を使った事ありますが、Inno Setup はシンプルで使いやすいですね。GUIにこだわらないで設定項目をすべてスクリプトで記載するのもGUIの使い方を覚えなくてよいので結構いい感じ。

よければ ブログ「初心者向けUnity情報サイト」の方にも色々記載しているのでぜひご参照いただければと思います。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0