Publishing a project
I am trying to publish my project, but when I run the installer it dies because the the project has been improperly formatted. I have been unable to find any references to formatting during publishing, or even system requirements for the published version. If you have an easy solution or if you can point me in the direction of reference material for this that would be great. Thanks.
Hi,
Does it say "Project" or "Dll"? If it is dll then are you trying to install it on a 64 bit machine?
If yes, then at which stage of installation do you get this error?
FYI - J# doesn't support 64 bit platform as of now. You may like to visit http://blogs.msdn.com/jaiprakash/ for some insight :).
Thanks.
The publish tool executes fine. The application instals is loaded into a folder on the harddrive, and the error occurs during installation of the application itself. The installer loads the Redistributable package, the system reboots, then when the install continues I receive an error that says "Unable to continue, improper formatting" and it dies. I am installing on a 32-bit machine, Windows XP OS. I hope this clarifies things. Again, any suggestions are helpful. Thanks,
Which .NET language did you use to create this project?
Could you please send out log file contents? we will get the log file by clicking "Details..." button of "Application Failed" dialog.
This could be because of .NET version problem. Have you tried installing it on fresh machine?
Thanks,
Neela
I used Visual J# to create the solution, with .NET version 2.0.
Error occurs during "Installing Microsoft Visual J# .NET Redistributable Package,"
The following details are located in CAOLS3M7.log:
PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50215.44
System.Deployment.dll : 2.0.50215.44 (beta2.050215-4400)
mscorwks.dll : 2.0.50215.44 (beta2.050215-4400)
dfdll.dll : 8.0.50215.44 (beta2.050215-4400)
dfshim.dll : 2.0.50215.44 (beta2.050215-4400)SOURCES
Deployment url : file:///C:/RES%20Software%20Development/RES%20Business%20Solution%20Build%201.1.1.0/RES%20Business%20Solution.application
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\RES Software Development\RES Business Solution Build 1.1.1.0\RES Business Solution.application resulted in exception. Following failure messages were detected:
+ Exception reading manifest from file:///C:/RES%20Software%20Development/RES%20Business%20Solution%20Build%201.1.1.0/RES%20Business%20Solution.application: the manifest could be invalid or the file could not be opened.
+ The manifest has no XML signature.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [18 Oct 2005 18:40:15 -04:00] : Activation of C:\RES Software Development\RES Business Solution Build 1.1.1.0\RES Business Solution.application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [18 Oct 2005 18:40:22 -04:00] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Exception reading manifest from file:///C:/RES%20Software%20Development/RES%20Business%20Solution%20Build%201.1.1.0/RES%20Business%20Solution.application: the manifest could be invalid or the file could not be opened.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
at System.Deployment.Application.DownloadManager.DownloadManifest(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ManifestType manifestType, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirect(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifest(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
Inner Exception
System.Deployment.Application.ValidationFailedException (Unknown subtype)
- The manifest has no XML signature.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
The installation has been tried on multiple machines, including the client's which came up with other errors that they were unable to explain and I was not present for the install. I have tried the install on a fresh laptop with XP Home OS and as well a fresh desktop with XP PRO, bot had .NET SDK version 2.0 installed. Again thank you for your time.
I have no need for ClickOnce deployment. There will be no updating and the solution will be installed on a single machine. The only helpful documentation I have read is to create an installer class which I cannot find in the version of J# I am using and can not find a way to import a template for it. I have tried rewriting the manifest file to suit my needs but I am vastly under-experienced to do this correctly it seems. All I want to do is create a windows installer to deploy the software on the client machine. Basics are helpful, tutorials are helpful, any comments on this are greatly appreciated. Thank-you
as I said in my previous post, with the version of VJ I am using there are no installer or deployment templates that I can use. How do I correct that problem?
Hi,
I guess you are working on VS 2003 and what I am getting from previous few posts is...
1. You have J# peoject(s).
2. You want to create .msi for them.
If I am correct then...
In VS 2003 (VS 2005 also) there are no language specific installer projects. You may like to check C# project templates. There too installer templates are not there.
Basically setup/deployment projects have nothing to do with language. They deploy/install dlls, which are not language specific (MSIL code). That's why there is a seperate Setup And Deployment Projects node under Project Types of New Project dialog box.
If you select this node, then in the Templates list box on RHS you can see a no of templates for setup/deployment, eg. Setup Project, WebSetup Project, Cab project etc. Use the template which serves your purpose.
For thorough details on how to create a set up project you may like to refer this link. This link explains a how to create .msi file for a solution containing two C# projects. Just read J# instead of C#.
Please post back if this doesn't serve your purpose or you face any more issues.
Thanks.
there is nothing in my "Add | New Project" that have anything to do with deployment or set up. I ahve recently heard that J# Express was not meant for deployment. Do I need the suite indtead?
Hi,
Which version of visual studio are you working on? Is it J# express? If yes, then any express (J#/C#/VB) doesn't have these tempaltes. You need to have Visual Studio Team/suite or Visual Studio Professional with you.
Thanks.
I'm going to assume the suites are not free either. I had just assumed that deployment was possible with the express editions. My mistake. Thanks.
Hi,
Yes, Visual Studio Team System is not freely available.
Again, what I understand from deployment is that you want to create a .msi for you J# projects. That is not supported in Express SKUs.
Thanks.
J# Express SKU has support to Click Once deployment and not through Setup/MergeModule Projects.