-
Editing an MSI file
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!
-
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.
-
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
-
The documentation says you can. I've never tried it.
-
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)?
-
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