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: Installscript set file permanent
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
Mar 27, 2012
06:39 AM
Installscript set file permanent
I"m copying a file to a location on the drive with XCopyFile function. But on uninstall the file is deleted.
I want this file to stay on the drive.
Now i found that you have to set the file to permanent.Now how do you do that at runtime?
Adding the file in the component section is not an option.
thx in advance
I want this file to stay on the drive.
Now i found that you have to set the file to permanent.Now how do you do that at runtime?
Adding the file in the component section is not an option.
thx in advance
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 27, 2012
07:37 AM
You can disable logging by calling the function Disable with the LOGGING constant immediately before performing operations that should not be logged for uninstallation—for example, your XCopyFile call. Then you can re-enable logging by calling Enable with the LOGGING constant after the XCopyFile call.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 28, 2012
03:44 PM
DebbieL wrote:
You can disable logging by calling the function Disable with the LOGGING constant immediately before performing operations that should not be logged for uninstallation—for example, your XCopyFile call. Then you can re-enable logging by calling Enable with the LOGGING constant after the XCopyFile call.
yes this works for me, thx 😉