Hi guys, after many weeks of error free use we've hit a snag in the processing that I implemented.
We have a set of platforms that we install to, each with multiple accounts. For some reason, the predecessor to our Installer seemed to add files with different names to different accounts. I intended to delete each of these files during install so that our machine was upgraded and "cleaned".
Well, I was using the path prefix of [AppDataFolder] in order to find the folder "Microsoft\Internet Explorer\Quick Launch\". Once found the Installer deletes the relevant Quick Launch applications. Now, the problem here is that AppDataFolder transforms into "..\Documents And Settings\All Users\Application Data" but what we need is some way to point to each individual user.
I'm quite sure the user accounts will remain persistent, so we could just write 3 deletes for each file (i.e. delete "..\Documents And Settings\User1\Application Data\Microsoft\Internet Explorer\Quick Launch\file" and so on for each user). It's a bit sloppy though, and with the fact that we have 10 different files (filenames) to kill off, we'll be hitting 30 actions to do this.
What other approaches would you recommend? A batch file that takes the command and simply replicates it for each user?
Looking forward to your reply!
Tom