473,544 Members | 1,944 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.app lication" (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.d ll, Interop.Microso ft.Office.Core. dll and Interop.VBIDE.d ll
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 1580
SP

"Rick" <za*******@gmai l.com> wrote in message
news:e$******** ******@TK2MSFTN GP15.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.app lication" (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.d ll, Interop.Microso ft.Office.Core. dll and
Interop.VBIDE.d ll 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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
6439
by: jacky kwok | last post by:
Dear All: In VS2005 WebSetup installer InstallAddress dialog, there is field to let user to select which website to install the webapp (if there are more than one WebSite in the IIS). I want to know how can I get the WebStie info in the customAction. I can use "/VDIR=" in customActiondata to get the installed VirtualDirectory.
4
1326
by: sklett | last post by:
I'm having a very frustrating time with the .NET installer project. I can't make it uninstall a previous installation succsessfully. I also need to create an uninstall icon in the program group and can't figure out how to do that. Do any of you know a site where I might find some tips on using the .NET installer? What other installer...
0
971
by: Gary | last post by:
I migrated an old Add-In, which is actually a project in VS2003, to new format comparable with VS2005. However, I didn't find the associated installer anymore. For the old one, I have the .msi file so that I can install it professionally, at least it seems. Here I have two questions: 1. Since my Add-In coexist peacefully, I would like to...
3
1364
by: Pascal Cloup | last post by:
Hi, all the installers that i create with VS2005 (with deployement projects) have a flat look and feel under windows XP (flat rectangle buttons). Even the installers created with VS2003 (and which have a correct appearance) have a flat look once updated with VS2005. Someone have an idea?
5
1546
by: plmanikandan | last post by:
Hi, I need a installer for c#.net application I'm using visual studio 2005,.net2.0 and sql server 2000 My application is windows application. I have two installers in mind 1.Wise installer 2.Install shield installer I don't know which one will be best. Most probably both have same facility. Could anybody suggest me which one will be best,...
3
2204
by: Andrew Chalk | last post by:
VS 2003 had a predefined template for an Installer class. That seems to have disappeared from VS2005. Am I right? Or has it just been moved? Or is it superceded by a new way of doing the same thing. Thanks!
6
3355
by: =?Utf-8?B?Qm8gTWNJbHZhaW4=?= | last post by:
I have a installation package which installs ok when setup.exe is used, but if I try to install via msiexec, I get an error "This installation package could not be opened. Verify that the package exists..." In partidular, I need to be able to uninstall this package unattended from the command line, any suggestions will be appreciated. The...
1
1490
by: MimiMi | last post by:
I have a deployment project that was originally created in VS2003. Since I don't have VS2003, I now open it in VS2005, but then of course VS2005 has to convert it. Everything seems to work fine. I build the project and an installer.msi - file as well as a setup.exe - file is created. Now to the problem: double-clicking the setup.exe doesn't...
0
992
by: =?Utf-8?B?anAybXNmdA==?= | last post by:
I've got Visual Studio 2005 Professional and VB6 installed on this WinXP Pro (SP3) machine. I inherited it when I came to this job, and there are multiple existing projects. I can code and debug all day long in either environment without any issues. Whenever I am ready to deploy a VS2005 project and I select the "Build" option, the...
0
7602
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7764
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7368
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7704
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5904
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4911
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3404
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
983
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
657
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.