Home
› Learn
› WPF › Building a Client Profile Deployment for photoSuru
Building a Client Profile Deployment for photoSuru with the Client Profile Configuration Designer
The following is step-by-step instructions describing how to customize and create an installer for photoSuru and Subscription center using the Client Profile Configuration Designer. This document references the following files found in the resources zip file:
- photSuru1.htm, photSuru2.htm, photoSuru3.htm, photoSuru4.htm, photoSuru5.htm
- photoSuru1.png, photoSuru2.png, photoSuru3.png, photoSuru4.png, photoSuru5.png
- background.jpg
For a video demonstration of this “How-To” click here.
For additional guidance and a list of known issues see the Guidance and Known Issues article.
- Download and install the Client Profile Configuration Designer.
- Download the resources for this example.
- Download Subscription Center.
- Launch the Client Profile Configuration Designer.
- Create a new project by clicking on New in the File menu and enter the details for the project.
- Add a prerequisite by clicking the “Add prerequisite” button. Add the “.Net Framework Client Profile” prerequisite as shown below:
- Add Chained Installers by clicking the “Add installer” button to the right of the “Add prerequisite button”.
- Add Subscription Center as a Windows Installer Package
- Name the package, ie: SubscriptionsCenterMSI
- Specify the location of the installer package on your system
- Add photoSuru as a ClickOnce deployment
- Name the package, ie: PhotoSuruClickOnceApp
- Specify the location (URL) of the installer: http://www.photoSuru.com/photoSuru.application
- Add additional installation details to each of the added packages. Specify estimate installation sizes for both of the packages by selecting each package under Chained Installers and navigating to the Install Settings tab. This is needed for to accurately display the installer’s progress during installation.
- Add a custom License Agreement by clicking on the “Setup package” and navigating to the “License agreement” expander. Check the checkbox to include a license agreement and then specify your Eula file.
- Customize the Common Setting page
- Specify the BackgroundImage in the Properties list (in the bottom right ), ie: background.jpg, then re-locate Button1 & Button2.
- Customize the Pre-Installation (EULA) page
- Hide the Print Button via the Properties list by changing its visibility.
- Resize the EULA box as needed by resizing the control directly or via the Property list when the control is selected from the dropdown list above the property list.
- Customize the Progress page
- Adjust the Web Browser Control’s size and location.
- Add pages to the Web Browser Control by selecting the Control and clicking the “Add page” button as shown below. Add a web page, ie: photoSuro1.htm.
- Reveal the added webpage’s “Additional files” folder. Add a file, ie: photoSuru1.png, via the context menu or the “Add support file to page” button above the TreeView.
- Repeat steps B and C to show additional web pages during installation, ie: photoSuru2.htm, photoSuru3.htm, photoSuru4.htm, photoSuru5.htm, with their respective images, ie: photoSuru2.png, photoSuru3.png, photoSuru4.png, photoSuru5.png. The way these web pages are shown can be customized in the Browser Control’s property list.
- Resize then center the Progress bar. Adjust the location of the status text then change its foreground color to white via the Properties list
- Customize the Rollback page :
- Hide the Web Browser Control then adjust the Progress Bar and status text again.
- Customize the Finish page, Error page, Cancelled page, and Reboot page.
- Adjust the status text’s location and foreground color again.
- Delete the Finish page.
- Select the Finish page in the expandable TreeView in the top right and click the “Remove Step…” Button to automatically close the installer after the installation succeeds.
- We are done designing the Setup experience and adding the necessary files. To Debug:
- Save the project.
- Click on the Preview Button to debug, indicated by the red arrow below. This will simulate the install process. Note: No files will actually get installed. Click on the “Successful Setup” and “Fail Setup" Buttons to simulate the two scenarios.
- We are done and ready to publish. To build the release:
- Select “Release” from drop-down shown below and click the Build Button next to the Preview Button.
- Inside the “sfx” directory, within the project’s root directory, you should see the built setup.exe.
About samirpatel
This is my weblogs profile...