The Community is now in read-only mode to prepare for the launch of the new Flexera Community. During this time, you will be unable to register, log in, or access customer resources. Click here for more information.

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

Add Remove Programs - Question

mariusvd
By
Level 2
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

MarcoHeineck
By
Level 5
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

rakeshsoni
By
Level 2
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

MarcoHeineck
By
Level 5
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

rakeshsoni
By
Level 2
Thanks a lot...........
You have really made my life easy,
Thanks again,
Rakesh