cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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:eek:
(4) Replies
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
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
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
Thanks a lot...........
You have really made my life easy,
Thanks again,
Rakesh