I have developed a program using Visual C# in windows vista. It runs fine on my computer.But when I try to install it on other computer having XP it displays an error message. Error details are here:- ERROR DETAILS Following errors were detected during this operation. * [12/21/2008 7:58:06 PM] System.ArgumentException - Value does not fall within the expected range. - Source: mscorlib - Stack trace: at System.Deployment.Internal.Isolation.IDefinitionAp pId.EnumAppPath() at System.ActivationContext.CreateFromNameAndManifest s(ApplicationIdentity applicationIdentity, String[] manifestPaths) at System.Deployment.Application.ActivationDescriptio n.ToActivationContext() at System.Deployment.Application.ApplicationActivator .DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp) at System.Deployment.Application.ApplicationActivator .InstallApplication(SubscriptionState subState, ActivationDescription actDesc) at System.Deployment.Application.ApplicationActivator .PerformDeploymentActivation(Uri activationUri, Boolean isShortcut) at System.Deployment.Application.ApplicationActivator .ActivateDeploymentWorker(Object state) I had also installed .net framework 2.0 and windows intaller 3.0 manually. Please help me. I will be really thankful to you.
Also can you check if project was built targeting a different FW version than 2.0? When you create a new project using the IDE you can select preferred framework e.g. 2.0 or 3.5. Please check this and also answer the previous question ... i'll be waiting for your feedback
yugolancer has provided good responses. the only other thing I can suggest is to use InstallShield Express to build a proper installer. Installshield will help you check for dependencies/ prerequisites that need to be included with your program.
Hi Brian, I was wondering if InstallShield Express is free? I was used to make the setups using the full version 5-6 years ago (when i was working for another company). But, i haven't even seen this outstanding product since then.
yes, it is a click-once installation. But I am sure that frame work is 2.0 because it is written in the requirements of installation package.
Please check if there is an old installation. If so uninstall the older version and then try again with the installation. Also don't forget to update the versions of deployment and application manifest. If versions do not match you will keep getting this error.