ARPSYSTEMCOMPONENT Property: How do I set it?

Got a problem you cannot solve? Try here.
Post Reply
keith
Posts: 39
Joined: Fri Jan 20, 2006 3:38 pm

ARPSYSTEMCOMPONENT Property: How do I set it?

Post by keith »

Hello,

I'd like to set the ARPSYSTEMCOMPONENT MSI configuration property for some of my IA projects. I have been unsuccessful trying to set it from the cmd line (setup.exe ARPSYSTEMCOMPONENT=1) or in MSICode (Set VARIABLE ARPSYSTEMCOMPONENT to 1).

I'd rather not have to use Orca or call MsiSetProperty via CallDLLFunction. How can I get at this property?

Thanks!
bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Post by bokkie »

Keith,

I tried adding the property manually in the msi file Property table using Orca and giving it the value 1 which as I recall suppresses the registration in the ARP although I've never tried it before. Needless to say it was still present in the ARP list. I also tried the value 0 but no difference.

That got me thinking. Could you not achieve the same result by checking the registry where the ARPs are registered and hacking it that way?
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
keith
Posts: 39
Joined: Fri Jan 20, 2006 3:38 pm

Post by keith »

bokkie,

Thanks for the reply. Yes, hacking the registry works to prevent an app from appearing in ARP; I hadn't thought of doing that so your suggestion was very helpful.

Strangely, the key you need to delete is NOT the one named after the Package GUID, but rather the name of the product itself. I suppose this might be so that you could still uninstall from the command line using the GUID.

Keith
bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Post by bokkie »

keith wrote:bokkie,

Thanks for the reply. Yes, hacking the registry works to prevent an app from appearing in ARP; I hadn't thought of doing that so your suggestion was very helpful.

Strangely, the key you need to delete is NOT the one named after the Package GUID, but rather the name of the product itself. I suppose this might be so that you could still uninstall from the command line using the GUID.

Keith
I forgot about that. I remember having to do things 'out of the ordinary' when hacking the ARP list. If you don't have it already, you might want to download Microsoft's installer cleanup utility. It's very useful for removing residual fluff from the ARP.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
Post Reply