KevinC
Posts: 5
Joined: Thu Jun 08, 2023 9:09 am

Making scheduled tasks in subfolders

Hi AI :)

I am quite new to using the software, so bear with me.
At the moment i am trying to make a new installation package that will include scheduled tasks.

Is there a way to install them into sub folders ? At the moment they with land under whatever is the main tree.

I am using version 19.6 since we have some legacy running.

Kind regards
Kevin
Catalin
Posts: 6584
Joined: Wed Jun 13, 2018 7:49 am

Re: Making scheduled tasks in subfolders

Hello Kevin and welcome to our forums,

I'm afraid that currently we do not have support for creating a Scheduled Task folder / adding a Scheduled Task to a folder.

However, you could try creating a Custom Action that does that.

I have added this on our TODO list of improvements and hopefully it will be implemented in a future version of Advanced Installer.

When that will happen, I will update this thread.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
KevinC
Posts: 5
Joined: Thu Jun 08, 2023 9:09 am

Re: Making scheduled tasks in subfolders

Hello Catalin

Thank you very much! :)
I will look into the Custom Functions for now.

Much appreciated with the update

//Kevin
Catalin
Posts: 6584
Joined: Wed Jun 13, 2018 7:49 am

Re: Making scheduled tasks in subfolders

You are always welcome, Kevin!

If you require any further assistance, please let me know and I will gladly assist. :)

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 6584
Joined: Wed Jun 13, 2018 7:49 am

Re: Making scheduled tasks in subfolders

Hello Kevin,

I have created a small how-to that showcases how to create a Scheduled Task folder:

Use PowerShell to create Scheduled Task folders

Hope this helps you have a starting point! :)

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
KevinC
Posts: 5
Joined: Thu Jun 08, 2023 9:09 am

Re: Making scheduled tasks in subfolders

Hey Catalin

Thanks for the reply! :)

I was aware of the Powershell approach, but how do i move the tasks into the subfolder ?
When i do the build in function Scheduled Task, i don't see any condition to put it in a subfolder ?

To be honest, we are using version 19.6 and 14.9 (Legacy stuff), so it might be the case that you already added the function.

//Kevin
Catalin
Posts: 6584
Joined: Wed Jun 13, 2018 7:49 am

Re: Making scheduled tasks in subfolders

Hello Kevin,

Not quite, it is not related to the version.

With this approach, I'm afraid that we might need to create the scheduled task through the custom action as well.

As previously mentioned, I have already added this on our TODO list of improvements and hopefully this will be added in a future version of Advanced Installer.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
KevinC
Posts: 5
Joined: Thu Jun 08, 2023 9:09 am

Re: Making scheduled tasks in subfolders

Ahh sweet, i just wanted to make sure if i missed anything regarding the tasks.

I will get on with my Custom Powershell approach, thanks again! :)

//Kevin
Catalin
Posts: 6584
Joined: Wed Jun 13, 2018 7:49 am

Re: Making scheduled tasks in subfolders

You're always welcome, Kevin! :)

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 6584
Joined: Wed Jun 13, 2018 7:49 am

Re: Making scheduled tasks in subfolders

Hello Kevin,

This improvement has been added in version 21.3 of Advanced Installer, released on December 14th, 2023.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
KevinC
Posts: 5
Joined: Thu Jun 08, 2023 9:09 am

Re: Making scheduled tasks in subfolders

Catalin wrote: Mon Jan 08, 2024 11:31 am Hello Kevin,

This improvement has been added in version 21.3 of Advanced Installer, released on December 14th, 2023.

Best regards,
Catalin
Hi Catalin

I completely missed your post, but those are some great news!!! :D

Thanks for the reply, and that you remembered my request, i feel honored.

//Kevin
Catalin
Posts: 6584
Joined: Wed Jun 13, 2018 7:49 am

Re: Making scheduled tasks in subfolders

You are always welcome, Kevin! :)

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”