/build/static/layout/Breadcrumb_cap_w.png

Remove files before install

Hi all

I am using a basic MSI project, using Installshield 2008. I would like to remove the following two programs before installing my product.

1) MSDE
2) SQL Server Compact Edition

I have product GUIDS for both should I need them. How do I make the installer remove these two files before proceeding to install my software?

I do not want to uninstall these manually. So if there is a way to uninstall using the same setup exe used to install our software, that is what I am after.

Any help will be appreciated.

0 Comments   [ + ] Show comments

Answers (1)

Posted by: anonymous_9363 15 years ago
Red Belt
0
So if there is a way to uninstall using the same setup exe used to install our software, that is what I am after.Is your set-up stub authored by you in, say, InstallScript? If so, you could just add a couple of calls to MSIExec.EXE and pass the relevant ProductCode for each:

....MSIExec /X {MSDE_ProductCode} [other switches, probably including at least /QBx]
....MSIExec /X {SQLServerCompactEdition_ProductCode} [other switches, probably including at least /QBx]
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