This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Best way to put down a file for migration?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Jul 15, 2008
02:39 PM
Best way to put down a file for migration?
Hi all...
So, we are supporting in-place major upgrades in our install, but we have to migrate a user DB that's on disk. The plan is to export the data from the old DB, uninstall the old product, install the new product, then import it into the new DB. However, to do the export, I need to put a new file on disk before we do the uninstall and product install.
What's the best way to go about this? Is there a way I can grab a single file out of our component and put it on disk?
Thanks,
-Tom
So, we are supporting in-place major upgrades in our install, but we have to migrate a user DB that's on disk. The plan is to export the data from the old DB, uninstall the old product, install the new product, then import it into the new DB. However, to do the export, I need to put a new file on disk before we do the uninstall and product install.
What's the best way to go about this? Is there a way I can grab a single file out of our component and put it on disk?
Thanks,
-Tom
(2) Replies
‎Jul 16, 2008
01:01 PM
...Anyone? Bueller?
What I'm looking to do here is put a single file on disk before RemoveExistingProducts and InstallFiles. This means, I think, that I can't use InstallFiles to do it, either.
The best thought I've got right now is to write a custom installscript action that reads the file out of the file set (how?) and writes it to disk (using WriteBytes?). Any thoughts on how I might do this?
Any help is appreciated,
-Tom
What I'm looking to do here is put a single file on disk before RemoveExistingProducts and InstallFiles. This means, I think, that I can't use InstallFiles to do it, either.
The best thought I've got right now is to write a custom installscript action that reads the file out of the file set (how?) and writes it to disk (using WriteBytes?). Any thoughts on how I might do this?
Any help is appreciated,
-Tom