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: CopyFile at uninstall
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
‎Apr 22, 2008
09:26 AM
CopyFile at uninstall
Hi all,
to backup a configuration file at uninstall i use the CopyFile command before the FeatureRemoveAll is called.
So far so good. The file is correctly copied, but after the uninstall the destination file is also deleted although it is not part of a feature or component. It doesn't seem to matter where i copy the file to, it disappears everywhere.
I hope someone can help me on this one
Thanks in advance
JF
to backup a configuration file at uninstall i use the CopyFile command before the FeatureRemoveAll is called.
So far so good. The file is correctly copied, but after the uninstall the destination file is also deleted although it is not part of a feature or component. It doesn't seem to matter where i copy the file to, it disappears everywhere.
I hope someone can help me on this one
Thanks in advance
JF
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 22, 2008
09:41 AM
Perhaps calling Disable ( Logging ) before CopyFile and Enable( Logging ) after will help.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 22, 2008
10:02 AM
Thanks a lot,
that seems to be exactly what i was looking for.
that seems to be exactly what i was looking for.