質問編集履歴

1

エラーメッセージを追記しました

2022/08/30 06:57

投稿

KAKI
KAKI

スコア0

test CHANGED
File without changes
test CHANGED
@@ -1,6 +1,8 @@
1
1
  ### 前提
2
2
 
3
3
  とあるアプリをインストールする際に、タスクスケジューラへXMLインポートを行おうとした時にエラーが発生
4
+
5
+ ※追記 2022/08/30 エラーメッセージを補足しました。
4
6
 
5
7
  ### 実現したいこと
6
8
 
@@ -9,7 +11,13 @@
9
11
  ### 発生している問題・エラーメッセージ
10
12
 
11
13
  ```
12
- Info 1721.There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: TaskScheduler
14
+ MSI (s) (C4:50) [22:07:35:803]: Executing op: ActionStart(Name=TaskScheduler,,)
15
+ Action 22:07:35: TaskScheduler.
16
+ MSI (s) (C4:50) [22:07:35:805]: Executing op: CustomActionSchedule(Action=TaskScheduler,ActionType=3186,,Target="C:\WINDOWS\SysWOW64\schtasks.exe" /Create /XML "C:\Users\username\source\repos\SetupProject1\SetupProject1\bin\Release\tasks.xml" /TN "SonySeiho" /RU "" /RP "",)
17
+ MSI (s) (C4:50) [22:07:35:806]: Note: 1: 1721 2: TaskScheduler 3: 4: "C:\WINDOWS\SysWOW64\schtasks.exe" /Create /XML "C:\Users\username\source\repos\SetupProject1\SetupProject1\bin\Release\tasks.xml" /TN "hogehoge" /RU "" /RP ""
18
+ MSI (s) (C4:50) [22:07:35:806]: Note: 1: 2205 2: 3: Error
19
+ MSI (s) (C4:50) [22:07:35:806]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1721
20
+ Info 1721.There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: TaskScheduler, location: , command: "C:\WINDOWS\SysWOW64\schtasks.exe" /Create /XML "C:\Users\username\source\repos\SetupProject1\SetupProject1\bin\Release\tasks.xml" /TN "hogehoge" /RU "" /RP ""
13
21
  ```
14
22
 
15
23
  ### 該当のソースコード