Community Forums
Results 1 to 5 of 5

Thread: Add Remove Programs - Question

  1. #1
    Join Date
    Aug 2002
    Posts
    1

    Question Add Remove Programs - Question

    I need to know how to not have my package be made available in the add/remove programs in Control Panel. I don't want users to be able to UnInstall it except for authorized users that will run the .msi file again to remove/repair it.

    Thanx
    Mario

  2. #2
    Join Date
    Apr 2002
    Location
    Bristol, UK
    Posts
    193
    Hi,

    Simply set the ARPSYSTEMCOMPONENT property in the Property table to 1 to avoid showing your program in the user's Add/Remove Programs panel.

    You can still repair the application using this command line: msiexec /I [PRODUCTCODE]

    Hope this helps,
    Marco

  3. #3
    Join Date
    Oct 2002
    Posts
    4
    Great question coupled with great ans!!
    I too had the same query but can you tell MarcoHeineck whether I would still be able to uninstall the product by invoking IDriver.exe passing product code as the parameter(as it actually happens)??
    Regards,
    Rakesh

  4. #4
    Join Date
    Apr 2002
    Location
    Bristol, UK
    Posts
    193
    Sure,

    Usually Msiexec.exe \x {PRODUCT_CODE} does the trick.

    However this doesn't always remove everything for a standard project, it's better to use the /m switch:

    IDriver.exe /M{Your Product GUID}

    You can even create an uninstall shortcut for a Standard project this way.

    Enjoy,
    Marco

  5. #5
    Join Date
    Oct 2002
    Posts
    4
    Thanks a lot...........
    You have really made my life easy,
    Thanks again,
    Rakesh

Posting Permissions

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