need to copy 2 files in to music folder for each user
Hi For the itunes application i need to copy to 2 files in to user profile on our win 7. i tried to copy them using predefined folder in an msi [UserPRofile]\Music\..
whne installing the msi the msi is creating a folder music on C drive which its not suppose to do.. Then i tried to copy those files and vbs file in to c:\programfiles(x86)\itunes (basically the vbs file copies the two files in to %userprofile%\Music) and tried to run a vb script using activesetup...by creating a stubpath as wscript.exe "C:\Progam files (x86)\iTunes\name.vbs". But the active setup is also not working..as the active setup can't copy those two files in to %userprofile%\Music folder... If i run the vb script manually it works. Then i realized i'm doing some thing wrong...
I read many blogs on this But couldn't get this done. if any one can help me how to copy the those two files in to %userProfile% \Music folder..It would be really great help....Can u pls elobrate in detal if u don't mind so i may not miss any piece... Really appreciate all ur help and advices...
But the music folder is getting generated a
Community Chosen Answer
It maybe the case that your active setup is not working at all. Try installing it on a fresh machine.
To make sure, you can write a MsgBox inside your vbs to see if the vbs runs.
The process you have written is fine and should work.
Another thing which you can do is to write this vbs in your MSI and it will work when self heal happens when the advertised shortcut is launched. I have used this method in some of my packages and it has worked.