PDA

View Full Version : Install Program as a Scheduled Task



NewsArchive
02-24-2014, 12:25 PM
Hi All

I want to install a program as a scheduled task to be run when the user logs
in. Can this be done with Setupbuilder?

Regards
Andre

NewsArchive
02-24-2014, 12:25 PM
André,

> I want to install a program as a scheduled task to be run when the user
> logs in. Can this be done with Setupbuilder?

I'm not aware of any an option in Windows that would allow Task Scheduler to
create a Task with a trigger "At log" on for a particular user from a
per-machine install. IMO, it's not possible.

Friedrich

NewsArchive
02-24-2014, 12:26 PM
Friedrich

Thanks for that. Perhaps I am off on the wrong route here. What I am
wanting is for the program to install and run automatically each time the
computer is started and the user logs in. The program is harvesting a web
service and needs to come to the fore if there are messages for the user. I
understand that a service is out as UI is no longer supported. What is the
easiest way to achieve this?

Regards
Andre

NewsArchive
02-25-2014, 02:40 AM
J André Labuschagné,

> understand that a service is out as UI is no longer supported.

For situations where you need interaction write two programs that
communicate with each other, even through a simple file if necessary.

One as the service and one as the desktop interface.

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
RPM Review........: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Creative Reporting: http://www.CreativeReporting.com

Product Release & Update Notices
http://twitter.com/DeveloperPLUS

Windows 8 brings us "The Oval, Bumper Car, Roller Coaster of Wait!"

NewsArchive
02-25-2014, 02:41 AM
Hi Lee

I am really trying to avoid that. Thanks anyway.

it is a question of how I get this thing to start automatically when the
user logs on. Once it is loaded we will not provide any exit.

Cheers
Andre

NewsArchive
02-25-2014, 02:41 AM
Ever try installing in the Startup folder?

--

Russ Eggen
RADFusion International, LLC

NewsArchive
02-25-2014, 02:42 AM
That is where I may be headed Russ. It seems to be the simplest route to
take.

J André Labuschagné

NewsArchive
02-25-2014, 02:43 AM
J André Labuschagné,

> it is a question of how I get this thing to start automatically when the
> user logs on. Once it is loaded we will not provide any exit.

You should be able to use one of these...

Add an entry in the registry...
"HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\ Windows\CurrentVersion\Run"
Create a shortcut in the Start Menu|Startup folder.

If you have the Developer Edition of SB, use "Add/Delete Scheduled
Task".

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
RPM Review........: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Creative Reporting: http://www.CreativeReporting.com

Product Release & Update Notices
http://twitter.com/DeveloperPLUS

Windows 8 brings us "The Oval, Bumper Car, Roller Coaster of Wait!"

NewsArchive
02-25-2014, 02:43 AM
J André Labuschagné,

> Add an entry in the registry...
> "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\ Windows\CurrentVersion\Run"
>
> Create a shortcut in the Start Menu|Startup folder.
>
> If you have the Developer Edition of SB, use "Add/Delete Scheduled
> Task".

Wrote this reply about 3 minutes later only to find WOW! had dropped
Internet and TV in Knoxville. Probably a drunk backhoe operator!<g>

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
RPM Review........: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Creative Reporting: http://www.CreativeReporting.com

Product Release & Update Notices
http://twitter.com/DeveloperPLUS

Windows 8 brings us "The Oval, Bumper Car, Roller Coaster of Wait!"

NewsArchive
02-25-2014, 02:45 AM
ROFL

I got it. Onward and upwards with Scotch and Jake of course :-)

J André Labuschagné

NewsArchive
02-25-2014, 02:46 AM
Thanks Lee - that is what I was looking for.

J André Labuschagné