Creating a task to copy file to different folder on different Windows OS
As im fairly new to Altiris, I come by theese forums alot and have learned much. Especially when I hit the wall, you guys have been peach!
But alas, today Im struggelig with something most of you might consider easy - So here goes.
At my current work location we are in the middle of upgrading all our computers to Windows7 from WindowsXP. And we would like to "force" our users to get up the local internett page which holds alot of information for our company. So what we have decided is to simply put a .url file in Windows all users Startup folder.
I have made the task that copies the file to Windows7's Startup folder, and a task that does the same to WindowsXP since they don't share a common path.
My problem, is to "bake" this into one software delivery, that detects that if its WindowsXP, the task to copy to XP's Startup folder is run, and vice versa.
So far I have done this.
#1 Copy Innsiden.url Windows 7
Basic copy file task which copies that .url to C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
#2 Copy Innsiden.url Windows XP
Basic copy file task which copies that .url to C:\Documents and Settings\All Users\Start Menu\Programs\Startup
I've tried to figure out how to bake thoose two into ONE package, which have a detection rule that detects eiter windows 7 or XP, and runs the apropriate task.
Thank you for reading, and looking forward to see what you Wizards come up with =)