Deployment :: Dll Files Require Dependencies To Be Identified?
Nov 22, 2009I am trying to create a setup deployment file, but some dll files require dependencies to be identified.
View 1 RepliesI am trying to create a setup deployment file, but some dll files require dependencies to be identified.
View 1 RepliesI have the code
[Code]....
Then while the box pop up I click No button, the program should exit sub but actually it is not. The code looks stick somewhere else. hat I found is that PHP
[Code]....
I had done my project and now I planning to make setup file for my application...During making the setup file,I had encountered this problem: The following files may have dependencies that cannot be determined automatically.
View 2 RepliesMy application (vb.net) sometimes throws an "access denied" exception when attempting to delete files in the AppData folder and I'm not sure why.I confirm that the file exists before attempting to delete it and have not done anything to make it readonly, etcThe interesting thing is that it seems to go okay when I'm logged in with Admin rights
View 2 RepliesHave built a project and associated it with a Setup&Deployment Project. The S&D project needs to contain 2 main folders (under User's Desktop) with various formats of files (xmls, txts, dlls) inside them and several subfolders. How can i copy/import these 2 folders and there sub-files/folders into my s&d project?
When adding them in the usual way, they are copied and defined a source path onto the current pc. You can understand what errors this might create when an another targeted pc does not contain those files to the exact location. Is there any way to copy them locally or somehow import them?
I'm just getting started with Visual Studio (2005), and my aim is to write a fairly simple application in Visual Basic that will need to store some data to disk.What I really want is to be able to send the application to the end users (xp, vista, win7) and have them just be able to use it without having down download all kinds of extras. For example I'm guessing that if I use an SQL database in my application they will need to download SQl server express or some other sql downloadable?
If so is there a similar downloadable for MS Access?I'm just in the 'seeing how things work' stage at the moment and I don't want to waste time going down the SQL track just to find it won't actually work unless my users all download SQL to their machines (which they won't want to do).
I am working in vb2008.TableAdapterManagers are a new feature in vs 2008 and I would like to understand how to use them properly.I have about 30 tables in my database that are unique to themselves and donot link to other tables.I have created a dataset.xsd in my solution and dragged in my database tables of interest.A unique datatableadapter has been identified in the dataset1.xsd for each datatable.Rather than using the identified datatableadapter for each datatable operation, should I be using the dataadaptermanager for each unique table?
View 1 RepliesI'm having problems with coding in VB 2010 Express. One of the many errors I am dealing with is the user interface form. It says it's a component, so I have to use it in a form.
View 2 RepliesI recently upgraded from vb.net 2003 to vb 2008. I see that when I "Build" the application all of the program files are generated, must like with vb.net 2003. When I use the ClickOnce publish approach, a set of files are generated including the setup.exe. When I double click on the setup file, the program installs deep down in My Documents. If I navigate to that location there is a complete set of my application files along with some Manifest files and a Manifest folder.
I wish to package my program for installation using INNO Setup Compiler, because it is very flexible and allows me to add information and choices through the installation process. My question is - if I package the "Publish" set of files, should I be including the files that are generated and located in the "Manifest" folder? and if so, do these files need to be located in their own folder as was installed on my computer? Or can I simply add them to all of the program files?
I am using vb.net express 2008, with a windows form application, and its done. My application makes use of cmd script files, and other files I have created myself. I want to put everything in an install bundle, which will copy the files to a directory on the users computer, and then my application can read from that directory, for it to function as it should. The install bundle includes the .exe of my winforms application.Right now, I hardcoded my application to look into a specific folder on my system, just for testing purposes, but I am going to deploy it soon, and I want to give as much flexibility to the user.
View 2 Repliesi'm like kinda making my own installer, creating directory's & registry stuff works fine. But now I need a method of copying files in my projects resources to the hard drive. [code]
View 1 RepliesClickonce deployment 'Publish succeeded,' however not files are uploaded to the server, and the deployment webpage does not start, even though 'automatically generate deployment web page after every publish' is enabled.The problem began after copied the application from running on 'XP' and tried to publish from vista.
View 1 RepliesI have my program which does not need to be installed, and i have made a .chm. but how can i integrate it into the program, or make it so that when the user opens it, it can actually find the file, because it works on my computer as it says: Process.Start "C:Program.chm" But it doesnt work on other computers becasue the file does not exist.???
View 1 RepliesI use VS 2008 Standard. If I do a QuickOnce deployment after resetting Application Files in the Publish Tab I get a bunch of messages saying that various files are not in the GAC. To solve this I change the Publish Status from Prerequisite (Auto) to Include and set Download Group to Required. Then when I install the application I get the splash screen and then the message that the application has stopped working. There was a workaround posted to delete /bin/obj/.cache etc, but I have no /bin/obj/ folder.
View 1 RepliesI have good working application on XP, but once I installed it on Win 7 i gor prroblems moving file from one directory to anopther.
View 5 RepliesI (through a ton of help from everyone here at stack-o) have created a small WCF which is hosted as a Windows service using TCP..Last question for this little bugger; it's time for deployment. In my solution, there are 3 projects. One is the Windows service, another is the imported WCF, and finally a setup project I added for install.I can install/uninstall the service on my machine by going in the solution directory and finding "Setup.exe" or "Setup.msi". Executing either from explorer will install the service on my development box.Now there are a few directories associated with this solution. I'm betting that simply copying setup.exe or setup.msi to my target server and trying to run it will bomb out. How can I find out exactly which files/folder I will need to copy over for deployment?Or should I just copy the entire solution directory? That will be a little difficult for my coworkers as the setup routines are nested in directories 5 deep.
View 3 RepliesI am creating a setup file using features brought by Visual Studio.I have some files which can't be removed from the application's folder. How to put the condition on it? or how to prevent user moves it after installation is done?Those files are critical (eg .dll).I already set the 'Hidden' property to 'true', but I think that is not the correct way :)So I try to find another way to do that.
View 1 RepliesHi, can anyone help me with a click once deployment query?I have packaged an application, using Click Once - it all works absolutely fine, with the exception of some files I need on the C: drive. For example: My application populates an Excel.xlt template with data, using an export function. The path of the template is c:program filesaem
eport.xlt
If the application is packaged, there is no option that I can see where you can include this template and the path to the file. The only way around it is to manually copy the template (and half a dozen other files in the same folder), after the click-once deployment - but this kind of defeats the object.
i am getting "Unable to retrieive application files. File corrupt in deployment" on clickonece technology
Log:-
SOURCES
Deployment url : http://192.168.1.1/Employee/emp.application
Server : Microsoft-IIS/6.0
X-Powered-By : ASP.NET
[Code]...
I have created deployment package for VB.Net appolication and it runs fine. When setup is rnning, I want deployment package to move a file from bin folder to other specific folder. how can I move this file to specific folder.
View 1 RepliesI am deploying my application on a 64 bit windows 7 system (setting the platform property to x86) , after the installation process the app needs to set its connection string in the config file; and this is where I am having issues, the app is not able to write to the config file if/when its located under the program files directory (no admin privileges??), the app works fine when installed on a public folder.Please let me know how to give admin or write access to my app when its installed to the default program files directory
View 2 RepliesI am deploying sql express as a prerequisite. I have created a custom prerquisite using bootstrap manifest generator. The problem I have is replacing the template.ini file which exists in the sqlexpr32.exe cab file. Winrar and winzip allow me to open the sqlexpr32.exe but will not allow me to edit, add or replace the template.ini.I also cannot find the path where the sqlexpr32.exe extracts to as I want to use that path for the settings file eg "template.ini".[code]
View 1 Repliesi'm developing an application vb.net with mssql server as database. on my pc it works. but i don't know how to make it works on my customer's pc.anybody have some tutorial regarding the creation of a setup and deployment project with ms sql server.my first doubt is: how can i determinate the right connection string?
View 1 RepliesI have a windows app that uses the shape control which is part of the MS power pack and requires Microsoft.VisualBasic.PowerPacks.Vs.dll. I am using Publish to build my app and I have tried to change the dll to Include in the properties page but nothing seems to work.
I need a way to have the file included and I am unable to find a external copy and I understand that I cannot just copy the dll from my PC into the installation folder
Consider we have 3-tier app and have got three projects named P1, P2, P3.
Dependency: P1(Data) << P2(Business Logic) << P3(Presentation)
P2 has got a base class X that was inherited in an other class Y in P2. So, we add the ref P1 to P2. However, P3 uses P2.Y and doesn't use P1.X directly.
To do this we have to add ref P2 to P3. But there is a difference between VB and C#.
In VB, we add ref P2 only to P3. P2 uses P1 but it doesn't matters for P3. We don't need to add ref P1 to P3. This is enough!
But, in C#, we have to add ref P1 and P2 both to P3 even if the P3 doesn't use P1.X . If you don't add ref A to C you get the error below:
The type 'P1.X' is defined in an assembly that is not referenced. You must add a reference to assembly 'P1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
Why must we add two projects in C#?
This is my first vb.net project and I am curious how am I suppose to know what dependencies will be required by the client. I had them download the .NET framework and that didn't seem to help. How do I know if I need something extra?
View 12 RepliesI have a list of functions that I'm using throughout my .net application. Is there a way that I can include a file into the pages that require the functions without having to copy and paste the functions to each individual page?
The large majority of pages I've found on MSDN are either toward people who are already familiar with .net to those who have never programmed before and just starting. I haven't been able to find one for people who are versed in programming and just need a list of functions and methods.
how to add External dependencies .lib file in vb.net
View 2 RepliesIs there any way to check if my application really has any dependencies?
View 3 RepliesI'm trying to read all dependencies of one dll file in a known path. To do this I'm using reflection as this code shows:
For Each AsmName As AssemblyName In asm.GetReferencedAssemblies()
Try
Log += AsmName.Name & " : " &
[Code].....
All files that starts by IM2_ are the files what i want to get the path.
I've observed that the files wich can't find has PublicKeyToken=null. I've googled by this and it's because I didn't serializaed the classes when were compiled.
The target is get all filepath of all dependencies of a dll file.