How to copy files from install media
Posted: Tue Jul 06, 2010 10:31 pm
I did a quick search here (as well as Google) but didn't find the specific answer I'm looking for.
I'm creating a simple setup.exe which will be put onto non-writable media and distributed. However, this executable will be placed in a directory structure where it must reference a set of files outside of its parent folder (but still on the read-only media) and copy them to the target system. It cannot be bundled into the setup.exe package itself since the contents of that outside folder may change depending on the marketed variation of the product and my .exe will need to accommodate any scenario.
I understand now that the Copy / Move Local File function won't work in MSICode. However, there has to be a way to do this. It just seems like such a basic function.
Creating these installer packages is outside of my area of expertise (I'm a systems / network admin, not a developer) but I've been tasked to do this for some reason. Perhaps I've overlooked something obvious?
I'm creating a simple setup.exe which will be put onto non-writable media and distributed. However, this executable will be placed in a directory structure where it must reference a set of files outside of its parent folder (but still on the read-only media) and copy them to the target system. It cannot be bundled into the setup.exe package itself since the contents of that outside folder may change depending on the marketed variation of the product and my .exe will need to accommodate any scenario.
I understand now that the Copy / Move Local File function won't work in MSICode. However, there has to be a way to do this. It just seems like such a basic function.
Creating these installer packages is outside of my area of expertise (I'm a systems / network admin, not a developer) but I've been tasked to do this for some reason. Perhaps I've overlooked something obvious?