Advertisement
JayBeeOH

ClickOnce Deployment Checklist

May 4th, 2015
318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.98 KB | None | 0 0
  1. ClickOnce Deployment Checklist
  2. By Joe Bolen
  3.  
  4. Steps:
  5.  
  6. 1) Brand project with your icon for all forms. (Use 16x16 or 32x32 pixels size.)
  7.  
  8. 2) Exclude unused forms.
  9.  
  10. 3) Make certain object's property in the Resource folder have Build Action = Content or Resource; and, Copy to Output Directory = Copy if newer or Always.
  11.  
  12. 4) From Project's Application properties ...
  13. a. Set the Application's Icon to your custom icon.
  14. b. Click the "Assembly Information..." button, fill out or verify information.
  15.  
  16. 5) From Project's References properties, click on "Unused References ..." button and remove unneeded references.
  17.  
  18. 6) From Project's Resources, remove unused resource objects. Note: Custom Splash and About forms may have images that you may wish to keep, although they have been excluded from the project.
  19.  
  20. 7) From Project's Signing properties ...
  21. a. Click the "Sign the ClickOnce manifests".
  22. b. Click "Create Test Certificate..." button (or select other options) to sign the manifest.
  23. c. Fill in Timestamp server URL < http://timestamp.verisign.com/scripts/timstamp.dll >.
  24. d. Check "Sign the assembly".
  25. e. On the "Choose a strong name key file" dropdown, select <New>. Complete the "Create Strong Name Key" form and click the "OK" button.
  26.  
  27. 8) From Project's Security properties ...
  28. a. Check "Enable ClickOnce security setting".
  29. b. Select "This is a full trust application".
  30.  
  31. 9) From Project's Publish properties ...
  32. a. Fill in or browse "Publishing Folder Location". Example: U:\Deploy\[AppName]
  33. b. For "Install Mode and Settings", select "The application is available offline...".
  34. c. Click the "Application Files..." button. Check and verify settings. Then "OK" button.
  35. d. Click the "Prerequisites..." button.
  36. i. Check "Create Setup program to install prerequisite components".
  37. ii. View and check prerequisites.
  38. iii. Select "Download prerequisites from component vendor's web site".
  39. iv. Click the "OK" button.
  40. e. Click the "Updates..." button. Verify that nothing is selected or fill in the information.
  41. f. Click the "Options..." button.
  42. i. From Description...
  43. 1. Publisher's name and Product name must be filled out. This is the way it will appear in the Start Menu.
  44. ii. From Deployment ...
  45. 1. Check "For CD installations ...".
  46. iii. From Manifests ...
  47. 1. Check "Allow URL parameters to be passed to application".
  48. 2. Check "Use application manifest for trust information".
  49. 3. Check "Create desktop shortcut".
  50. iv. From File Associations ...
  51. 1. Extension - Example: .txt or .log
  52. 2. Description - Example : Plain Text File or Plain Text Log File
  53. 3. ProgID - Example: TED.TXT or TED.LOG
  54. 4. Icon - Example: Resources\Bolen.ico
  55.  
  56. 10) From Visual Studio menu bar, select Build | Clean Solution.
  57.  
  58. 11) Run again in Debug mode and verify.
  59.  
  60. 12) Change Build Action to Release.
  61.  
  62. 13) From Visual Studio menu bar, select Build | Build Solution.
  63.  
  64. 14) From Visual Studio menu bar, select Build | Publish.
  65.  
  66.  
  67. Copyright © 2015. All rights reserved.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement