Run Key

  • Thread starter Thread starter Mule Skinner
  • Start date Start date
M

Mule Skinner

I keep getting this error during the build.
I copied the Key from my XP Pro Machine, but I get this error:


Error 1004: Invalid resource:
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Winlogger"
: (Error 1012 (0x3F4) in "PlatformLib::GetPV3 (Microsoft VBScript
compilation error)
: Invalid property script or expression: "c:\program
files\winlogger\winlogger.exe" (1002: Syntax error))

Is it the C:\Program Files\ thats causing it?

Richard
 
Dear Mule,

You can't copy the key from XP Pro.
You must contact your distributor to get the key.

Best Regards,
Bing Chen
2004.06.08
 
??? I copied a registry key, the run key. But I keep getting an error
during the build stating VBScript - Syntax error...


Under RUN
"Winlogger"="%16422%\Winlogger\Winlogger.Exe"

That gives an error and so does:

"Winlogger"="C:\Program Files\Winlogger\Winlogger.Exe"

I'm not sure why it says there is a Syntax error, because I have it working
on another machine.

More Details....
I created a custom component, which includes the Winlogger files (They get
copied fine)
Inside that component, Under Registery, I add the Run Key and the Value.

Could it be the I'm adding it too early? Should it be moved to the FBA
stage or something?
 
Dear Mule,

Sorry that I make the mistake.

But for your sentences "I'm not sure why it says there is a Syntax
error, because I have it working on another machine."

Does another machine run XPE or XP Pro?

If it runs XPE, check the components difference.

If it runs XP Pro, check needed dlls are included.

Best Regards,
Bing Chen
2004.06.08
 
hi there ,
Even i keep getting these type of errors often when i create my custom components
The TD says they are invalid resources whereas i would be extracting the
from the windows registry. It is only after deleting those registry keys ca
i proceed further. Till now it was never a serious issue because i managed by deleting those problematic keys/values which seemed not very important. Any help would be appreciated

Thanking you
Vaddina Prakash Ra
 
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


prakash437 said:
hi there ,,
Even i keep getting these type of errors often when i create my custom components.
The TD says they are invalid resources whereas i would be extracting them
from the windows registry. It is only after deleting those registry keys can
i proceed further. Till now it was never a serious issue because i managed by deleting those problematic keys/values which seemed
not very important. Any help would be appreciated.
 
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
managed by deleting those problematic keys/values which seemed
 
It's working on a Pro Machine, Also, if I manually enter it into the
registry of the XPe machine it will work, When Target Designer enters my
custom component, it fails.

My Custom Component starts with a "C" and gets built in near the front of
the image. I'm wondering if I should add the key to the registery at a
later time, after FBA? If so, where exactly would I do it?

Richard
 
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}"
</PROPERTIES>

<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):&quot;%16422%\Winlogger&quot;,&quot;WinLogger.exe&quot;"
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):&quot;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curren
tVersion\Run&quot;,&quot;Winlogger&quot;"
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}"
1</PROPERTY>

<PROPERTY
Name="RegOp"
Format="Integer"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
1</PROPERTY>

<PROPERTY
Name="RegType"
Format="Integer"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
1</PROPERTY>

<PROPERTY
Name="ValueName"
Format="String"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
Winlogger</PROPERTY>

<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):&quot;%11%&quot;,&quot;shareit.bat&quot;"
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}"
shareit.bat</PROPERTY>

<PROPERTY
Name="DstPath"
Format="String"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
%11%</PROPERTY>

<PROPERTY
Name="NoExpand"
Format="Boolean"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
False</PROPERTY>

<PROPERTY
Name="Overwrite"
Format="Boolean"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
False</PROPERTY>

<PROPERTY
Name="SrcFileCRC"
Format="Integer"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
0</PROPERTY>

<PROPERTY
Name="SrcFileSize"
Format="Integer"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
32</PROPERTY>

<PROPERTY
Name="SrcName"
Format="String"
Context="1"
PlatformGUID="{00000000-0000-0000-0000-000000000000}"
</PROPERTY>

<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):&quot;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curren
tVersion\Run&quot;,&quot;ShareAll&quot;"
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}"
</RESTYPES>
</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.
 
Back
Top