PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 1.00 average.

Click Once deployment - cannot continue. the application is improperly formatted

 
 
BillE
Guest
Posts: n/a
 
      16th Mar 2010
I am using clickonce to publish a windows forms application developed in
VB.net VS2008.

I am getting the above error during installation. The .NET Framework (3.5)
is installed during the application installation.

The application is not signed. - I noticed in the error details the mention
that the "manifest xml signature is not valid". I hope I am not required to
digitally sign the application - I don't want to have to worry about the
application suddenly failing in one year when the digital certificate
expires.

I am interested in knowing how to solve this problem.

Thanks
Bill



 
Reply With Quote
 
 
 
 
Patrice
Guest
Posts: n/a
 
      16th Mar 2010
3.5 SP1 of course, not 3.6 SP1...

> Is this 3.5 or 3.6 SP 1 ?




 
Reply With Quote
 
BillE
Guest
Posts: n/a
 
      16th Mar 2010
Thanks, I didn't know that 3.5 deployment requires a signature.

I can't use 3.5 sp1 because I am working in an isolated network and sp1 has
the Homesite Only 'feature':

'we shipped the .NET Frameworks 3.5 SP1 package as Homesite Only, i.e. only
supports "Install Prerequisites from Component Vendor's Website". We did
this to keep the size of VS 2008 SP1 from being too large.' (David Guyer,
MSFT)

I don't know what a timestamp server is, I'll look into it, but I guess my
best course of action will be to abandon ClickOnce.

merci encore
Bill


"Patrice" <http://www.chez.com/scribe/> wrote in message
news:(E-Mail Removed)...
> Hello,
>
> Is this 3.5 or 3.6 SP 1 ?
>
> I made a quick search and it seems the signature requirement is gone
> starting with 3.5 SP1.
>
> Another option is to use a timestamp server when signing in which case the
> certificate doesn't expire.
>
> --
> Patrice
>
>
> "BillE" <(E-Mail Removed)> a écrit dans le message de groupe de
> discussion : (E-Mail Removed)...
>> I am using clickonce to publish a windows forms application developed in
>> VB.net VS2008.
>>
>> I am getting the above error during installation. The .NET Framework
>> (3.5) is installed during the application installation.
>>
>> The application is not signed. - I noticed in the error details the
>> mention that the "manifest xml signature is not valid". I hope I am not
>> required to digitally sign the application - I don't want to have to
>> worry about the application suddenly failing in one year when the digital
>> certificate expires.
>>
>> I am interested in knowing how to solve this problem.
>>
>> Thanks
>> Bill
>>
>>
>>
>>

>



 
Reply With Quote
 
Patrice
Guest
Posts: n/a
 
      16th Mar 2010
As you wish else you have just to specify a server such as :
http://timestamp.verisign.com/scripts/timstamp.dll

in the appropriate field dialog (the signing tab in project properties if I
remember) and you are done...

--
Patrice

"BillE" <(E-Mail Removed)> a écrit dans le message de groupe de discussion
: #(E-Mail Removed)...
> Thanks, I didn't know that 3.5 deployment requires a signature.
>
> I can't use 3.5 sp1 because I am working in an isolated network and sp1
> has the Homesite Only 'feature':
>
> 'we shipped the .NET Frameworks 3.5 SP1 package as Homesite Only, i.e.
> only supports "Install Prerequisites from Component Vendor's Website". We
> did this to keep the size of VS 2008 SP1 from being too large.' (David
> Guyer, MSFT)
>
> I don't know what a timestamp server is, I'll look into it, but I guess my
> best course of action will be to abandon ClickOnce.
>
> merci encore
> Bill
>
>
> "Patrice" <http://www.chez.com/scribe/> wrote in message
> news:(E-Mail Removed)...
>> Hello,
>>
>> Is this 3.5 or 3.6 SP 1 ?
>>
>> I made a quick search and it seems the signature requirement is gone
>> starting with 3.5 SP1.
>>
>> Another option is to use a timestamp server when signing in which case
>> the certificate doesn't expire.
>>
>> --
>> Patrice
>>
>>
>> "BillE" <(E-Mail Removed)> a écrit dans le message de groupe de
>> discussion : (E-Mail Removed)...
>>> I am using clickonce to publish a windows forms application developed in
>>> VB.net VS2008.
>>>
>>> I am getting the above error during installation. The .NET Framework
>>> (3.5) is installed during the application installation.
>>>
>>> The application is not signed. - I noticed in the error details the
>>> mention that the "manifest xml signature is not valid". I hope I am not
>>> required to digitally sign the application - I don't want to have to
>>> worry about the application suddenly failing in one year when the
>>> digital certificate expires.
>>>
>>> I am interested in knowing how to solve this problem.
>>>
>>> Thanks
>>> Bill
>>>
>>>
>>>
>>>

>>

>
>
>


 
Reply With Quote
 
BillE
Guest
Posts: n/a
 
      16th Mar 2010
Since my deployment is confined to an isolated network i guess the
application would not be able to access a timestamp server.


"Patrice" <http://scribe-en.blogspot.com/> wrote in message
news:(E-Mail Removed)...
> As you wish else you have just to specify a server such as :
> http://timestamp.verisign.com/scripts/timstamp.dll
>
> in the appropriate field dialog (the signing tab in project properties if
> I remember) and you are done...
>
> --
> Patrice
>
> "BillE" <(E-Mail Removed)> a écrit dans le message de groupe de
> discussion : #(E-Mail Removed)...
>> Thanks, I didn't know that 3.5 deployment requires a signature.
>>
>> I can't use 3.5 sp1 because I am working in an isolated network and sp1
>> has the Homesite Only 'feature':
>>
>> 'we shipped the .NET Frameworks 3.5 SP1 package as Homesite Only, i.e.
>> only supports "Install Prerequisites from Component Vendor's Website".
>> We did this to keep the size of VS 2008 SP1 from being too large.' (David
>> Guyer, MSFT)
>>
>> I don't know what a timestamp server is, I'll look into it, but I guess
>> my best course of action will be to abandon ClickOnce.
>>
>> merci encore
>> Bill
>>
>>
>> "Patrice" <http://www.chez.com/scribe/> wrote in message
>> news:(E-Mail Removed)...
>>> Hello,
>>>
>>> Is this 3.5 or 3.6 SP 1 ?
>>>
>>> I made a quick search and it seems the signature requirement is gone
>>> starting with 3.5 SP1.
>>>
>>> Another option is to use a timestamp server when signing in which case
>>> the certificate doesn't expire.
>>>
>>> --
>>> Patrice
>>>
>>>
>>> "BillE" <(E-Mail Removed)> a écrit dans le message de groupe de
>>> discussion : (E-Mail Removed)...
>>>> I am using clickonce to publish a windows forms application developed
>>>> in VB.net VS2008.
>>>>
>>>> I am getting the above error during installation. The .NET Framework
>>>> (3.5) is installed during the application installation.
>>>>
>>>> The application is not signed. - I noticed in the error details the
>>>> mention that the "manifest xml signature is not valid". I hope I am
>>>> not required to digitally sign the application - I don't want to have
>>>> to worry about the application suddenly failing in one year when the
>>>> digital certificate expires.
>>>>
>>>> I am interested in knowing how to solve this problem.
>>>>
>>>> Thanks
>>>> Bill
>>>>
>>>>
>>>>
>>>>
>>>

>>
>>
>>

>



 
Reply With Quote
 
Patrice
Guest
Posts: n/a
 
      17th Mar 2010
It happens when you sign the application at build time, not once deployed so
it depends on your development box.

Anyway, it should be easily updatable by using xcopy as this is on
controlled machines so as you said the first step is perhaps to start by
finding out if ClickOnce is usefull or not in your case...

--
Patrice

"BillE" <(E-Mail Removed)> a écrit dans le message de groupe de discussion
: ##p$(E-Mail Removed)...
> Since my deployment is confined to an isolated network i guess the
> application would not be able to access a timestamp server.




 
Reply With Quote
 
BillE
Guest
Posts: n/a
 
      17th Mar 2010
I like ClickOnce because it automatically updates the version.

Do you normally digitally sign the ClickOnce manifest and the Assembly for
desktop applications?

Do I just have to sign the manifest to be able to publish it using .NET
Framework 3.5 (Not SP1)?

Will the user have a problem when the certificate for the manifest expires?
Or is it just a problem when the certificate for the assembly expires?

Sorry for bombarding you with so many questions - I am having a hard time
getting a handle on this.

Thanks!
bill


"Patrice" <http://scribe-en.blogspot.com/> wrote in message
news:(E-Mail Removed)...
> It happens when you sign the application at build time, not once deployed
> so it depends on your development box.
>
> Anyway, it should be easily updatable by using xcopy as this is on
> controlled machines so as you said the first step is perhaps to start by
> finding out if ClickOnce is usefull or not in your case...
>
> --
> Patrice
>
> "BillE" <(E-Mail Removed)> a écrit dans le message de groupe de
> discussion : ##p$(E-Mail Removed)...
>> Since my deployment is confined to an isolated network i guess the
>> application would not be able to access a timestamp server.

>
>
>



 
Reply With Quote
 
BillE
Guest
Posts: n/a
 
      17th Mar 2010
Thanks for your help, I am having a lot of trouble getting a grip on the
entire digital signing process, although I have read a lot. I think I have
to experiment with it more, I guess, but I appreciate your input. I really
want to use ClickOnce, though, so applications will update automatically.
Thanks
Bill


"Patrice" <http://scribe-en.blogspot.com/> wrote in message
news:(E-Mail Removed)...
> It happens when you sign the application at build time, not once deployed
> so it depends on your development box.
>
> Anyway, it should be easily updatable by using xcopy as this is on
> controlled machines so as you said the first step is perhaps to start by
> finding out if ClickOnce is usefull or not in your case...
>
> --
> Patrice
>
> "BillE" <(E-Mail Removed)> a écrit dans le message de groupe de
> discussion : ##p$(E-Mail Removed)...
>> Since my deployment is confined to an isolated network i guess the
>> application would not be able to access a timestamp server.

>
>
>



 
Reply With Quote
 
Patrice
Guest
Posts: n/a
 
      18th Mar 2010
You are welcome.

http://msdn.microsoft.com/en-us/library/ms172240(VS.80).aspx could perhaps
help if you have not already checked this one. In particular it has also a
"How Time-Stamping Can Prevent Unintended Expiration" section....

--
Patrice



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
extending a click once application with plugins(deployment issue) krach.aran@gmail.com Microsoft C# .NET 1 19th Mar 2007 12:39 PM
ClickOnce Error: The application is improperly formatted Diane Yocom Microsoft Dot NET Framework 2 5th Jan 2007 11:43 PM
The application is improperly formatted - ClickOnce baerland@gmail.com Microsoft Dot NET Framework 3 21st Dec 2005 10:02 AM
Formatted text pasting should continue with previous format after. =?Utf-8?B?RGFuSG9w?= Microsoft Word Document Management 0 5th Oct 2005 09:04 PM
Publishing - Improperly Formatted James Microsoft C# .NET 0 29th Sep 2005 09:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:33 AM.