First of all thanks for your quick replay Dahall,
However the problem persists, everytime I try to depoy the setup on a Win7 machine it gives me an exception "Exception: (41,4):LogonType: " nothing more :(
On a XP machine all runs smooth.
From what I understood I am missing something related with the "RegisterTaskDefinition" besause once I use this line:
ts.RootFolder.RegisterTaskDefinition("Scheduler", td, TaskCreation.Create, "SYSTEM", null, TaskLogonType.ServiceAccount);
the task is created but I dont understand the usage of the "SYSTEM" for the username, can I presume that with this username it will be runnable in all machines? Or do I have to supply the username/password on all Win7 machines in order to deploy the
Thanks in advance!