+ Post New Thread
Results 1 to 6 of 6
Windows Thread, Editing an MSI file in Technical; Hi guys! I'm pretty desperate and hope that you are able and willing to help me. I have to prepare ...
  1. #1

    Join Date
    Mar 2009
    Posts
    4
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    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!

  2. #2

    AngryTechnician's Avatar
    Join Date
    Oct 2008
    Posts
    3,730
    Thank Post
    698
    Thanked 1,212 Times in 761 Posts
    Rep Power
    395
    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.

  3. Thanks to AngryTechnician from:

    Knopf (4th March 2009)

  4. #3

    Join Date
    Mar 2009
    Posts
    4
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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

  5. #4

    AngryTechnician's Avatar
    Join Date
    Oct 2008
    Posts
    3,730
    Thank Post
    698
    Thanked 1,212 Times in 761 Posts
    Rep Power
    395
    The documentation says you can. I've never tried it.

  6. #5

    Join Date
    Mar 2009
    Posts
    4
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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)?

  7. #6

    Join Date
    Mar 2009
    Posts
    4
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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

SHARE:
+ Post New Thread

Similar Threads

  1. Editing a Bootable CD
    By flashsnaps in forum Windows
    Replies: 2
    Last Post: 30th October 2008, 05:26 PM
  2. [CLOSED] Bug/Error: Editing A Post
    By FN-GM in forum EduGeek.net Site Problems
    Replies: 6
    Last Post: 14th April 2008, 01:22 PM
  3. Video editing - am I right
    By Halfmad in forum General Chat
    Replies: 41
    Last Post: 19th December 2007, 07:01 PM
  4. Replies: 1
    Last Post: 8th June 2007, 08:43 PM
  5. Replies: 4
    Last Post: 23rd March 2006, 06:27 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •