質問するログイン新規登録

質問編集履歴

1

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

2022/08/30 06:57

投稿

KAKI
KAKI

スコア0

title CHANGED
File without changes
body CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  とあるアプリをインストールする際に、タスクスケジューラへXMLインポートを行おうとした時にエラーが発生
4
4
 
5
+ ※追記 2022/08/30 エラーメッセージを補足しました。
6
+
5
7
  ### 実現したいこと
6
8
 
7
9
  - [ ] MSIインストーラからタスクスケジューラへXMLインポートを行いたい
@@ -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
  ### 該当のソースコード