Clickonce - Change deployment URL after publish

mage.exe -Update C:\inetpub\wwwroot\aspnet40\AminoScience\Uploads\Application Files\AccUFeed_1_0_0_57\AccUFeed.application -ProviderUrl http://192.168.1.2/as/uploads/AccUFeed.application

mage.exe -Update C:\inetpub\wwwroot\aspnet40\AminoScience\Uploads\Application Files\AccUFeed_1_0_0_57\AccUFeed.application -AppManifest C:\inetpub\wwwroot\aspnet40\AminoScience\Uploads\Application Files\AccUFeed_1_0_0_57\AccUFeed.exe.manifest

mage.exe -Sign C:\inetpub\wwwroot\aspnet40\AminoScience\Uploads\Application Files\AccUFeed_1_0_0_57\AccUFeed.application -CertFile D:\Projecting\AFsln\AccuFeed\AccuFeed_TemporaryKey.pfx

mage.exe -Update C:\inetpub\wwwroot\aspnet40\AminoScience\Uploads\AccUFeed.application  -ProviderUrl http://192.168.1.2/as/uploads/AccUFeed.application

mage.exe -Update C:\inetpub\wwwroot\aspnet40\AminoScience\Uploads\AccUFeed.application -AppManifest C:\inetpub\wwwroot\aspnet40\AminoScience\Uploads\Application Files\AccUFeed_1_0_0_57\AccUFeed.exe.manifest

mage.exe -Sign C:\inetpub\wwwroot\aspnet40\AminoScience\Uploads\AccUFeed.application -CertFile D:\Projecting\AFsln\AccuFeed\AccuFeed_TemporaryKey.pfx

 

reference 

http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/5309f67e-efe4-40b4-b937-aed18cf87155/

 

 

posted @ 2017-07-26 10:49  kting  阅读(233)  评论(0编辑  收藏  举报