Yeah, I've been doing a bunch of stuff in this area tonight. You will likely need to create a VBS to do the actual moving of the files. You can pass parameters from the installer into the VBS with code like this:
Code: Select all
pathToFolder = Session.Property("ProgramFilesFolder")
You will need to create the VBS, then in the appropriate "install sequence" (which I'm still very fuzzy about exactly WHERE everything goes - for example, for my uninstall scripts they went under "InstallFinalize" not, Uninstall..) you will need to right click and say "New Attached Custom Action" and pick your VBS file.
On the screen you can specify which function to call, and then the execution conditions at the bottom to decide when to run the code. (For example, code running during uninstall should be tagged with the REMOVE = "ALL" expression.) Then you test, and test, and test some more, and after about 50 iterations of learning how it all works, it will suddenly work for you. You will do a dance of joy, then grab a beer.
(Can you tell how much I love installers?

No fault to AI - I love this program - but I really hate installers.)
Give it a go and let us know if you have more specific questions as you go along.
FOLLOW US
Get the latest news in Application Packaging