Jump to content

Adding Sidebar Gadgets To AutoUnattended


Recommended Posts

Is there anyway to add Sidebar Gadgets to Vista, maybe intergrated or through AutoUnattended XML, i know in WSIM you can add sidebar stuff, i chose this but don't know where to place the gadgets i want to have running when Vista is installed..

Link to comment
Share on other sites


Hi,

Some info that might help you further ;)

Downloaded gadgets can be found here:

%userprofile%AppData\Local\Microsoft\Windows Sidebar\Gadgets\*

Your current Gadget configuration can be found here:

%userprofile%AppData\Local\Microsoft\Windows Sidebar\Settings.ini

For your unattended project:

You can place gadgets in (will be available for all users):

install.wim > program files\windows sidebar\shared gadgets\

To get your custom settings you can use your autounattend.xml or you can make a SFX of your settings.ini.

I use a SFX file with the following parameters:

;The comment below contains SFX script commands

Path=%USERPROFILE%\AppData\Local\Microsoft\Windows Sidebar

SavePath

Silent=1

Overwrite=1

WAIK Help file ;)

Microsoft-Windows-SidebarThe Microsoft-Windows-Sidebar component contains settings for displaying gadgets in a bar that can be located on the right or left edges of the screen. A user can add a gadget to Sidebar by opening the Gadget Picker and selecting from a series of installed gadgets. If the user double-clicks the gadget, it is automatically added to the bar.

Gadgets one through three are pre-set by Microsoft. Corporations may replace these gadgets, or set them to false to hide them.

In This Section

Gadget1

Specifies a gadget that shows a slide show that previews your pictures.

Gadget2

Specifies a gadget that shows a clock.

Gadget3

Specifies a gadget that shows a viewer with headlines from multiple Internet feeds.

Gadget4

Specifies an OEM or corporation-defined gadget.

Gadget5

Specifies an OEM or corporation-defined gadget.

SidebarOnByDefault

Specifies whether Sidebar is on by default.

SidebarVisible

Specifies whether Sidebar is visible.

GR

HJW

Edited by HJW
Link to comment
Share on other sites

example

<settings pass="oobeSystem">

<component name="Microsoft-Windows-Sidebar" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Gadget1>%PROGRAMFILES%\windows sidebar\gadgets\Notes.Gadget,true</Gadget1>
<Gadget2>%PROGRAMFILES%\windows sidebar\gadgets\Calender.gadget,true</Gadget2>
<Gadget3>%PROGRAMFILES%\windows sidebar\gadgets\Clock.Gadget,true</Gadget3>
</component>

Link to comment
Share on other sites

Hi,

Some info that might help you further ;)

Downloaded gadgets can be found here:

%userprofile%AppData\Local\Microsoft\Windows Sidebar\Gadgets\*

Your current Gadget configuration can be found here:

%userprofile%AppData\Local\Microsoft\Windows Sidebar\Settings.ini

For your unattended project:

You can place gadgets in (will be available for all users):

install.wim > program files\windows sidebar\shared gadgets\

Thanks that helps alot.. i figured some stuf out but was putting the gadgets in the wrong folder...

I mounted install.wim then placed them in Administrator\AppData\Local\Microsoft\Windows Sidebar\Gadgets\

and they didn't show up, they never installed, but i will try

program files\windows sidebar\shared gadgets\

Thanks...

example

<settings pass="oobeSystem">

<component name="Microsoft-Windows-Sidebar" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Gadget1>%PROGRAMFILES%\windows sidebar\gadgets\Notes.Gadget,true</Gadget1>
<Gadget2>%PROGRAMFILES%\windows sidebar\gadgets\Calender.gadget,true</Gadget2>
<Gadget3>%PROGRAMFILES%\windows sidebar\gadgets\Clock.Gadget,true</Gadget3>
</component>

I found this ... i may point it to the shared gadgets folder... thanks

BTW. if anyone wants to know you can extract the gadgets with Winrar... :)

Edited by tonycrew
Link to comment
Share on other sites

example

<settings pass="oobeSystem">

<component name="Microsoft-Windows-Sidebar" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Gadget1>%PROGRAMFILES%\windows sidebar\gadgets\Notes.Gadget,true</Gadget1>
<Gadget2>%PROGRAMFILES%\windows sidebar\gadgets\Calender.gadget,true</Gadget2>
<Gadget3>%PROGRAMFILES%\windows sidebar\gadgets\Clock.Gadget,true</Gadget3>
</component>

Doesnt work with the XML

Link to comment
Share on other sites

This is mine taken directly from a working xml. Have you removed something in VLite maybe?

</component>

<component name="Microsoft-Windows-Sidebar" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<SidebarOnByDefault>false</SidebarOnByDefault>

<Gadget1>%PROGRAMFILES%\windows sidebar\gadgets\SlideShow.gadget,true</Gadget1>

<Gadget3>%PROGRAMFILES%\windows sidebar\gadgets\Calendar.gadget,true</Gadget3>

<Gadget5>%PROGRAMFILES%\windows sidebar\gadgets\RSS.Gadget,false</Gadget5>

<Gadget4>%PROGRAMFILES%\windows sidebar\gadgets\PicturePuzzle.gadget,true</Gadget4>

</component>

All good.

Link to comment
Share on other sites

  • 1 year later...

I've always did that and it has been working, but i just found out that i have 3 sidebar.exe processes. If i don't use the shared gadgets location (leaving default gadgets and sidebar untouched) windows sidebar runs normally with just one process.

Anyone has experienced this?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...