VS Installer Error When Installing VB App
Apr 13, 2010
i am installing a VB application and the installer will install the app just fine for the first install. But if the program is uninstalled, then re-installed, i get an error from the installer that has a code of 2908 or something close to it. (It means that it cannot register a component). I cannot figure out why this is only occurring during a re-install.
[Code]...
View 6 Replies
ADVERTISEMENT
Oct 29, 2011
As you all know programs created in VB require the .NET framework to be installed on the end-user's computer, BUT when I create my ClickOnce deployment you would think that it would automatically include a .NET 4.0 setup for the end-user... it does not. I have tried creating all sorts of installers which install the Microsoft .NET folder onto the end-user's machine, or the actual .NET executable file. None of these seem to work, even in third party installation creators like InnoSetup. When I go through Microsoft Documentation like this: "How to: Install Prerequisites with a ClickOnce Application" all I get is something I've already tried and does not work.
I need everything in one large setup.exe file. I don't care if it is going to take up so space, as long as it is in one file and everything is embedded together.
How do I package the .NET 4.0 framework AND make it install WITH my VB.NET application IN ONE Setup.exe file? If this isn't possible, where can I find the Actual Files of the .NET 4 Framework?
View 2 Replies
Jan 7, 2012
While installing the application that i build on Visual Basic VS 2010, the following error occurs.
"Unable to install or run the application. The application requires that assembly stdole Version 7.0.3300.0 be installed in the Global Assembly Cache (GAC) first. "
View 1 Replies
Sep 9, 2009
I created a program and published it using the wizard through the "Property" in menu.
When I used the Published program to Install it in my same computer it got installed in "StartMenu".
I didn't get the option to select the Drive for Installing it like what we get when installing other program.
how to make that option to appear on installing the program?
View 8 Replies
Mar 15, 2009
The message is "System Update Required"Unable to install or run the application. The application requires that assembly Microsoft.VisualBasic.PowerPacks.Vs Version 9.0.0.0 be installed in the Global Assembly Cache(GAC) First. It is not completely clear to me if this is something that I have to 'include' in my application, or something I have to direct my friend to install in his computer. (Or how he can get it?)
View 13 Replies
Jun 14, 2012
I am not an expert in using vb.net, but I am trying to make my vb.net project accessible to others. I've done it before (about 5 years ago) with another program. This program is basically the same just for a different product line for us. I have all the files on a server. I published everything to a directory on the server...the directory is in the same spot as the other directory. I checked all of my project properties and have now made sure they are the same as my other project. The publishing works fine. But, when I try to run the setup.exe or the .application file, I an error message that pulls up a log file. I've looked all over and found similar log files, but no solution that seemed to work. Here is what the log file is telling me. Any help would be great. I am thinking it is something simple...remember I am not an expert. And, I know I got the other one to work a few years ago when I moved it from visual basic 6.0 to vb.net. I am using Visual Basic 2008 Express Edition to work with my project.
[Code]...
View 2 Replies
Dec 29, 2011
i running into an error when installing a windows service that i have created in vb .net. i followed the tutorial but i am getting an error. bellow is the log for the whole process until we get to the error. can someone please assist.
[Code]...
View 1 Replies
Aug 3, 2010
I created a simple windows service on my local PC and added the following code to it [code]...
Next I added a Setup project to this solution and added a custom action (By double clicking application folder then clicking add output folder then selecting primary output from the dialog). The solution builds fine but I have 2 problems.
1) Everytime I install the service, it asks me for the username, password and confirm password; I was wondering if there was anyway to get rid of it atleast while running locally. I tried setting the account type to user, local service, local system etc but it keeps popping up.
2) Once I enter the credentials (random ones), I get an error "No mapping between account names and security ids was done".
View 1 Replies
Jun 5, 2009
I get the following error when I try to access a asp.net application on my local machine.HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x80070021
[code]....
View 4 Replies
Jul 2, 2009
sometimes when we install our soiftware developed in VB6 under XP the error deletefile failed code 5 an error occured while trying to replace this file access denied c:windowssystem32shdocw.dll it does not happen all the time about 755 but if you click ignore the program installs perfectly and runs fine.
View 1 Replies
Sep 24, 2011
Error in installing Windows service using instllutil.exe in vb.net
View 10 Replies
Feb 12, 2007
I new to .net My project involves developing a windows service application using VB .NET. I have installed the service successfuly on the first attempt using the installutil provided by the frame work.When i uninstalled the application the it gave me the following result.
System.ComponentModel.Win32Exception: The specified service does not exist as an installed serviceAn exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete.
The uninstall has completed.
When i tried to install the app again it gave me the following error
An exception occurred during the Install phase.System.ComponentModel.Win32Exception: The specified service already exists
I removed the application from the list of application event log entries in the registry(HKEYLOCAL_MACHINESYSTEMCurrentControlSetServicesEventLogApplication) ant tried installing the app agin it installed successfully. Why is uninstalling the service not removing the entry from the registry.
View 12 Replies
Mar 11, 2011
I installed VS2010 SP1/TFS2010 SP1. Now VB solutions that built successfully now fail Rebuild with massive lists of errors, eg:
Error 14 'IsNothing' is not declared. It may be inaccessible due to its protection level. C:ProjectsNewDoxDOXLinkDocType.vb 142 12 DOXLink
Error 12 'ChrW' is not a member of 'VisualBasic'. C:ProjectsNewDoxDOXLinkDOXDBDataSet.Designer.vb 14947 120 DOXLink
Error 44 'Computer' is not a member of 'My'. C:ProjectsNewDoxDOXLinkLanFolder.vb 110 20 DOXLink
Error 15 'vbCrLf' is not declared. It may be inaccessible due to its protection
[code]....
View 1 Replies
Aug 12, 2011
I'm currently developing an application for a POS Terminal using VB.net. Our project is approaching the last stage of development and I've been tasked to create 2 installers. 1 for Initial Installation, and the other for upgrade installation.
The project is composed of several elements. These are:
1. The application executable
2. Common DLLs that we developed
3. some resources (.resx and XML)
The requirement for the upgrade installer is that only those files with modification should be installed. (i.e. if only the xml or resx files are modified those are the only items that will be reinstalled, since the size of the upgrade installer is a consideration so we cannot reinstall everything).
I'm using Visual Studio 2005 for my deployment project but I'm a bit confused about how to set the properties of each file in such a way that during the upgrade, only the files that were modified would be updated and the rest of the files will not be removed since I'm setting RemovePreviousVersion property to True. I have a hunch that I need to do something with the custom action but I haven't been able to figure it out. The upgrade installer setup is almost the same as the initial installer except that all files are excluded.I tried to acquire a copy of Phil Wilson's book (The definitive guide to Windows Installer) but its not available in our local bookstore and it would take too long to order it.
Basically while tinkering with the settings/properties there are instances where the dll was not updated and there are also times when the application exe was removed.
I already verified that the Product code is the same for both installers and that I'm sure that the version number is being incremented for each upgrade.
If I will be redoing both installers from scratch, how should I go about it?
I'm also confused about the Condition property and the transitive property.
View 6 Replies
Jul 19, 2011
Triying to use the built in Visual Studio 2010 to install a couple of files and after that is done to run another installer package (3rd Party Installation Wizard).
View 1 Replies
Nov 18, 2009
I have a problem here I did make database program for a friend the database is online Mysql I use Visual Studio and put this into setup.exe when he install the program and try to log on he get this error This is my connection to the database
[Code]...
View 1 Replies
Mar 16, 2010
Visual basic setup stops half way on windows 7 - also get fatal error on installing .net framework 4
View 1 Replies
Jan 9, 2012
I realize this post is rather long, but I wanted to give all the information up front instead of people having to ask me for more information.At the end of the re-installation of Visual Studio 2008, there is this message:
"Microsoft SQL Publishing Wizard: [2] Error: Installation failed for component Microsoft SQL Publishing Wizard. MSI returned error code 1638" in the log file dd_error_vs_procore_90.txt.
I have searched on Google for this whole message and found some references to this error, but I have done what they said worked for them and it did not fix the problem for me.When I searched for just "MSI returned error code 1638", I got that it cannot install something because it is already installed:"Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel".In Add/Remove Programs I see these two programs:
Microsoft SQL Server Database Publishing Wizard 1.3
Microsoft SQL Server Database Publishing Wizard 1.4
Are these programs/versions what the error is refering to? Am I safe to remove them and depend on the similarly-named item which would be newly installed with Visual Studio 2008 - "Microsoft SQL Publishing Wizard"? I still use SQL Server 2000 and 2005 on my computer, as well as 2008. I had installed VS 2008 on my computer before without this problem and also have VS 2005 and 2010.
View 1 Replies
May 29, 2011
I have written a program in Visual Basic 10 and all is well. I have published it and have been burning the result to a cd and installed it on various computers, however it is the click once app, which has been fine till now. What I need to do now is to have the program install the .exe file and associated files (non click once app) to a specific drive on a computer or network computer. I have searched the net for instructions on how to initiate the windows installer and have failed. is there a program that you can select the source files then point to the installation folder tell it to go and an installation package gets made that I can burn to disk.
View 3 Replies
Jan 13, 2011
I have code/support an application built on .NET framework that has always run on .NET 2. This year we are upgrading the application to use .NET 3.5 (or 4?). In preparing for this change we noticed that that Offline Installer (required for our customer base) for .NET 3.5 is 200+ MBs bigger than the .NET 4 offline installer.
Here are my questions.Why is the dotnet 3.5 installer so much bigger than the 4 offline installer?
Can we TARGET .NET 3.5 but distribute .NET 4. In other words, is .NET 4 backwards compatible? Assuming that .NET 4 was the only installed .NET could application still target earlier frameworks?
IF our application is compiled for x86 CPU (rather than Any CPU) do you still have to distribute the x64/x86 Client Profile or can we just distribute the x86 Client Profile? In other words, can we distribute the x86 Client Profile even though it will be installed on x64 machines if our app is compiled for x86 target CPU? Any risks or gotchas for doing this?
The issue is that if we upgrade our app to target .NET 4 there are a lot of application servers that we also have to upgrade which effects a number of other applications.
View 2 Replies
Nov 13, 2010
I have a sql file that i need to use with Visual Basic, im assuming i have to install it as i had to do that with a different sql file, the only difference between the sql file i have now and the other one i had is that the one i need to use with VB has only an sql file and does not have a database file that goes with it, this one is only an sql file. I have opened the file in SQL server management studio express and executed it over and over and it says (1 row(s) affected) (I have attached a screenshot) but nothing happens. If you look in the screenshot, on the left hand side you can see the "Pubs" database, that was the other sql file i had that had a database with it and it installed fine. Im really not sure what else to do with this.
[Code]...
View 14 Replies
Jun 9, 2011
I have an app that I've developed that has a vb.net front end and a SQL Server 2000 database backend. I currently have it running fine on my machine and it also installs fine on all the users that are inside the domain that the app was written in. When I try to install my application on another domain it hangs and doesn't even run the install script.
Has anyone ever experienced problems installing an app accross domains?
Is there something that I need to code differently to make it non-domain specific?
View 5 Replies
Jan 31, 2011
I get the following message when trying to install on some computers:
[Code]...
View 5 Replies
May 30, 2009
i can publish my app fine.it creates the setup and the rest of the files, whatever they are.on my operating system, the setup runs fine.when trying to install it on another system, it asks for the microsoft 3.5.net.this update can take quite a while.how can i publish my app, in such a way that it can run from the files in the setup and not have to have any other addons, as .net framework. i know it's possible, since i was able to install other software before i had the .net framework.
View 19 Replies
Aug 27, 2009
I have created a Windows Service in VB.net for building xML from a database. I need to install it in my machine. I have followed all the steps as shown in [URL] When I right click on setup project and click install it opens the installation wizard and after hitting the next buttons it promptly says that the Service is installed successfully.When I go to Services I don't see the service. I refreshed the list and rebooted my machine n times.
View 2 Replies
Nov 6, 2009
When I test run my programme (F5) it automatically saves files in a folder that is within the test project.I'd like to create a folder that is created when the programme is first installed (My Documents or in within the programme folder). How do I do this? I also want to give it a specific name instead of a name being given to it automatically. I know how to create a folder and save files in it during the test runs when I press F5 (If directory.exists etc etc etc) but that is during the runtime - how do I make a folder already available that is created during installtion.
View 6 Replies
Jul 27, 2011
I have a vb script in access 2007 and there I read some text documents and save them as record in the database. This is on a machine with windows 7. When I do this without sp1 for windows 7 it all works. When i install sp1 on windows 7 then I get the error massage cannot save with the code 2147286781 (80030103). In the VB code I use rs.save. I put a example of the code below. Here i created a new DB and want to save 1 record. I got the same error back.[code]
View 3 Replies
May 21, 2009
I create Win32 DLL using vb.net (VS2005), for later use in vb6 application. I've try and it's workout (on my pc). I'm wondering if theres a way to distribute that dll files with my vb6 application, without installing net framwework on target pc.
If you wonder why i'm doing this, the answer The current application on target computer still using application that i've develop with vb6. My company have a plan to migrate to VB.net so i have to update a litle by litle so the old application still running until the new one (which i developed using vb.net) is ready to lunch. By the time new application running, my plan/target is i only update a minor change/installation.
View 1 Replies
Dec 15, 2010
how I would install a program from a combobox, for example, I select an option inside a combobox like 'adobe reader', click the install button, and it installs the selected option? (all programs will be stored in a share or directory).
View 5 Replies
Jun 9, 2009
i built a very simple application in vb.net, installed it, it worked. then i did some very slight updates, build it, tried to install it but got the following errors. i restarted computer, uninstalled app for the uninstall menu, and tried to run setup.exe and still have been getting this error.
PLATFORM VERSION INFO
Windows : 5.1.2600.196608 (Win32NT)
Common Language Runtime : 2.0.50727.3053
[code]....
View 3 Replies