+ Post New Thread
Results 1 to 7 of 7
How do you do....it? Thread, Remove files added using Orca in Technical; Hi, Before the summer I was quite impressed with myself that I managed to create an MST to add a ...
  1. #1
    Cache's Avatar
    Join Date
    Apr 2008
    Location
    Cumbria
    Posts
    1,214
    Thank Post
    454
    Thanked 176 Times in 173 Posts
    Blog Entries
    3
    Rep Power
    64

    Remove files added using Orca

    Hi,

    Before the summer I was quite impressed with myself that I managed to create an MST to add a licence file to an install for Logicator and so could deploy it nice and easily using group policy. The only downside was that I couldn't get it to remove the licence file when it was uninstalled, but that didn't concern me to much and I would live with it.

    Now I'm thinking of doing the same for a couple of other packages and it's bugging me that I couldn't get this one to uninstall the licence file. Before I go through and create a couple more, can any point me in the direction of where I messed up on the original one for logicator so that I could get it to uninstall any files I add using orca?

    Thanks!

  2. #2

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    IIRC, you need to register them in the uninstall table too, or they'll get left behind (I don't have a copy of orca in front of me to help further, sorry).

  3. Thanks to powdarrmonkey from:

    Cache (23rd September 2009)

  4. #3
    meastaugh1's Avatar
    Join Date
    Jul 2006
    Location
    London/Hertfordshire
    Posts
    890
    Thank Post
    69
    Thanked 85 Times in 70 Posts
    Rep Power
    32
    Also check that the attributes value of the component (to which the file belongs) does not include the permanent value (16) which would also cause the file to reside following an uninstall.

  5. Thanks to meastaugh1 from:

    Cache (23rd September 2009)

  6. #4

    AngryTechnician's Avatar
    Join Date
    Oct 2008
    Posts
    3,730
    Thank Post
    698
    Thanked 1,212 Times in 761 Posts
    Rep Power
    394
    Any file installed either by the .msi or an .mst should not have to be registered in the RemoveFile table unless the file is going to change after the install takes place, because any file originally installed is removed by default*. However, if it is changed, it will be left behind by the uninstall process, and that's when you need to use RemoveFile.

    If you take a look at your average .msi and you will see very little (if anything) in the RemoveFile table for this very reason.


    * Except for the reason stated by meastaugh1 above; or if it's a shared DLL, or similar, in which case more complicated logic applies.

  7. 2 Thanks to AngryTechnician:

    Cache (23rd September 2009), powdarrmonkey (22nd September 2009)

  8. #5
    Cache's Avatar
    Join Date
    Apr 2008
    Location
    Cumbria
    Posts
    1,214
    Thank Post
    454
    Thanked 176 Times in 173 Posts
    Blog Entries
    3
    Rep Power
    64
    Thanks for the replys.

    In Orca I can see the RemoveFile table and my file isn't listed in here and doesn't (or shouldn't) change from when it is installed, so is the removefile table the same as the uninstall table or am I going blind?

    The componant doesn't have a 16 anywhere in it apart from the media (because that's all the instructions I could find which would help me do it, to create my own media) and the media last sequence is 1316 but I didn't think that would matter.

    Any other places I can look?

    Thanks.

  9. #6
    meastaugh1's Avatar
    Join Date
    Jul 2006
    Location
    London/Hertfordshire
    Posts
    890
    Thank Post
    69
    Thanked 85 Times in 70 Posts
    Rep Power
    32
    Quote Originally Posted by Cache View Post
    Thanks for the replys.


    The componant doesn't have a 16 anywhere in it apart from the media (because that's all the instructions I could find which would help me do it, to create my own media) and the media last sequence is 1316 but I didn't think that would matter.


    Thanks.
    To clarify, the attributes column stores multiple bits as a byte. Not sure if that's the correct term, but it stores multiple settings as a single value.
    Eg:
    Setting A=1
    Setting B=2
    Setting C=4
    Setting D=8

    So a value of 11 would mean setting A, B and D were enabled.

    Component Table (Windows)

  10. #7
    Cache's Avatar
    Join Date
    Apr 2008
    Location
    Cumbria
    Posts
    1,214
    Thank Post
    454
    Thanked 176 Times in 173 Posts
    Blog Entries
    3
    Rep Power
    64
    Hmmm, will check again when I get chance again tomorrow. This is probably why my head hurts so much and why I was so happy when it installed the file.

    Thanks.

SHARE:
+ Post New Thread

Similar Threads

  1. Remove files from Desktop
    By TechSupp in forum Scripts
    Replies: 3
    Last Post: 17th September 2009, 11:16 AM
  2. Remove files in the recycle Bin at logoff
    By timbo343 in forum Windows
    Replies: 5
    Last Post: 14th November 2008, 06:14 PM
  3. Download ORCA
    By tosca925 in forum Windows
    Replies: 7
    Last Post: 14th May 2007, 07:54 PM
  4. Cannot remove students exe files
    By Andi in forum Windows
    Replies: 16
    Last Post: 2nd April 2007, 08:15 PM

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
  •