469,133 Members | 1,413 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,133 developers. It's quick & easy.

Installer in VS2005

Hi guys, i made an app using C# (vs2005) and i added some references to MS
Excel in my project, when i try to install the app in a machine it begins
but at some time it says "Cant find file My_App_Name.application" (that file
exist at the directory when im publishing the installer), the closes itself,
but i can execute my app because there are a shortcut in desktop, my problem
is my app is not installing necesary dlls to work, and in my project
properties -> publish ->Application Files it has in Download Group column
Interop.Excel.dll, Interop.Microsoft.Office.Core.dll and Interop.VBIDE.dll
as Required and in Publish Status column as Include(Auto) all them.

but the specific report that uses excel doesn't works, it crashes, whats
wrong in my publish configuration?? or how can i make an installer like VB6
style to include all dlls?

Thanks all.
Jan 2 '06 #1
1 1434
SP

"Rick" <za*******@gmail.com> wrote in message
news:e$**************@TK2MSFTNGP15.phx.gbl...
Hi guys, i made an app using C# (vs2005) and i added some references to MS
Excel in my project, when i try to install the app in a machine it begins
but at some time it says "Cant find file My_App_Name.application" (that
file exist at the directory when im publishing the installer), the closes
itself, but i can execute my app because there are a shortcut in desktop,
my problem is my app is not installing necesary dlls to work, and in my
project properties -> publish ->Application Files it has in Download
Group column Interop.Excel.dll, Interop.Microsoft.Office.Core.dll and
Interop.VBIDE.dll as Required and in Publish Status column as
Include(Auto) all them.

but the specific report that uses excel doesn't works, it crashes, whats
wrong in my publish configuration?? or how can i make an installer like
VB6 style to include all dlls?


I just dealt with this last week so here is my take on it. Publish is using
the ClickOnce method of deployment and is installed in a very different way
than using an MSI. I found it easy to mismatch things mainly because of the
security model. For example you have to resign the manifest if you change
files etc. Click Once has some great features but you must understand it
well. I ended up using the Setup and Deployment project that creates a
traditional MSI. Both Click Once and the Setup and Deployment have the
prerequsites option to include the framework, SQL Server Express, MDAC etc
which can be downloaded from Microsoft's website so that you can keep the
installation file small. My SQL Server based application with a large sample
database and extensive help files was a 20Mb file.

HTH

SP
Jan 2 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by sklett | last post: by
reply views Thread by Gary | last post: by
3 posts views Thread by Pascal Cloup | last post: by
5 posts views Thread by plmanikandan | last post: by
3 posts views Thread by Andrew Chalk | last post: by
6 posts views Thread by =?Utf-8?B?Qm8gTWNJbHZhaW4=?= | last post: by
reply views Thread by =?Utf-8?B?anAybXNmdA==?= | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.