I understand that the Name displayed while active setup is running comes from the (Default) key. When this is blank the StubPath is displayed instead. When I try to set a value to Default it just creates a new string each time. When exporting a .reg file I see this is stored as @="String Name". The entry I added with a REG ADD script is "@"="String Name".

Is there a way to set the default value via a script? I would prefer a common name to show up rather than "msiexec /fu {GUID} /qn". I could just make a .reg file and silently import that but I figure there has to be a way to do this using reg add??

Thanks.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
I just added these keys to the MST file in a seperate component which avoids the need for any scripting. However, if anyone knows this I would still like to know. Thanks.
Answered 01/03/2008 by: schieb
Purple Belt

Please log in to comment
0
To use Reg Add ... use /ve for the default key
reg add "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\ActiveSetupTest" /ve /t REG_SZ /d "Test" /f

If you want to specify a value name
reg add "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\ActiveSetupTest" /v "StubPath" /t REG_SZ /d "Test" /f

reg /?
reg add /?
Answered 07/18/2008 by: gmorgan618
Blue Belt

Please log in to comment
0
That was too easy. I guess I have always overlooked the /ve option. Thanks for pointing this out, I feel dumb.
Answered 07/21/2008 by: schieb
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity