Knopf Posted March 4, 2009 Posted March 4, 2009 Hi guys! I'm pretty desperate and hope that you are able and willing to help me. I have to prepare an MSI file for installation (normally that's not my kind of business but our whole operating department is heaped with other stuff) and I managed to build one with snapshots (cause there was no built in msi in the exe setup file). It works perfectly fine after a bit of editing but I still have one problem to solve. When I start the program it creates a file (Configuration.xml) that's not deleted when you uninstall the package. Could you please explain me what/where to define (in Orca) that this file should be deleted during uninstall too? Thanks in advance for your help!
AngryTechnician Posted March 4, 2009 Posted March 4, 2009 You will need to add a row for this file in the RemoveFile table. This table may not be present in the MSI, so just add it from the Tables menu in Orca. Check this page for details of what to put in each column in the RemoveFile table. 1
Knopf Posted March 4, 2009 Author Posted March 4, 2009 Is it possible to use the wildcard * in "Filename" to get rid of all the files, including the one needed? Cause there's already an entry in this table: FileKey: WIRFILE00000001 Component: WICOMP00000006 FileName: DirProperty: WIDir00000008 InstallMode: 2
AngryTechnician Posted March 4, 2009 Posted March 4, 2009 The documentation says you can. I've never tried it.
Knopf Posted March 4, 2009 Author Posted March 4, 2009 I tried the * wildcard and I also tried a new row but the file still remains after uninstall. It's the right DirProperty (some shortcuts in the same directory have the same one) and I tried InstallMode 2 and 3. Perhaps I chose the wrong Component (WICOMP00000006)?
Knopf Posted March 4, 2009 Author Posted March 4, 2009 I solved my problem on another way. I just created that file by myself before I did the after screenshot. So it now gets deleted as well as the others. Thanks anyway
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now