473,791 Members | 2,899 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 1588
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
6461
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
1337
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 (if any) integrate into VS2005 as well? Does Installshield work well with .net assemblies and...
0
980
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 give user the option to choose if they want to install 2003 version or 2005 version. Is it possible?...
3
1376
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
1561
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, as i'm planning to
3
2215
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
3366
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 version of msiexec.exe is 3.1.4000.1823, msi.dll is 3.1.4000.4039
1
1505
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 work! It gives me the error "An error occured while downloading a required file. You may retry...
0
1005
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 Windows 3.1 Installer comes up, it prompts me for my Visual
0
9669
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9515
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10207
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10154
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 most users, this new feature is actually very convenient. If you want to control the update process,...
1
7537
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5430
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4109
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3713
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2913
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.