Multimobile Development: Building Applications for any Smartphone
Installer error
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.setup.


James
A little background:
I am simply learning how to control the Windows Installer (Setup Projects)
Simple project...install application, gather database info, connect to SQL
Server, execute SQL Scripts, etc...
I also wanted to modify the app.config file.

anyway, I had most of it working...the installer would install my app,
update the database. An uninstall removed my app and then removed database
objects.

I added code to modify the app.config, began seeing the following error.

Error 1001. Exception occurred while initializing the installation:
System.IO.FileNotFoundException: File or assembly name Eastridge, or one
of its dependencies, was not found

I removed the offending code, still get the error. Event log entries are no
good because the error occurs before my code executes (in overriden Install
method)

My project has no dependencies on a file or assembly named Eastridge (that
is the company name). I cannot figure out what the installer is looking
for...if I could perhaps I could resolve this....any ideas?

Thanks

James

Reply to this message...
Vote that this is a GOOD answer...
 
Really good experience at the Apple Store
MonoDroid – looking *awesome*
 
    
James
Found the answer...
I was passing TARGETDIR as a CustomActionData property like this:

installDir=[TARGETDIR]

it needs to be like this:

installDir="[TARGETDIR]\"

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxgrfcustomactiondataproperty.asp

"James" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
Vote that this is a GOOD answer...
 
First volume of Multimobile Development nearly ready to go to press
A mention on Developing for the iPhone and Android: The pros and cons
 
    
Phil Wilson
You probably mean /installDir..... too.
--
Phil Wilson [MVP Windows Installer]
----
"James" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
Vote that this is a GOOD answer...
 
 
    
James
actually yes...

stupid cut/paste...it forgot the "/"

"Phil Wilson" <Click here to reveal e-mail address> wrote in message
news:%Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
Vote that this is a GOOD answer...
 
First chapters of Multimobile Development book now available on Apress Alpha program
iPad
 
 
System.IO.FileNotFoundException




Multimobile Development: Building Applications for any Smartphone
Ad
BootFX
Reliable and powerful .NET application framework.
iOS, Android and Windows Phone Development Training and Consultancy
Hosted by RackSRV Communications
 
Multimobile Development: Building Applications for any Smartphone
Copyright © AMX Software Ltd 2008-2010. Portions copyright © Matthew Baxter-Reynolds 2001-2010. All rights reserved.
Contact Us - Terms of Use - Privacy Policy - 4.0.30129.1734