This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to avoid entry in Add/Remove Programs?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 04, 2009
10:57 AM
How to avoid entry in Add/Remove Programs?
I want to create an installation with InstallShield 2009 (doesn't matter whether it's basic msi or installscript msi) which only serves the purpose of installing a prerequisite -- it has no program files of its own. So, I do not want to make an entry in Add/Remove Programs, and I won't need maintenance.
I know that I can disable buttons in an Add/Remove Programs entry, but how may I entirely avoid making the entry? I suppose I could add script to delete the registry keys right after they're created, but it would be best to avoid creating them in the first place.
Any ideas?
I know that I can disable buttons in an Add/Remove Programs entry, but how may I entirely avoid making the entry? I suppose I could add script to delete the registry keys right after they're created, but it would be best to avoid creating them in the first place.
Any ideas?
(11) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 04, 2009
11:05 AM
Do you create the prerequisite install? Or is it a third party? If you create it, then you should be able to set options like you mentioned. If it's a third party, I don't know how willing they would be to create a package that does not show up in Add/Remove programs. Good luck.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 04, 2009
11:23 AM
It's not the prerequisite I'm worried about, it's the InstallShield setup.exe program that installs it. What I mean is, say I create an InstallShield project called "dummy.ism" that installs the prerequisite -- I'm trying to avoid an entry in Add/Remove Programs for the "dummy" app itself; its only purpose was to install the prerequisite.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 04, 2009
11:41 AM
Perhaps remove or condition out the actions RegisterProduct, RegisterUser, PublishProduct, and PublishFeatures (the ICE82 help is a good cheat sheet).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 05, 2009
12:03 AM
It can be easily achieved through installscript. Just delete the following registry key before finishing the installation :
HKLM\Software\Microsoft\Windows\current version\uninstall\< Your Product GUID>
Deleting this entry will remove the ARP entry.
HKLM\Software\Microsoft\Windows\current version\uninstall\< Your Product GUID>
Deleting this entry will remove the ARP entry.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 05, 2009
09:24 AM
Actually you can find the answer on msdn:
http://msdn.microsoft.com/en-us/library/aa367519(VS.85).aspx
However you need to pay attention to use the property ARPSYSTEMCOMPONENT, which you can find the details in following blogs:
http://blogs.msdn.com/heaths/archive/2005/08/05/the-dangers-of-arpsystemcomponent.aspx
http://blogs.msdn.com/heaths/archive/2005/08/16/a-reason-for-arpsystemcomponent.aspx
http://msdn.microsoft.com/en-us/library/aa367519(VS.85).aspx
However you need to pay attention to use the property ARPSYSTEMCOMPONENT, which you can find the details in following blogs:
http://blogs.msdn.com/heaths/archive/2005/08/05/the-dangers-of-arpsystemcomponent.aspx
http://blogs.msdn.com/heaths/archive/2005/08/16/a-reason-for-arpsystemcomponent.aspx
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 07, 2009
04:35 AM
If you are using InstallScriptMSI project, make sure that you delete "InstallScript_" subkey under the uninstall key.
Regards,
Anitha
Regards,
Anitha
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 08, 2009
12:17 AM
Setting ARPSYSTEMCOMPONENT property to 1 will make the application invisible in add/remove
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 14, 2009
09:55 AM
Can you set that on a prerequisite as well? Typically, if I don't want one of my components or an application to show up in the Add/Remove Programs I set this value to 1. My prerequisites are third party installs that probably don't have this set. I am curious to see if the prerequisite has the ability to set this value. Thanks for the info!
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 16, 2009
04:38 AM
What kind of prerequisites are you using? For all .msi, Using IS direct edit you can change the property table to set ARPSYSTEMCOMPONENT.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 16, 2009
12:58 PM
Generally it's better to pass that in on the command-line. If it's a raw MSI, you can just add ARPSYSTEMCOMPONENT=1 to whatever command-line parameters you are passing. If it's an InstallShield-built MSI invoked from setup.exe, you can add /v"ARPSYSTEMCOMPONENT=1" or similar. However if it's not an MSI based install, or uses different technology, the paramater may be different or unavailable.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 16, 2009
04:46 PM
Thanks for all the great responses.