/build/static/layout/Breadcrumb_cap_w.png

Leave several files on uninstalling an msi

Hello to all!

I have the following problem I didn't find a solution for so far:
I repackaged an application succesfully, which installs files on the destination system, that are needed by other applications. On uninstalling the msi - naturally - these files are removed from the destination computer. Now that's the problem - I don't want them to be removed! I just want to "tell" the msi-package (using Wise Package Studio 4.62) that it can remove all files except 4 or 5 special files. Does anybody know how to solve this?

0 Comments   [ + ] Show comments

Answers (3)

Posted by: misk 19 years ago
Orange Senior Belt
0
the decision to leave files after uninstall is done on the component level so you can do the following: -

go to setup editor> components tab.
right click on a component that contains one of the files that you want to leave behind.
click on details.
you will then see a check box "leave installed on uninstall". check this box and repeat this for all components\files you want to leave on the machine.
hope this helps.
remember whatever is in that component will be left behind.
Posted by: brenthunter2005 19 years ago
Fifth Degree Brown Belt
0
You can make files (or rather components) permanment on computers. This means that when uninstalling the MSI, these files (components) will be left behind.

Under Wise, choose the 'Setup Editor' view, and then select the 'Components' tab. Once you find the component/file you want to leave behind after an uninstallation right-click and choose details, and then select the option "Leave installed on uninstall"

All sorted.
Posted by: Beay 19 years ago
Yellow Belt
0
Hooray! Works great!
I edited a test-msi, added a new component with two files, and they were left on the system on uninstalling the msi.
It's half the battle if one knows where to search. [;)]
thx, misk and brenthunter2005 for your quick help!

Great community!

Beay
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