Install vb.net application - vb.net

I have created vb.net 2005 set up project for a my customer. when i run the setup.exe it is in a windows xp machine it prompts a message as "An error occured while downloading a required file. you may retry downloading the file or cancel the setup. "
when i check in the install log file the last details as below
"Downloading failed with HRESULT=-2147024891"
this happens in only a one pc which is xp installed and in other xp machines the setup is run successfully. Also .net framework 4 is installed in this pc.
please help me on this issue..

If its an MSI package, you may have an outdated MSI installer on there...?.
use this link to get an updated MSI installer.
http://www.microsoft.com/en-za/download/details.aspx?id=8483

Related

VB application built using visual studio 2015 installation to windows xp

I updated a vb windows forms application using visual studio 2015. I need to install this on a windows xp machine.
I updated my application to run using .net framework 4.0, the same as the one installed in the xp machine.
When I tried to install it the first time, it asked me to restart the machine, which I did. after restarting it gave me the error that installation is incomplete.
I have been researching all morning on how to fix it, i tried the dpca.dll solution, i tried restarting the windows installer service, i used msiexec to view the logs, and now it gives me the error that a dll required for this install to complete could not be run. I have no idea which dll, it doesn't say.
My application is fine. It builds and installs beautifully on windows 7 and above.
Please help me before I smash the windows xp machine into pieces.
I came across a comment that i can run the executable itself, just needed to copy all the dll files and put it in the same folder as the executable. So I just copied the whole folder and run the exe on the xp machine and it works.

MDAC Error on Windows XP - Deploy Vb.net

I am trying to deploy a VB.Net application using the built in Click Once.
When a User tries to install the application they receive the following error message.
http://i.imgur.com/6ifvdKM.png
The machines they are trying to install to are Windows XP SP3 so I cant understand why I am getting this error.
Any help would be appreciated.
You should try the following steps:
Compile your program and copy the whole bin\Release folder (output directory) to the target system. Does your program run if it's not distributed via ClickOnce?
Build a simple "Hello World!" program and distribute it via ClickOnce. Can this basic app be installed on the target system by running the ClickOnce installer?
Even though this should not be a problem on any system running a later Version of Windows than Win2k, have your tried to just install Microsoft Data Access Components (MDAC) 2.8 SP1?
By doing so, you should be able to determine if your issue is either ClickOnce- or Application-related.

Install Diagnostics messages on WinCE

I've a Windows CE device on which I try to install all Exceptions message contained in the NETCFv35.Messages.EN.cab
My problem is, when double-clicking on the CAB File, I get the following error message :
The file "NETCFv35.Messages.EN.wm.cab" is not a valid Windows CE Setup file.
As anyone faced this message? How can I fix it and install this CAB?
Thanks.
Are you attempting to install this on a generic Windows CE (i.e. not WinMo/WEH) device? If so that could very well be the problem. Note that your CAB file has "wm" in in, indicating a Windows Mobile CAB.
Instead, try the non WinMo version NETCFv35.Messages.EN.cab (found on my machine at C:\Program Files (x86)\Microsoft.NET\SDK\CompactFramework\v3.5\WindowsCE\Diagnostics).

Regarding MS Win 2008 Server Issue

I have been working for an installer in VC. Although it is working fine with Windows 2000, XP and Windows 2003, its not working under Windows 2008 and Vista after a crash. Interestingly it will work like a charm as and when I changed the executable name.
I'll explain briefly what i did in Windows 2008 and Vista.
My executable's name is Setup.EXE.
Starting the installation for the first time.
I have to abort the installation whenever the setup dosen't meet any prerequisites like IIS is not installed.
Application gets aborted because of lack of prerequisites.
I had made available all prerequisites.
Trying to install again.
Setup.EXE crashed.
I had changed Setup.exe to __setup.exe.
Trying to install again.
Installed successfully.
I could not run the application with name as Setup.exe again.
Can you please tell me what is wrong here?
Regards,
Harish
To further analyze this, the call stack for the crashed application is required.
If vista/2008 starts an executable with the name of setup.exe it will automatically elevate.

WCF REST starter kit fails to install

I just, quite anxiously, downloaded the spankin new WCF REST starter kit. The installed failed. Anyone else had this problem?
http://msdn.microsoft.com/en-us/netframework/cc950529.aspx
Edit: The install fails during the template installation. The VS JIT debugger window pops up. Nothing else is running the PC, I am running as an admin on XP Pro, and the error occurs from either the EXE or the MSI.
Yes, it just failed for me too. Got a warning about replacing an existing file during the template install, then a hard crash after I told it to continue.
EDIT: Just tried again - it worked. Did 3 things different:
Closed all running VS2008 SP1 instances
Read the install guide closer and chose to run setup.exe instead of the msi, and did "Run As Administrator"
Didn't close the MSI installer until the delayed template installer had completed.
Here's the Install Guide:
SYSTEM REQUIREMENTS:
Windows Vista OR Windows Server 2008 OR Windows Server 2003
Visual Studio 2008 SP1
INSTALL AND USAGE STEPS:
Before installing, remember to uninstall any versions you have installed on the machine (see the Uninstall section below for steps to uninstall).
Run the setup.exe in administrator mode (right click on setup.exe and select 'Run as Administrator')
The install process will launch a visual studio installer. Remember to click through the visual studio installer to install the templates. NOTE: You may miss the vsi that is launched, so be sure to finish both the vsi and setup.exe installs to ensure that the whole install process is complete.
While running the vsi, you will get a prompt, which you can safely accept to continue.
Once installed, build the Microsoft.ServiceModel.web project installed on your machine.
You need to reference the Microsoft.ServiceModel.Web.dll assembly from the template generated projects, as well as from the samples. Please remember to verify this while using your templates and projects.
Note that you may also use a project reference instead.
There is a solution that includes all the samples provided in the "WCF REST Starter Kit\Samples\WCF REST Starter Kit Samples" location. This gives you a way to easily try out all the samples from one place.