473,406 Members | 2,710 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Un able to install from click once deployment.

I have a VS 2005 winforms project and am trying to get clickonce deployment
working correctly. I published the deployment to a test server on my
network. It created the publish.htm and from my dev machine I can pull up
publish.htm from the browser and it seems to run OK. However, from a test
machine the installation fails. From the test machine I can pull up
publish.htm with no problem. When I click on the install button I get the
normal prompts such as this cert. is unknown (or something like that), and
another window asking me if I want to run the exe. I make it past all that
OK, then in the midst of the install process I get a error msg titled
"System Update Required". The msg box says "Unable to install or run the
application. the application requires that assembly
Infragistics.Shared.v5.2 Version 5.2.20052.1039 be installed in the Global
Assembly Cache (GAC) first."

The Infragistics v5.2 assemblies are .net 1.1, but that shouldn't matter
here. the run fine in this 2.0 project on the dev machine. In VS 2005 from
the publish tab where I setup the click once deployment, in the Application
files area I set the publish status to Include and download group to
Required for all Infragistics DLLs. Why would they need to go to the GAC.
in the past I've been able to copy all DLLs to a given folder on the target
machine and run the app with out installing anything (a clean client).

What's the recommended solution here?

Thanks.

--
mo*******@nospam.nospam
Feb 21 '06 #1
1 6380
Hi,
The msg box says "Unable to install or run the application.
the application requires that assembly
Infragistics.Shared.v5.2 Version 5.2.20052.1039 be installed
in the Global Assembly Cache (GAC) first."


It appears your click once application referenced that strong named
assembly(Infragistics.Shared.v5.2 Version 5.2.20052.1039), which is located
in the GAC of your dev machine.

In such a scenario, this behavior is as expected. If your project
references a strong named assembly in the GAC, its released application
also needs that strong named assembly in the target client machine's GAC.

If you do not want to install that strong named assembly in the client
machine's GAC, I suggest you try to change that assembly's reference path
of its project:

1. Remove the reference.
2. Copy that strong named assembly to your project's local directory,
3. Add reference with the assembly which in the project's directory to
your project(use Browse.. to locate it)
4. Rebuild your project.

Wish this helps!

Best regards,

Gary Chang
Microsoft Community Support
================================================== ====
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
================================================== ====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from this issue.
================================================== ====
This posting is provided "AS IS" with no warranties, and confers no rights.
================================================== ====

Feb 22 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: zhebincong | last post by:
what is the difference between no-touch and click-once deployment?
4
by: chris | last post by:
hi guys and girls I have 2 problems that are driving me crazy! 1/ I have a front end mde, and back end mdb, that I have packaged and installed successfully in the past on both Win98 and XP...
3
by: Jeremy S. | last post by:
On my dev machine (XP/Pro with VS.NET 2003) I have been developing a Windows Service and installing it on the local machine by opening the Visual Studio Command Prompt and then executing . Now I...
4
by: Ronald S. Cook | last post by:
I created an MSI install for a Windows app I wrote. When installing, however, it defaults to install for "Just Me" instead of "Eveveryone" (meaning anyone who uses this computer). I would like...
3
by: Jordan S. | last post by:
I have a client that has an MS Access application that has outgrown MS Access and it's time to migrate to something more substantial. I'm proposing a .NET Windows Forms application. The client...
9
by: Bryce K. Nielsen | last post by:
I've been using C# Express and couldn't find anywhere to create an installation project, like I could in VS2003. Is this possible with the "express" version of VS? -BKN
7
by: RobofNZ | last post by:
Hi All, I'm having a small issue with deploying my client app.... The msi is ready, I've even created some mst's. but I've been told not to rely on external means of deployment... So I need...
8
by: deciacco | last post by:
I created a deployment project for my .net 2 application in vs 2005. In the properties of the deployment project, under prerequisites i have "Create setup program to install prerequisite components"...
0
by: RobinS | last post by:
"Steve Gerrard" <mynamehere@comcast.netwrote in message news:1t-dnTZeQ4zKaEjanZ2dnUVZ_qWtnZ2d@comcast.com... Sorry for the late response. Been working a lot. So here's the deal with this: If...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...
0
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...
0
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,...
0
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...

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.