Error 1004: Invalid resource: "MassBalanceGUI.exe"

M

Mkr

Hello All,

I added my component into component database. I created this component
based on MSDN topic "Creating a custom component". This component
is an exe developed in VC++ and release version.

I have following warning and error,

Warning 1116: Building unreleased component: "Mass Balance [Version
1.0, R2]"

Error 1004: Invalid resource: "MassBalanceGUI.exe"



I have my repository right to be admin and have full write control. Any
suggestion over coming this problem.

I am stuck

Mkr
 
B

Brad Combs

Mkr,

What kind of resource is it? Is it a Run-Once, a Shortcut, etc...

If it's a Run-Once make sure that all the necessary fields are filled out
properly. (aka, file path, and value name) If the resource is a Shortcut
take a look at how they are configured in the Microsoft components and mimik
that.

HTH,
Brad
 
M

Mkr

Brad,
My idea is to boot this application on the target board. The
"MassBalanceGUI.exe" is executable and its 24Kb size.

This is the warning and error I get
Warning 1116: Building unreleased component: "Mass Balance [Version
1.0, R2]"
Error 1004: Invalid resource: "MassBalanceGUI.exe"

Thanks

Mkr
 
B

Brad Combs

Hi Mkr,

In the component that you created named Mass Balance [Version 1.0, R2] there
is a resource problem with the resource named MassBalanceGUI.exe. The
problem isn't that the file is not found or you would get a different error.
The problem is in the properties of the resource itself. Can you copy the
information that you put in any of the components resources into this thread
and maybe we can figure out the problem.

HTH,
Brad
 
M

Mkr

Brad,
The properties of this component called "Mass Balance" are as follows,
Name : Mass Balance
Description : nil
Revision : 2
Packages : None
Catagories : None
Visibilty : 1000

I hope these are the details you need.

Thank you

Raghu
 
M

Mkr

Mkr said:
Brad,
The properties of this component called "Mass Balance" are as follows,
Name : Mass Balance
Description : nil
Revision : 2
Packages : None
Catagories : None
Visibilty : 1000

I hope these are the details you need.

Thank you

Raghu

Brad,
Please discard the previous posting if it is useless. I beleive you
where asking about the properties in CD for the component. Hence I did
the below exercise,
I added Runonce, and FBA/DLL but don't know what properties to set.
I am not using any external DLL, but there are some DLL or COM
associated with the exe during run time. I have the VC++ runtime in the
dependency check and image build.

What should I do now.

Thanks

Mkr
 
M

Mkr

Brad,
Here are the extended properties I had set for RunOnce,
FileName : %30%\MassBalanceGUI.exe // I am
used "Boot" in path so that I can directly start the app when the board
boots up
Flags : 0
// Always run once the user logs in
ValueName : MassBalanceGUI // Is
this parameter "CORRECT"

I hope this should not cause "Invalid resource" issue.

I am not able to delete the old component. What should I do. I am
building another slx file and then adding this compnent to the image.
This is not the proper way, but is there a better way.

Raghu
 
B

Brad Combs

Hi Mkr,

I recreated a component here with your settings but I couldn't reproduce the
problem. There is one thing I'm unclear on , does "I am used "Boot" in path
so that I can directly start the app when the board boots up" mean that the
filepath looks like:
"%30%\MassBalanceGUI.exe boot"?

Also, if you can attach the SLD so I can take a look at it, or email it that
would be nice too.

HTH,
Brad
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top