This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Creating scheduled task that runs a power shell script.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 30, 2013
10:29 AM
Creating scheduled task that runs a power shell script.
Hi. I am struggling to create scheduled task that will execute power shell script.
I Cannot find any tutorial(one full example at least) that shows how to create scheduled task.
I found only the documentation that not help if you do this for the first time.
Thanks.
I Cannot find any tutorial(one full example at least) that shows how to create scheduled task.
I found only the documentation that not help if you do this for the first time.
Thanks.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 01, 2013
08:12 AM
Did you do the steps detailed here:
http://kb.flexerasoftware.com/doc/Helpnet/installshield19helplib/helplibrary/STasks-Adding.htm
The question combines to issues. 1)creating a scheduled task in MSI and 2) interacting with power shell from an MSI. I would break the problem into two steps and just create a task that does not use power shell, and then focus on the power shell using info from here:
http://blogs.technet.com/b/heyscriptingguy/archive/2011/01/12/use-scheduled-tasks-to-run-powershell-commands-on-windows.aspx
http://kb.flexerasoftware.com/doc/Helpnet/installshield19helplib/helplibrary/STasks-Adding.htm
The question combines to issues. 1)creating a scheduled task in MSI and 2) interacting with power shell from an MSI. I would break the problem into two steps and just create a task that does not use power shell, and then focus on the power shell using info from here:
http://blogs.technet.com/b/heyscriptingguy/archive/2011/01/12/use-scheduled-tasks-to-run-powershell-commands-on-windows.aspx