PDA

View Full Version : Excluding directory from uninstall



DaveHon
12-22-2003, 03:54 AM
Hello,

I am using ComponentRemoveAll from the OnMaintUIBefore method to remove a user's installation. What I would like to do is leave one of my installed subdirectories on the user's machine.

Is there an easy way to do this?

According to the online documentation the user's setup log specifies the list of files, however for my software no setup log will be present.


Regards, Dave

lsmeteor
01-05-2004, 11:19 AM
Not sure if you found an answer yet, but have you tried to set the folder you want to leave behind as "permanent"?
You can do that by setting a component inside your folder as permanent.
You may have to avoid using ComponentRemoveAll if it still removes all of them.