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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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.
Answered 09/07/2006 by: AngelD
Red Belt

Please log in to comment
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 ?
Answered 09/07/2006 by: karan_gupta
Orange Belt

Please log in to comment
0
in "setup editor" goto the components tab
right-click the component and select details
check the "Leave installed on uninstall" box
thats is
Answered 09/07/2006 by: AngelD
Red Belt

Please log in to comment
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 ?
Answered 09/07/2006 by: karan_gupta
Orange Belt

Please log in to comment
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 ..
Answered 09/07/2006 by: viswakar
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity