View Full Version : Uninstall - not include a registry update
NewsArchive
10-04-2007, 03:44 AM
Hi Friedrich,
During an install I ask for some data and put it into a HKLM registry
key. I do not want this particular key to be deleted if the product
is uninstalled. I can't seem to find a way to do that, i.e. exclude a
registry update from the uninstall.
Any ideas?
Best regards,
Arnór Baldvinsson
Icetips Creative, Inc.
San Antonio, Texas, USA
www.icetips.com
Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php
NewsArchive
10-04-2007, 03:45 AM
Hi Friedrich,
>During an install I ask for some data and put it into a HKLM registry
>key. I do not want this particular key to be deleted if the product
>is uninstalled. I can't seem to find a way to do that, i.e. exclude a
>registry update from the uninstall.
Did a custom uninstall and simply stored the registry key value before
the "process uninstall queue" and then added it back after it was
done. Works:)
Best regards,
Arnór Baldvinsson
Icetips Creative, Inc.
San Antonio, Texas, USA
www.icetips.com
Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php
NewsArchive
10-04-2007, 03:46 AM
Arnór,
One other thing you might try is to find the place in your script where the
key you want to maintain is written.
Before the key is written, insert a Close Installation Log item (a bit
confusing to find... it's in the "Set Installation Log Mode" script
function).
Do the stuff you don't want uninstalled.
Then (if you're doing other things that should be uninstalled), insert an
"Open Installation Log" item and set it to the same file name variable that
the script is using when the installation log is created.
Jane
NewsArchive
10-04-2007, 03:47 AM
Hi Jane,
>Do the stuff you don't want uninstalled.
>Then (if you're doing other things that should be uninstalled), insert an
>"Open Installation Log" item and set it to the same file name variable that
>the script is using when the installation log is created.
Thanks for the tip:) So basically you close the log, do your stuff,
then open it again. Sounds simple enough:)
Best regards,
Arnór Baldvinsson
Icetips Creative, Inc.
San Antonio, Texas, USA
www.icetips.com
Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.