This is from the XP Pro machine. The registry entry never gets added to the
XPe Registery.
My component adds 2 Run Keys
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
"Winlogger"="C:\Program Files\Winlogger\Winlogger.Exe"
"ShareIt"="C:\Windows\Shareit.Bat"
The Shareit Reg Entry "IS" imported, however the Winlogger "Never" gets
added. The Winlogger is the one that gets the script error during the build
process.
Here is my component file:
<?xml version="1.0" encoding="UTF-16"?>
<!DOCTYPE DCARRIER SYSTEM "Mantis.DTD">
<DCARRIER
CarrierRevision="1"
DTDRevision="16"
<TASKS
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PLATFORMS
Context="1"
<REPOSITORIES
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<REPOSITORY
RepositoryVSGUID="{DAE2A6E6-CDD1-43DA-AE4A-5DFC67B8BCF0}"
Revision="2"
BuildType="16"
Context="1"
PlatformGUID="{B784E719-C196-4DDB-B358-D9254426C38D}"
<SRCPATH>.\..\..\Windows Embedded
Data\Repositories\Winlogger</SRCPATH>
<PROPERTIES
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<DISPLAYNAME>Winlogger Repository</DISPLAYNAME>
<VERSION>1.0</VERSION>
<DESCRIPTION>Holds the Winlogger Files for XP Embedded</DESCRIPTION>
<COPYRIGHT>CSI</COPYRIGHT>
<VENDOR>CSI</VENDOR>
<OWNERS>CSI</OWNERS>
<AUTHORS>Richard Skinner</AUTHORS>
<DATECREATED>6/7/2004 11:28:52 PM</DATECREATED>
<DATEREVISED>6/7/2004 11:50:46 PM</DATEREVISED>
</REPOSITORY>
</REPOSITORIES>
<GROUPS
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
</GROUPS>
<COMPONENTS
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<COMPONENT
ComponentVSGUID="{593F9FF4-0E05-4E69-AA0B-83751DCB7C06}"
ComponentVIGUID="{AEE79422-E42C-44E2-8928-3256F40F35A5}"
Revision="6"
RepositoryVSGUID="{DAE2A6E6-CDD1-43DA-AE4A-5DFC67B8BCF0}"
Visibility="1000"
MultiInstance="False"
Released="True"
Editable="False"
HTMLTitle="Winlogger Executables"
HTMLFinal="False"
IsMacro="False"
Opaque="False"
Context="1"
PlatformGUID="{B784E719-C196-4DDB-B358-D9254426C38D}"
<PROPERTIES
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<RESOURCES
Context="1"
PlatformGUID="{B784E719-C196-4DDB-B358-D9254426C38D}"
<RESOURCE
Name="File(819):"%16422%\Winlogger","WinLogger.exe""
ResTypeVSGUID="{E66B49F6-4A35-4246-87E8-5C1A468315B5}"
BuildTypeMask="819"
BuildOrder="1000"
Localize="False"
Disabled="False"
Context="1"
PlatformGUID="{B784E719-C196-4DDB-B358-D9254426C38D}"
<PROPERTIES
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="ComponentVSGUID"
Format="GUID"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="DstName"
Format="String"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="DstPath"
Format="String"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="NoExpand"
Format="Boolean"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="Overwrite"
Format="Boolean"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="SrcFileCRC"
Format="Integer"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="SrcFileSize"
Format="Integer"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="SrcName"
Format="String"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="SrcPath"
Format="String"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
</PROPERTY>
</PROPERTIES>
<DISPLAYNAME>WinLogger.exe</DISPLAYNAME>
<DESCRIPTION>Main Executable for CSI Telemetry
Program</DESCRIPTION>
</RESOURCE>
<RESOURCE
Name="RegKey(819):"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curren
tVersion\Run","Winlogger""
ResTypeVSGUID="{2C10DB69-39AB-48A4-A83F-9AB3ACBA7C45}"
BuildTypeMask="819"
BuildOrder="1000"
Localize="False"
Disabled="False"
Context="1"
PlatformGUID="{B784E719-C196-4DDB-B358-D9254426C38D}"
<PROPERTIES
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"<PROPERTY
Name="ComponentVSGUID"
Format="GUID"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
{00000000-0000-0000-0000-000000000000}</PROPERTY>
<PROPERTY
Name="KeyPath"
Format="String"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run</PROPERTY>
<PROPERTY
Name="RegCond"
Format="Integer"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="RegOp"
Format="Integer"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="RegType"
Format="Integer"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="ValueName"
Format="String"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="RegValue"
Format="Expr"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<![CDATA[%16422%\winlogger\winlogger.exe]]></PROPERTY>
</PROPERTIES>
<DISPLAYNAME>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Ru
n\Winlogger</DISPLAYNAME>
<DESCRIPTION></DESCRIPTION>
</RESOURCE>
<RESOURCE
Name="File(819):"%11%","shareit.bat""
ResTypeVSGUID="{E66B49F6-4A35-4246-87E8-5C1A468315B5}"
BuildTypeMask="819"
BuildOrder="1000"
Localize="False"
Disabled="False"
Context="1"
PlatformGUID="{B784E719-C196-4DDB-B358-D9254426C38D}"<PROPERTIES
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"<PROPERTY
Name="ComponentVSGUID"
Format="GUID"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
{00000000-0000-0000-0000-000000000000}</PROPERTY>
<PROPERTY
Name="DstName"
Format="String"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="DstPath"
Format="String"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="NoExpand"
Format="Boolean"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="Overwrite"
Format="Boolean"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="SrcFileCRC"
Format="Integer"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="SrcFileSize"
Format="Integer"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="SrcName"
Format="String"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="SrcPath"
Format="String"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
</PROPERTY>
</PROPERTIES>
<DISPLAYNAME>shareit.bat</DISPLAYNAME>
<DESCRIPTION>Shares Network Drives</DESCRIPTION>
</RESOURCE>
<RESOURCE
Name="RegKey(819):"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curren
tVersion\Run","ShareAll""
ResTypeVSGUID="{2C10DB69-39AB-48A4-A83F-9AB3ACBA7C45}"
BuildTypeMask="819"
BuildOrder="1000"
Localize="False"
Disabled="False"
Context="1"
PlatformGUID="{B784E719-C196-4DDB-B358-D9254426C38D}"
<PROPERTIES
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="ComponentVSGUID"
Format="GUID"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="KeyPath"
Format="String"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="RegCond"
Format="Integer"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="RegOp"
Format="Integer"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="RegType"
Format="Integer"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="ValueName"
Format="String"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
<PROPERTY
Name="RegValue"
Format="String"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
</PROPERTIES>
<DISPLAYNAME>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Ru
n\ShareAll</DISPLAYNAME>
<DESCRIPTION></DESCRIPTION>
</RESOURCE>
</RESOURCES>
<GROUPMEMBERS
<GROUPMEMBER
GroupVSGUID="{755E996A-3FED-4014-ADB5-273AD3FAE53C}"
</GROUPMEMBERS>
<DEPENDENCIES
Context="1"
PlatformGUID="{B784E719-C196-4DDB-B358-D9254426C38D}"
</DEPENDENCIES>
<DISPLAYNAME>Winlogger Component Version 1</DISPLAYNAME>
<VERSION>1.0</VERSION>
<DESCRIPTION>CSI Winlogger - Windows XPe Based Telemetry
System</DESCRIPTION>
<COPYRIGHT>CSI</COPYRIGHT>
<VENDOR>CSI</VENDOR>
<OWNERS>CSI</OWNERS>
<AUTHORS>Richard Skinner</AUTHORS>
<DATECREATED>6/7/2004 11:37:19 PM</DATECREATED>
<DATEREVISED>6/8/2004 2:52:28 AM</DATEREVISED>
</COMPONENT>
</COMPONENTS>
<RESTYPES
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
</DCARRIER>
Richard said:
There is the full version:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"Winlogger"="C:\\Program Files\\Winlogger\\Winlogger.Exe"
Slobodan Brcin (eMVP) said:
Hi,
There is a problem with white spaces. Konstantin and I discussed about this few weeks ago in this NG.
Please attach your reg file so we can confirm this.
Regards,
Slobodan
keys
managed by deleting those problematic keys/values which seemed
not very important. Any help would be appreciated.