Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Unable to install application from other machine using click once
 

Unable to install application from other machine using click once

Hi,

I have developed a small application and i signed it using temporary key and rebuild the solution and

published it. its working fine in my development pc. I copied the same published files in windows 2003 server machine

and hosted in IIS 6.0 and did the following

mage -update SetupTest.application -pu " http://172.42.100.243/setuptest"

mage -sign SetupTest_1_0_0_0.application -cf SetupTest_TemporaryKey.pfx -pwd temppassword

below error came so i again tried with

mage -update SetupTest.application -pu " http://172.42.100.243/setuptest"

mage -update SetupTest_1_0_0_0.application -pu " http://172.42.100.243/setuptest"


mage -sign SetupTest_1_0_0_0.application -cf SetupTest_TemporaryKey.pfx -pwd temppassword

I am getting this error

PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.1433
System.Deployment.dll : 2.0.50727.1433 (REDBITS.050727-1400)
mscorwks.dll : 2.0.50727.1433 (REDBITS.050727-1400)
dfdll.dll : 2.0.50727.1433 (REDBITS.050727-1400)
dfshim.dll : 2.0.50727.1433 (REDBITS.050727-1400)

SOURCES
Deployment url: http://172.42.100.243/setuptest/SetupTest.application
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Deployment Provider url: http://172.42.100.243/setuptest

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of http://172.42.100.243/setuptest/SetupTest.application resulted in exception. Following failure messages were detected:
+ The Deployment Provider specified in the manifest cannot be reached. Maybe due to network error and/or the deployment provider is not responding correctly.
+ Exception reading manifest from http://172.42.100.243/setuptest/publish.htm: the manifest may not be valid or the file could not be opened.
+ Parsing and DOM creation of the manifest resulted in error. Following parsing errors were noticed:
-HRESULT: 0x8007001f
Start line: 0
Start column: 0
Host file:
+ A device attached to the system is not functioning. (Exception from HRESULT: 0x8007001F)

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [3/3/2008 7:20:56 PM] : Activation of http://172.42.100.243/setuptest/SetupTest.application has started.

ERROR DETAILS
Following errors were detected during this operation.
* [3/3/2008 7:21:02 PM] System.Deployment.Application.InvalidDeploymentException (Manifest)
- The Deployment Provider specified in the manifest cannot be reached. Maybe due to network error and/or the deployment provider is not responding correctly.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.DownloadManager.FollowDeploymentProviderUri(SubscriptionStore subStore, AssemblyManifest& deployment, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Exception reading manifest from http://172.42.100.243/setuptest/publish.htm: the manifest may not be valid 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.DownloadDeploymentManifestDirect(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.FollowDeploymentProviderUri(SubscriptionStore subStore, AssemblyManifest& deployment, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options)
--- Inner Exception ---
System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Parsing and DOM creation of the manifest resulted in error. Following parsing errors were noticed:
-HRESULT: 0x8007001f
Start line: 0
Start column: 0
Host file:
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.Manifest.AssemblyManifest.LoadCMSFromStream(Stream stream)
at System.Deployment.Application.Manifest.AssemblyManifest..ctor(FileStream fileStream)
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
--- Inner Exception ---
System.Runtime.InteropServices.COMException
- A device attached to the system is not functioning. (Exception from HRESULT: 0x8007001F)
- Source: System.Deployment
- Stack trace:
at System.Deployment.Internal.Isolation.IsolationInterop.CreateCMSFromXml(Byte[] buffer, UInt32 bufferSize, IManifestParseErrorCallback Callback, Guid& riid)
at System.Deployment.Application.Manifest.AssemblyManifest.LoadCMSFromStream(Stream stream)

COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.

Note :

I dont have .net framework sdk installed in the windows 2003 server machine i copied only mage.exe and

did all the things is that anything wrong i am unable to figure it out

Manoj Manohar  Monday, March 03, 2008 2:08 PM

oh god thanks Ultimately i found out wats the problem is Smile

First i copied the files into client server and created a virtual directory and gave "publish.htm" as my default page

Irunned the bat file with following syntax

mage -update SetupTest.application -pu " http://172.42.100.243/setuptest".

Now wat happened is it called the URL and the default page publish.html came and it gave me a error

http://172.42.100.243/setuptest/publish.htm is not a manifest file hence the problem is solved by putting this syntax

mage -update SetupTest.application -pu " http://172.42.100.243/setuptest.setuptest.application".

Secoundly i updated only the setuptest.application but not the setuptest_1_0_0_0.application file hence

my development url was still in the manifest.

Thirdly i did not updated my manifest file on the changes hence i got the above error.

All thanks to my boss who worked with MageUI.exe and showed me how it worked and wat all steps i missed. evenually this is the bat file script which i created finally and working fine

Thanks Boss Smile

The correct syntax is

mage.exe -Update setuptest_1_0_0_2.application -ProviderUrl http://172.42.100.243/setuptest/setuptest.application

mage.exe -Update setuptest_1_0_0_2.application -AppManifest setuptest_1_0_0_2\setuptest.exe.manifest

mage.exe -Sign setuptest_1_0_0_2.application -CertFile setuptest_TemporaryKey.pfx -Password mypassword

mage.exe -Update setuptest.application -ProviderUrl http://172.42.100.243/setuptest/setuptest.application

mage.exe -Update setuptest.application -AppManifest setuptest_1_0_0_2\setuptest.exe.manifest


mage.exe -Sign setuptest.application -CertFile setuptest_TemporaryKey.pfx -Password mypassword

Manoj Manohar  Tuesday, March 04, 2008 10:25 AM

Hai I am attaching my setuptest.exe.manifest

<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly xsiTongue TiedchemaLocation="urnTongue Tiedchemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlnsBig Smilesig="http://www.w3.org/2000/09/xmldsig#" xmlns="urnTongue Tiedchemas-microsoft-com:asm.v2" xmlns:asmv1="urnTongue Tiedchemas-microsoft-com:asm.v1" xmlns:asmv2="urnTongue Tiedchemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<asmv1:assemblyIdentity name="SetupTest.exe" version="1.0.0.0" publicKeyToken="1cd9c748eaac85a0" language="neutral" processorArchitecture="msil" type="win32" />
<application />
<entryPoint>
<assemblyIdentity name="SetupTest" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
<commandLine file="SetupTest_1_0_0_0\SetupTest.exe" parameters="" />
</entryPoint>
<trustInfo>
<security>
<applicationRequestMinimum>
<PermissionSet class="System.Security.PermissionSet" version="1" Unrestricted="true" ID="Custom" SameSite="site" />
<defaultAssemblyRequest permissionSetReference="Custom" />
</applicationRequestMinimum>
</security>
</trustInfo>
<dependency>
<dependentOS>
<osVersionInfo>
<os majorVersion="5" minorVersion="1" buildNumber="2600" servicePackMajor="0" />
</osVersionInfo>
</dependentOS>
</dependency>
<dependency>
<dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
<assemblyIdentity name="Microsoft.Windows.CommonLanguageRuntime" version="2.0.50727.0" />
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="SetupTest_1_0_0_0\SetupTest.exe" size="16384">
<assemblyIdentity name="SetupTest" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urnTongue Tiedchemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsigBig SmileigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsigBig SmileigestValue>POnxN/dSDx2lB867KvI0IiZKBnM=</dsigBig SmileigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="SetupTest.application" size="1793">
<assemblyIdentity name="SetupTest.application" version="1.0.0.0" publicKeyToken="1cd9c748eaac85a0" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urnTongue Tiedchemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsigBig SmileigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsigBig SmileigestValue>ZTJdMMwz/svYXFBy/SFjTljsvpA=</dsigBig SmileigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="SetupTest_1_0_0_0.application" size="5352">
<assemblyIdentity name="SetupTest.application" version="1.0.0.0" publicKeyToken="1cd9c748eaac85a0" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urnTongue Tiedchemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsigBig SmileigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsigBig SmileigestValue>41fCFYXsWtA5+vxQCxeTkp26pXk=</dsigBig SmileigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency xmlns="urnTongue Tiedchemas-microsoft-com:asm.v1">
<dependentAssembly asmv2Big SmileependencyType="install" asmv2:codebase="SetupTest_1_0_0_0\SetupTest.exe.manifest" asmv2Tongue Tiedize="5760">
<assemblyIdentity name="SetupTest.exe" version="1.0.0.0" publicKeyToken="1cd9c748eaac85a0" language="neutral" processorArchitecture="msil" type="win32" />
<hash xmlns="urnTongue Tiedchemas-microsoft-com:asm.v2">
<dsig:Transforms>
<dsig:Transform Algorithm="urnTongue Tiedchemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsigBig SmileigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsigBig SmileigestValue>6L/tWD48L4bUc2nvp2D/zH9k8sY=</dsigBig SmileigestValue>
</hash>
</dependentAssembly>
</dependency>
<file name="install.bat" size="257">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urnTongue Tiedchemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsigBig SmileigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsigBig SmileigestValue>qEjKi9KQ4JTrGNv/XcLCROfaCG0=</dsigBig SmileigestValue>
</hash>
</file>
<file name="publish.htm" size="8575">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urnTongue Tiedchemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsigBig SmileigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsigBig SmileigestValue>t9dCsFyhLD+qKJhr7MlpSNqEu9c=</dsigBig SmileigestValue>
</hash>
</file>
<file name="setup.exe" size="431520">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urnTongue Tiedchemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsigBig SmileigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsigBig SmileigestValue>1i8h+UdCJauj4+DYJchCABw/FTQ=</dsigBig SmileigestValue>
</hash>
</file>
<file name="SetupTest_TemporaryKey.pfx" size="1660">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urnTongue Tiedchemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsigBig SmileigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsigBig SmileigestValue>FHGQKjjw6dP1VaXpvhZ0WOqSCj0=</dsigBig SmileigestValue>
</hash>
</file>
<publisherIdentity name="CN=domain\manojsm" issuerKeyHash="dc5f22ad23a3bbf5ec2ddd8bfb2abdaba8098c0c" /><Signature Id="StrongNameSignature" xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>a9FPDGuJ+h9lE+wFNiQLm4MrsH4=</DigestValue></Reference></SignedInfo><SignatureValue>UBAEVdylSqIz+LN523PP0048KDf9loISxlz3LsFj2zy/X6ZzZXa830Vo8UhumIFiq/TXxCHfjFIMbnCt9p7Zv6ItzpIo2Pzg2Qc5CO4ehEz9ZnrU8SDVrFrx/bzKkmVZErILrfmgWypimUn1/+qK4svaGp+0MpNGapzGKUOh/mo=</SignatureValue><KeyInfo Id="StrongNameKeyInfo"><KeyValue><RSAKeyValue><Modulus>r5oE0SLnnUlC/8rKG6fN8eSuPeG6z7cKzxfEdDrHGmwgwvPoa5oBIWZ0SXmG1n7otUEXJ8zhF1+tEpiAU4OIbtmds27amwIAwfjUdiLbB+8cKy99ZIDB3hMoHWWAvpWyxchmmTMVagZOjVvXKcZ5NwhOmnZRwtUKCkw3tAbqYS8=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue></KeyValue><msrel:RelData xmlns:msrel="http://schemas.microsoft.com/windows/rel/2005/reldata"><r:license xmlns:r="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:as="http://schemas.microsoft.com/windows/pki/2005/Authenticode"><r:grant><as:ManifestInformation Hash="7eb02b839b0b243605ec13651ffa896b0c4fd16b" Description="" Url=""><as:assemblyIdentity name="SetupTest.exe" version="1.0.0.0" publicKeyToken="1cd9c748eaac85a0" language="neutral" processorArchitecture="msil" type="win32" /></as:ManifestInformation><asTongue TiedignedBy /><as:AuthenticodePublisher><as:X509SubjectName>CN=domainname\manoj.sm</as:X509SubjectName></as:AuthenticodePublisher></r:grant><r:issuer><Signature Id="AuthenticodeSignature" xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>wZqCbqFIB8yF7eBNbkeFht7A1x0=</DigestValue></Reference></SignedInfo><SignatureValue>UaJwIQWuWUk6wMUG9C+9QbQCsXtiCkBoC0vXzSSJrR+9AJmqYI3cHQe75e+qmR/BXAi7/BsQEuaZbcmc4FCQ6BNOTmCqxm93QT2dONivUpSdsJMVBlawjdkD8eReoI3tgX3uvgOxxzTkDVqLuKhoIhB5a+sHLW187w/eV311R6U=</SignatureValue>

<KeyInfo><KeyValue><RSAKeyValue><Modulus>r5oE0SLnnUlC/8rKG6fN8eSuPeG6z7cKzxfEdDrHGmwgwvPoa5oBIWZ0SXmG1n7otUEXJ8zhF1+tEpiAU4OIbtmds27amwIAwfjUdiLbB+8cKy99ZIDB3hMoHWWAvpWyxchmmTMVagZOjVvXKcZ5NwhOmnZRwtUKCkw3tAbqYS8=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue></KeyValue><X509Data>

<X509Certificate>MIIBxTCCATKgAwIBAgIQJT8Mbgn/oZtMysPA5NqX8zAJBgUrDgMCHQUAMCUxIzAhBgNVBAMeGgBTAEcAUwBMAFwAbQBhAG4AbwBqAC4AcwBtMB4XDTA4MDMwMzEzMDczMloXDTA5MDMwMzE

5MDczMlowJTEjMCEGA1UEAx4aAFMARwBTAEwAXABtAGEAbgBvAGoALgBzAG0wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAK+aBNEi551JQv/KyhunzfHkrj3hus+3Cs8XxHQ6xxpsIMLz6GuaASFmdEl5htZ+6LVBFyfM4RdfrRKYgFODiG7ZnbNu2psCAMH41HYi2wfvHCsvfWSAwd4TKB1lgL6VssXIZpkzFWoGTo1b1ynGeTcITpp2UcLVCgpMN7QG6mEvAgMBAAEwCQYFKw4DAh0FAAOBgQBTGMrCSl0R1XjXTa1Czi0n/hROBy4hIQPkPGWzP3QVhF23vA89sM+qAvO3ugnOtuAr8/JEq4qN+zQX+2e7P6Zplq6lf4ZD9JeG2PGU+5ELkeSrwpwQ5+I/00ftvEChuCvPtnX0R+

hcxCXYGpGaeDUomoq36nJ8fVJsfhwEbS8jpQ==</X509Certificate>

</X509Data></KeyInfo></Signature></r:issuer></r:license></msrel:RelData></KeyInfo></Signature></asmv1:assembly>

Manoj Manohar  Tuesday, March 04, 2008 5:36 AM

Hi

i opened the install.log

its launching application from my developoment url ?

The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [ProcessorArchitecture] = Intel {string}
Property: [VersionNT] = 5.2.2 {version}
Running checks for package '.NET Framework 2.0', phase BuildList
Running external check with command line "C:\DOCUME~1\ADMINI~1.SGS\LOCALS~1\Temp\3\VSD43.tmp\dotnetfx\dotnetchk.exe"
Process exited with code 1
Setting value '1 {int}' for property 'DotNetInstalled'
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\Internet Explorer'
Read string value '6.0.3790.3959'
Setting value '6.0.3790.3959 {string}' for property 'IEVersion'
The following properties have been set for package '.NET Framework 2.0':
Property: [DotNetInstalled] = 1 {int}
Property: [IEVersion] = 6.0.3790.3959 {string}
Running checks for command 'dotnetfx\instmsia.exe'
Result of running operator 'ValueExists' on property 'VersionNT': true
Result of checks for command 'dotnetfx\instmsia.exe' is 'Bypass'
Running checks for command 'dotnetfx\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'ValueExists' on property 'Version9x': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.0.3': false
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.0': true
Result of checks for command 'dotnetfx\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
Running checks for command 'dotnetfx\dotnetfx.exe'
Result of running operator 'ValueNotEqualTo' on property 'DotNetInstalled' and value '0': true
Result of checks for command 'dotnetfx\dotnetfx.exe' is 'Bypass'
'.NET Framework 2.0' RunCheck result: No Install Needed
Launching Application.
Running command 'http://mydevelopmentpcname/SetupTest/SetupTest.application' with arguments ''

Manoj Manohar  Tuesday, March 04, 2008 6:50 AM

Please any one help

even after i used mageUI.exe to change the Manifest i am still facing the issue.........

Manoj Manohar  Tuesday, March 04, 2008 6:53 AM

oh god thanks Ultimately i found out wats the problem is Smile

First i copied the files into client server and created a virtual directory and gave "publish.htm" as my default page

Irunned the bat file with following syntax

mage -update SetupTest.application -pu " http://172.42.100.243/setuptest".

Now wat happened is it called the URL and the default page publish.html came and it gave me a error

http://172.42.100.243/setuptest/publish.htm is not a manifest file hence the problem is solved by putting this syntax

mage -update SetupTest.application -pu " http://172.42.100.243/setuptest.setuptest.application".

Secoundly i updated only the setuptest.application but not the setuptest_1_0_0_0.application file hence

my development url was still in the manifest.

Thirdly i did not updated my manifest file on the changes hence i got the above error.

All thanks to my boss who worked with MageUI.exe and showed me how it worked and wat all steps i missed. evenually this is the bat file script which i created finally and working fine

Thanks Boss Smile

The correct syntax is

mage.exe -Update setuptest_1_0_0_2.application -ProviderUrl http://172.42.100.243/setuptest/setuptest.application

mage.exe -Update setuptest_1_0_0_2.application -AppManifest setuptest_1_0_0_2\setuptest.exe.manifest

mage.exe -Sign setuptest_1_0_0_2.application -CertFile setuptest_TemporaryKey.pfx -Password mypassword

mage.exe -Update setuptest.application -ProviderUrl http://172.42.100.243/setuptest/setuptest.application

mage.exe -Update setuptest.application -AppManifest setuptest_1_0_0_2\setuptest.exe.manifest


mage.exe -Sign setuptest.application -CertFile setuptest_TemporaryKey.pfx -Password mypassword

Manoj Manohar  Tuesday, March 04, 2008 10:25 AM

It is great, mister !!! Thanks.

Then, now If I want publish a update (upgrade) of my application, new version 1.0.0.3, how can I do it ???

Thanks.

Alhambra Eidos Desarrollo  Tuesday, October 07, 2008 10:27 AM

cool i will change the file version see the syntax

mage.exe -Update setuptest_1_0_0_3.application -ProviderUrl http://172.42.100.243/setuptest/setuptest.application

mage.exe -Update setuptest_1_0_0_3.application -AppManifest setuptest_1_0_0_3\setuptest.exe.manifest

mage.exe -Sign setuptest_1_0_0_3.application -CertFile setuptest_TemporaryKey.pfx -Password mypassword

mage.exe -Update setuptest.application -ProviderUrl http://172.42.100.243/setuptest/setuptest.application

mage.exe -Update setuptest.application -AppManifest setuptest_1_0_0_3\setuptest.exe.manifest


mage.exe -Sign setuptest.application -CertFile setuptest_TemporaryKey.pfx -Password mypassword

it will work fine

Manoj Manohar  Wednesday, November 05, 2008 2:23 AM

You can use google to search for other answers

Custom Search

More Threads

• After clickonce deployment I get errors - cannot start application (403)
• Can't install update of click once program and can't remove the old program.
• Restart after installing a prerequisite?
• Deploying multiple web applications with VS 2005 web setup project
• Launch Condition to Check for Windows Vista
• how to share a folder with read only permission
• click once single sign on
• Programmatic Application Deployment With URL Initiation
• Downloading Assemblies on Demand but....
• Clickonce publishing and failure to create several *.dll.deploy files