From c3daee70fa5d45f110c547af45c713a13533befc Mon Sep 17 00:00:00 2001 From: shigobu Date: Sun, 7 Aug 2022 21:14:16 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E3=82=AB=E3=83=AC=E3=83=B3=E3=83=88?= =?UTF-8?q?=E3=83=87=E3=82=A3=E3=83=AC=E3=82=AF=E3=83=88=E3=83=AA=E3=81=AE?= =?UTF-8?q?=E6=8C=87=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SetupCustomActions/CustomActions.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SetupCustomActions/CustomActions.cs b/SetupCustomActions/CustomActions.cs index be21a1e..f7d5c37 100644 --- a/SetupCustomActions/CustomActions.cs +++ b/SetupCustomActions/CustomActions.cs @@ -77,6 +77,8 @@ private void RegisterDLL(RegisterType type) process.StartInfo.Arguments = arguments; // ウィンドウを表示しない process.StartInfo.CreateNoWindow = true; + // カレントディレクトリ指定 + process.StartInfo.WorkingDirectory = installDirectory; // 起動 process.Start(); From b167161abb06dd425c68d3046178aa33b15c0d78 Mon Sep 17 00:00:00 2001 From: kasamatsu Date: Tue, 13 Jun 2023 09:19:55 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E3=82=B7=E3=82=A7=E3=83=AB=E3=82=92?= =?UTF-8?q?=E4=BD=BF=E3=82=8F=E3=81=AA=E3=81=84=E8=A8=AD=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SetupCustomActions/CustomActions.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SetupCustomActions/CustomActions.cs b/SetupCustomActions/CustomActions.cs index f7d5c37..75fb973 100644 --- a/SetupCustomActions/CustomActions.cs +++ b/SetupCustomActions/CustomActions.cs @@ -79,6 +79,8 @@ private void RegisterDLL(RegisterType type) process.StartInfo.CreateNoWindow = true; // カレントディレクトリ指定 process.StartInfo.WorkingDirectory = installDirectory; + // シェルを使わない + process.StartInfo.UseShellExecute = false; // 起動 process.Start();