Using InstallAware to Create an Installation Package but Getting an Error


Using InstallAware to Create an Installation Package but Getting an...
Author
Message
Terry Bottorff
Terry Bottorff
StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)
Group: Forum Members
Posts: 448, Visits: 12K
I create my installation package but I get the following error when I try and run my software on Client Machine.

ApplicationException
  An error occurred while creating the main form
TargetInvocationException
  Exception has been thrown by the target of an invocation.
FileNotFoundException
  Could not load file or assembly 'ProRodeoChecksLibBO, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

Source     : MicroFour StrataFrame UI

Stack Trace:
   at ProRodeoChecks.MainChecksfrm.InitializeComponent()
   at ProRodeoChecks.MainChecksfrm..ctor()
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at MicroFour.StrataFrame.Application.StrataFrameApplication.RunApplication()

It seems like it can not find the BO Library, but I did copy the entire Subdirectory into the Installation Package. It also shows up on the client machine.

What am I overlooking? I am using a laptop that just has all of the required software to run SQL Express and all of the required .Net stuff.

TIA.
Replies
Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
You are welcome Terry.

Terry Bottorff (10/9/2012)
...I generate the XML for the messages. I copy the XML's into my project subdirectory or a folder in the subdirectory

What I do is that in the Localization project, in the Output Path, I enter the same path as expected by the VS project, so when you "Generate XML", it will be already in your VS project so when you build your VS project the localization files will be there.  i even create a folder in the VS project named "Localization Files"

Edhy Rijo

Terry Bottorff
Terry Bottorff
StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)
Group: Forum Members
Posts: 448, Visits: 12K
Whoa what you just said went over my head. I will have to look at that alot closer to see if I can figure out what you said.

I appreciate your help and will let you know if I can not figure out what you said. Thanks again.
Terry Bottorff
Terry Bottorff
StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)
Group: Forum Members
Posts: 448, Visits: 12K
What I do is that in the Localization project, in the Output Path, I enter the same path as expected by the VS project, so when you "Generate XML",

Can you explain a bit more on the above? I copied the XML files into a subdirectory called "Localization Files" and I embedded the files into the exe. I removed the following and my messages seem to work at least on my development machine but I have not tried it yet on the client's laptop. Soon for that.

MicroFour.StrataFrame.UI.Lcalization.MessageXmlPath = "../../messages"

But I do not understand the Output Path?

TIA.
Terry Bottorff
Terry Bottorff
StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)
Group: Forum Members
Posts: 448, Visits: 12K
Just tried new install on Client's laptop and All Seems to Work. Thank both of you for your excellent help.

Edhy I still would like to know about my previous question.
Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Terry Bottorff (10/10/2012)
Just tried new install on Client's laptop and All Seems to Work. Thank both of you for your excellent help.


Well, isn't that a good feeling Hehe Congratulations!!!!

Edhy Rijo

Terry Bottorff
Terry Bottorff
StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)
Group: Forum Members
Posts: 448, Visits: 12K
Yes Sir Re Bob!!!!!!!
Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Terry Bottorff (10/10/2012)
But I do not understand the Output Path?


No problem, let me be a bit clear:
In the Localication and Messaging Editor, when you create a project, it will ask you for the "Output Path" where you want the localization files to be created.  Here I enter the same folder ex: "E:\Visual Studio 2008 Projects\StrataFrame\Card Tracking System Projects\CardTrackingSystem.NET\Localization Files" as I used in my VS project.  This way, when I modify my messages in the Localization and Messaging Editor, and then then click the "Generate XML" button, the files will be where expected by my VS proeject, so I don't have to manually copy those files over, or worse, forget to copy them until the customer call reporting the error w00t

Edhy Rijo

Terry Bottorff
Terry Bottorff
StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)
Group: Forum Members
Posts: 448, Visits: 12K
OK I do understand that. But, does that not mean you have to ReCreate all your messages from project to project? If your messages are pretty much the same from project to project how do you reuse the XML or Messages?

Thanks for the help.
Michel Levy
Michel Levy
Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)
Group: StrataFrame Users
Posts: 193, Visits: 9K
Hi Terry,

define all common messages and texts in the Common repository, in the Messaging Editor. And in the settings of the Messaging project, check "Include Common Repository". Common messages will be saved in the xml file of the project.
Terry Bottorff
Terry Bottorff
StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)
Group: Forum Members
Posts: 448, Visits: 12K
Oh, so much to learn and so little time. I am just starting to use the Messaging system. Is there a way to use the xml that I have at this point and make it the common repository?

TIA.
Michel Levy
Michel Levy
Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)
Group: StrataFrame Users
Posts: 193, Visits: 9K
the xml istself, I don't see any way to load it. But if you have an xml file, you have a project. Open this projetc in the messaging editor, and right click on the message or the category, last contextual menu is "Move to", then select the Common Repository as the target project.
Terry Bottorff
Terry Bottorff
StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)
Group: Forum Members
Posts: 448, Visits: 12K
Cool I can do that. Thank you and all for the great help. This entire segment has been a "Perfect Storm of Learning" for me. Your all great.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Terry Bottorff - 13 Years Ago
Edhy Rijo - 13 Years Ago
Terry Bottorff - 13 Years Ago
Trent L. Taylor - 13 Years Ago
Terry Bottorff - 13 Years Ago
                         Hi Terry, I prefer to have my messages stored in an XML file included...
Edhy Rijo - 13 Years Ago
                             Hi Terry. Just adding to Edhy's message, don't forget to set the XML...
Ivan George Borges - 13 Years Ago
                                 [quote][b]Ivan George Borges (10/9/2012)[/b][hr]Just adding to Edhy's...
Edhy Rijo - 13 Years Ago
                                 Alright I think that answered one of my questions because I was going...
Terry Bottorff - 13 Years Ago
                                     You are welcome Terry. [quote][b]Terry Bottorff...
Edhy Rijo - 13 Years Ago
                                         Whoa what you just saidwent over my head. I will have to look at that...
Terry Bottorff - 13 Years Ago
                                         What I do is that in the Localization project, in the Output Path, I...
Terry Bottorff - 13 Years Ago
                                             Just tried new install on Client's laptop and All Seems to Work. Thank...
Terry Bottorff - 13 Years Ago
                                                 [quote][b]Terry Bottorff (10/10/2012)[/b][hr]Just tried new install on...
Edhy Rijo - 13 Years Ago
                                                     Yes Sir Re Bob!!!!!!!
Terry Bottorff - 13 Years Ago
                                             [quote][b]Terry Bottorff (10/10/2012)[/b][hr] But I do not understand...
Edhy Rijo - 13 Years Ago
                                                 OK I do understand that. But, does that not mean you have to ReCreate...
Terry Bottorff - 13 Years Ago
                                                     Hi Terry, define all common messages and textsin the Common...
Michel Levy - 13 Years Ago
                                                         Oh, so much to learn and so little time. I am just starting to use the...
Terry Bottorff - 13 Years Ago
                                                             the xml istself, I don't see any way to load it. But if you have an...
Michel Levy - 13 Years Ago
                                                                 Cool I can do that. Thank you and all for the great help. This entire...
Terry Bottorff - 13 Years Ago
Trent L. Taylor - 13 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search