Application Cannot Publish As It Cannot Find Files
Dec 1, 2010
VB.net 2008 build and publish.The application cannot publish as it cannot find the files. I down loaded the MS exe that installs it, but, I need to load them into the same folder as the install package.I looked at the folder: Microsoft SDKs/v6.0Aootstrapper/packages and transferred the folders but they do not contain the files.One of the errors on build is as follows <error> Error32The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35dotNetFX30NetFX30a_x86.msi' in item '.NET Framework 3.5' can not be located on disk. See Help for more information.WindowsApplication1.
I have added some files that I need to be downloaded to the Application start up path. So I set Build Action as content now the files have been copied some where [code]...
I have VB project and I tried to use PUBLISH feature.It seems to create nicely some kind of setup program, but the setup program does not ask where to copy files (it does not seem to copy filesto target machine "PROGRAM FILES".)Is this setup program somehow different from usual installers?
NOTE: I want that app files are installed to Hard disk( from USB stick source)Is the signing recommended or necessary? My App is pretty simple, its just using access DB + printer api, should I still sign?
I'm trying to find a good strategy to access data files, image files, etc., that I want to distribute in my VB.NET deployment. The challenge I'm having is to find a place to put the files, and a means for the program to find them, regardless of whether the program is running in the Visual Studio environment as a debug build or release build, or running as an installed application.I've considered using AppDomain.CurrentDomain.BaseDirectory to find the location of the EXE file, then using relative paths to that folder. However, that approach depends on the directory hierarchy imposed by the Visual Studio tools when it separates the binaries of debug and release builds. Both builds would have to navigate upward to reach a common root folder, and the path traversal algorithm must work for the deployed EXE file too.
I am doing the POS system. I have one database only. When i run the program in the VB.net Application, it has no error, the program work fine. But after i publish it and install into my computer. I run the program, it still can work when in the login part, it can retrieve the database in the login part but cannot work in the Sales part.. I really have no idea on what is wrong with my database connection. I have try many way but fail. hope someone can give me some direction. below are the error message and detail it gave me. The error message pop out.
I can't get VB.Net to publish my current project, it can't find SETUP.BIN.It looks for SETUP.BIN in the directory where I have my application, not Program Files Windows SDK .. etc.If I move the ENGINE directory of the SDK path to my directory, it finds SETUP.BIN but not SIGNTOOL.EXE I've got VS 2008 on XP Pro SP2 using .Net 2.0 and Oracle - It all works fine with a BUILD out of VS 2008.
I created a hangman game and It works well when I debug, but when I publish and place it on my son computer, when you guess a letter wrong it shows an error and says it can't find the images. I just it is something that I'm doing wrong but I don't know what. Some of the thing that I have tried is including the images in resources. I believe that it has something to do with the startup path, the path that the images are looking for does not exist. The installer installs the program in the programs file
Private Sub ShowPicture() Dim strImagePath As String strImagePath = Application.StartupPath & "imagesfig" & intNumWrongTries + 1 & ".gif"
I made an application which controls the parallell port and i want to publish it so i can install it in other PCs.The app i made uses some libraries or .dll files which i copied manually to the C:/WINDOWS/system folder.When i use the option Build>Publish Project.. i can create an installer but it doesnt install the .dll files.My question is:¿Can i create some sort of installer that includes those files into the system folder, or should i always manually copy them?
I have a settings.ini file in the root folder of my application. Where in the project settings do I set it so that when i publish the project that this file goes with.When installed the settings.ini file must sit in the same folder as the .exe file.
The photos are located in : inDebugphotos this works fine and loads images when I run the program.But after I publish, it can no more locate the files and I receive an Error:
Is there a way I can publish *.ascx files without adding them to my project?I am trying to make my user controls in Visual Studio 2010 reusable. I have a project containing my user controls called ControlsLibrary solution directory. I copy the ascx files to the web directory upon building the project with build events.I use the command copy "$(SolutionDir)ControlLibrary*.ascx" "$(ProjectDir)controls"
This copies the *.ascx files from G:/SolutionDirectory/ControlsLibrary to C:/Inetpub/wwwroot/WebProject/controlsNow when I publish WebProject, the publish does not copy the *.ascx files from C:/Inetpub/wwwroot/WebProject/controls to my website. This is because they are not added to my project.
Is there a way I can publish *.ascx files without adding them to my project?I know there is a way to publish all files by selecting the option "All files in this project." That includes more files than I want.
What files do I need to include when I share my published VB form. I see in the "Application Files" folder there are all my version that I have published. Do I need to include all these or just the most resent with the Setup.exe?
When I publish the program. Is there any way to get VB to publish the text files with the program so that no errors can occur. When I install and run the published program I get a series of errors relating to text files that are not found.
I have finally finished an application which works really well on the PC upon which I developped it using VB 2008 Express.My problem is that when I publish it and try to install the ClickOnce output files on another PC (tried two so far, both WinXP) I get a missing files error. There is an error output saying that downloading the .exe.manifest file did not succeed. Unfortunately the error detail is confusing and does not seem to indicate exactly which files are missing.On both of the PC's that I tried I was prompted io install .net 3.5 SP1, which seemed to have been successful. The inference is that it is not a .net file that is missing.
I'm a beginner with Visual Studio and a Mac user switching to Windows. Well, I'm ready to release the first freeware title. So I go to Build > Publish (application name). And the Publish Wizard guides me through the process and asks me where to publish this application. Do I point it to C:Program Files ? The permission of this folder is set to Read-only. So I'll get an error with this path. I can successfully publish the application if I point the path to Desktop. But that's not a good location where users install applications, is it?
My click-once app has english and spanish content. In development, it runs fine with the two resource files I have - named multilingual.en-US.resx & multilingual.es-MX.resx accordingly. When I publish it looses these resources for referencing.The files reside in the root directory for the app.
I am nearing the end of my journey with the application i have spent the last few months working on.
Now my question is this...How do you go about making an installer? Obviously i am sure you have worked out now i mean the exe you click and choose instalation folder/desktop short cut or not/add to start menu. accept the agreement etc
Now i know vb.net has a publisher that i have looked at but is that the same? how to make my application have an installer.
i have problem in C# window platform i have to publish a application by doing some alteration i have 5 licence key when i enter those licence key, then that should get copied to the application2, form1 5 textboxes in application1 their i am using button by clicking on that button it should publish application2
and when i give only 3 licence key from application1, then it should copy those 3 licence key to only 3 textboxes of from1 in application2 and by clicking on the button which is in application1 the application2 should get published by change how should i do this or is their any other way so that i can do the above procedure
I have creating timekeeping application, I was used drag and drop for my datagridview. During build I can add, edit and delete records. But when I published and run there was an error saying (see below).
I have consume for almost 2 days to fix this problem but no luck.
I have developed an application in VS 2010 and now need to deploy it accross 10-15 PCs. I am publishing to a server where the other PCs will download it from. Only the PC I developed it on successfully installs the application. The others install it but it will not run. As a test, I installed it from the server on to the PC I developed it on, which worked fine. What may be causing it to install but not run on the other PCs? Also, I tried copying the visual studio solution to another PC and installing it locally but when I try to debug on any other machine, I get errors with the auto-generated code that deals with the controls that appear on my form.
The Errors are: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Cannot get the file path for type library "00460180-9e5e-11d5-b7c8-b8269041dd57" version 1.3. Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))Vb7TestApp The referenced component 'AxDSOFramer' could not be found. The referenced component 'DSOFramer' could not be found. All references from the project on the other machine are present so this is not the issue. The form will also not load in design mode. instead I get the class not registered error.
I'm tired of how to make my application stand-alone exe. I have created a small application console using C# in visual studio 2010, and I want to make it run on other computers with out having to install .net on that machines. and also make it just like notepad.exe with just click and it will run. I've read a lot of articles talking about netz or ILmerge.exe or mono which is so difficult to me to understand. and another question is how to know how many .net files or dll s that my application needs?
how to properly publish my application to the Internet, so that i can upload the new version, and upon opening, the application will replace the existing one with the new version?
When i run the application, that pops up in yellow with an error message, how do i fix it. I'm looking at creating an IRC client that's embedded in my application. If you are able to create it even, you will be given credits, and are able to do whatever you like with it (I'll be determining its size and positioning inside my App of course) You need to be able to CHOOSE your Channel.. the client will be connecting to the Swiftkit IRC server.
I'm having some trouble sharing my application to other PC users. I have tried to Build my application and Publish my application into a folder, zip it, and put it on my website for people to download, but when they try to run the setup file it gives an error message saying they need to download "Mysql.Data V 6.4.4.0", which makes sense seeing how I have a resource that uses this. Do I need to use a different method to pack my application or what? I don't quite understand how I can incorporate this into the files so the end-user doesn't need to do any other downloading than my file.
I got the problem to play flash file in my vb.net application.I am using .net 2008 express to publish my window application.I am able to play it when it has a actual .swf location. e.g. "C:Documents and SettingsmypcDesktopmysql"
But I want to put the .swf file together when it publish.when I copy this to other computer , they can have this flash file,the loction to load will become>>ApplicationDeployment.CurrentDeployment.DataDirectory & "Resourcesfirework3.swf".
the file is in Resources forlder but the application is not able to play, with no error popup