/build/static/layout/Breadcrumb_cap_w.png

Keep files during uninstall ?

During uninstall of an msi is it possible to keep some files and not delete them ? i mean how can i make an msi which doesn`t remove all the files created by it during uninstall ?

0 Comments   [ + ] Show comments

Answers (5)

Posted by: AngelD 17 years ago
Red Belt
0
You can set the msidbComponentAttributesPermanent bit on a component, that will keep any resource in that component on uninstall.
Take a look at the Component table in the Msi.chm.
Posted by: karan_gupta 17 years ago
Orange Belt
0
i see in component table the attribute is a number ?? i am using wise 5.0 . Where can i set the attribute please explain in detail ?
Posted by: AngelD 17 years ago
Red Belt
0
in "setup editor" goto the components tab
right-click the component and select details
check the "Leave installed on uninstall" box
thats is
Posted by: karan_gupta 17 years ago
Orange Belt
0
You can set the msidbComponentAttributesPermanent bit on a component, that will keep any resource in that component on uninstall.
Take a look at the Component table in the Msi.chm.


Thanks Angel , i am able to do for files with the attribute set to 16 , but the registry does not take the value as 16 so i had to change them to 4 . is there a way i can keep the registry enteries also just like files ?
Posted by: viswakar 17 years ago
Senior Yellow Belt
0
Hi Karan ,

You can follow the same steps suggested by angel for the registry as well. go to the component where registry is present , right click the component and give Leave Installed on Uninstall..


Cheers ..
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ