Jump to content

Add/Remove Programs Question?


*Reaper*

Recommended Posts

Ok..... I'm going to be creating ALOT of my fav theme addons.....

They will all be uninstallable....(individually that its)

Now.... I don't wan't 50 or more entries in the add/remove programs list in the control panel....

(unless I actually want to see them)

What I'm after is what MrDMX did in his ported vista games addon......

The only way they showed up was if "show updates" was checked, and then it had a header that said

something like "Vista Games" and then under that "folder" (for lack of a better name) had the individual games.....

I would like to do basically the same thing.....

Something like:

Reapers Themes:

yada

yada

yada

etc......

I have looked through the inf of MrDMX's addon and nothing really jumped out at me.....

I would like to know how this is done......

Again.... I know I have been driving everyone crazy with all my questions, but I REALLY DO APPRECIATE

everyone taking the time to try and help me out......

Thanks again everyone......

Link to comment
Share on other sites

Its pretty simple Makave, I use it with my NeroDiscCopy and Kel uses it with his Uber.

The secret is you add these strings to the uninstall registry of your smaller sub programs

[Uninstall.Registry]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\SubProgramName","ParentDisplayName",,"MainReaperProgram"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\SubProgramName","ParentKeyName",,"KeyName"

ParentKeyName=Whatever is after Uninstall\ <-Here

ParentDisplayName=Whatever is afer the "DisplayName",,"*Here*"

Link to comment
Share on other sites

Here is a tip for you makave if you want to make a gr8 theme uninstaller you can prompt the user to change his theme in case the theme he is currently using is the one he currently wants to uninstall

[Uninstall]
BeginPrompt=Change.Theme.First
RunPreSetupCommand=Open.Theme.Dialog
DelFiles=etc etc

[Change.Theme.First]
Title=Theme Uninstaller
Prompt="The following will uninstall the *blank* theme, make sure to change the theme to another if it is currently in use."
ButtonType=OKCANC

[Open.Theme.Dialog]
rundll32 shell32.dll,Control_RunDLL desk.cpl desk,@Themes /Action:OpenTheme /File:"""%16440%\themes\windows classic.theme"""

Link to comment
Share on other sites

  • 2 months later...
Its pretty simple Makave, I use it with my NeroDiscCopy and Kel uses it with his Uber.

The secret is you add these strings to the uninstall registry of your smaller sub programs

[Uninstall.Registry]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\SubProgramName","ParentDisplayName",,"MainReaperProgram"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\SubProgramName","ParentKeyName",,"KeyName"

ParentKeyName=Whatever is after Uninstall\ <-Here

ParentDisplayName=Whatever is afer the "DisplayName",,"*Here*"

Ok.... I got this part working with no problems....

One question is....

Is there any way to specify a particular Icon for the ParentDisplayName

Instead of it using one of the subprograms icons..??

Oh.... I'll get back to the other thread in a bit...... :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...