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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 16, 2008
03:34 PM
OK, it looks like I've solved the problem... By storing the file in the support files, I can copy them into place before I run our export code.
So, that solves that...
-Tom
So, that solves that...
-Tom
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)