Topaz Filer - Email filing software
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...
 
Double-click to open VS solution with elevated permissions on Windows 7
New BootFX DBGet build available
 
    
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...
 
Twitter and Snow… simple #uksnow
Windows 7 compatible tool for mounting ISO images
 
    
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...
 
Introduction to BootFX’s Object Relational Mapping Functionality article now live on CodeProject
Xenu Link Sleuth
 
 
System.IO.FileNotFoundException




Topaz Filer - Email filing software
Ad
BootFX
Reliable and powerful .NET application framework.
Looking to invest in a major software project? Technical and commercial advice available here.
Other Helpful Sites
MBR 247
Topaz Filer
SharePoint Email Filing
Software Advisory Services
 
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